Skip to content

Instantly share code, notes, and snippets.

@Jarred-Sumner
Created February 26, 2013 06:49
Show Gist options
  • Save Jarred-Sumner/fb442a3f0905afbb81d2 to your computer and use it in GitHub Desktop.
Save Jarred-Sumner/fb442a3f0905afbb81d2 to your computer and use it in GitHub Desktop.
def match(matcher, &block)
end
2.0.0-p0 :003 > match 'bagel' { 'yo' }
SyntaxError: (irb):3: syntax error, unexpected '{', expecting end-of-input
match 'bagel' { 'yo' }
^
from /Users/jarred/.rvm/rubies/ruby-2.0.0-p0/bin/irb:16:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment