Skip to content

Instantly share code, notes, and snippets.

@benlovell
Created June 7, 2015 15:34
Show Gist options
  • Save benlovell/65e9a65e72f4c67e494f to your computer and use it in GitHub Desktop.
Save benlovell/65e9a65e72f4c67e494f to your computer and use it in GitHub Desktop.
nope
irb(main):004:0> def persisted?=(val); val; end
SyntaxError: (irb):4: syntax error, unexpected '?', expecting ';' or '\n'
def persisted?=(val); val; end
^
(irb):4: syntax error, unexpected keyword_end, expecting end-of-input
from /Users/benlovell/.rbenv/versions/2.2.2/bin/irb:11:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment