Created
March 29, 2009 07:22
-
-
Save jeremy/87322 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 | |
>> String.instance_method(:to_s).name | |
=> "to_s" | |
$ irb-1.9 | |
>> String.instance_method(:to_s).name | |
=> :to_s | |
$ jirb | |
>> String.instance_method(:to_s).name | |
NoMethodError: undefined method `name' for #<UnboundMethod: String#to_s> | |
from (irb):2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment