Having some trouble understanding this error message. How does one pass a tuple to a method?
def textfield(options)
print options
end
tuple = {name: "textfield", required: true}
print tuple
#{name: "textfield", required: true}
textfield {name: "textfield", required: true}
#textfield {name: "textfield", required: true}
# ^
#Error: unexpected token: DELIMITER_START