Created
July 1, 2009 18:31
-
-
Save mperham/138959 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> foo? = 1 | |
SyntaxError: compile error | |
(irb):1: syntax error, unexpected '=', expecting $end | |
foo? = 1 | |
^ | |
from (irb):1 | |
>> def foo? | |
>> 1 | |
>> end | |
=> nil | |
>> foo? | |
=> 1 | |
>> def bar(foo? = 1) | |
>> nil | |
>> end | |
SyntaxError: compile error | |
(irb):6: syntax error, unexpected tFID, expecting ')' | |
def bar(foo? = 1) | |
^ | |
from (irb):6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment