Created
January 12, 2012 22:42
-
-
Save tenderlove/1603611 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
irb(main):001:0> class Foo; def to_ary; ['<3', :hi]; end end | |
=> nil | |
irb(main):002:0> a ,= Foo.new | |
=> #<Foo:0x007fbd8a08c4e8> | |
irb(main):003:0> a | |
=> "<3" | |
irb(main):004:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment