-
-
Save erikh/e916e7958d4690092b1d 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
1.8.7 :006 > def foo(x, y, z) | |
1.8.7 :007?> p [x, y, z] | |
1.8.7 :008?> end | |
=> nil | |
1.8.7 :009 > foo(1, :x => 1, :y => 2, 1) | |
SyntaxError: compile error | |
(irb):9: syntax error, unexpected ')', expecting tASSOC | |
from (irb):9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment