Created
March 31, 2013 02:48
-
-
Save alindeman/5279291 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
# jruby 1.7.4.dev (1.9.3p392) 2013-03-30 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.7.0_15-b03 [darwin-x86_64] | |
Object.__id__ | |
Object.instance_variable_set(:@foo, "foo") | |
o = Object.new | |
o.__id__ | |
o.instance_variable_set(:@foo, "foo") | |
p o.__id__ # => 2002 | |
p o.dup.__id__ # => 2002 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment