Created
March 26, 2012 07:05
-
-
Save ato/2203585 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
irb(main):010:0> (40 | |
irb(main):011:1> + 40) | |
=> 40 | |
irb(main):012:0> ("foo" | |
irb(main):013:1> + "baz") | |
NoMethodError: undefined method `+@' for "baz":String | |
from (irb):13 | |
from :0 | |
irb(main):014:0> ("foo" + | |
irb(main):015:1* "baz") | |
=> "foobaz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment