Skip to content

Instantly share code, notes, and snippets.

@chrisseaton
Created August 11, 2014 14:28
Show Gist options
  • Save chrisseaton/53ae0b3a0eb8a2d59abe to your computer and use it in GitHub Desktop.
Save chrisseaton/53ae0b3a0eb8a2d59abe to your computer and use it in GitHub Desktop.
$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
$ irb
irb(main):001:0> x = 12.5
=> 12.5
irb(main):002:0> y = 12.5
=> 12.5
irb(main):003:0> z = x
=> 12.5
irb(main):004:0> x.object_id
=> 92323792361095170
irb(main):005:0> y.object_id
=> 92323792361095170
irb(main):006:0> z.object_id
=> 92323792361095170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment