From: Tim Hunter Date: 2007-09-25T10:07:18+09:00 Subject: Re: object_id 1, 2, 3 SpringFlowers AutumnMoon wrote: > Fixnum object_id > 0 1 > 1 3 > 2 5 > > -1 -1 > -2 -3 > > > so the question is... which objects have the object_id 2, 4, 6, and -2, > -4, etc? > ex$ irb irb(main):001:0> x = true => true irb(main):002:0> x.object_id => 2 irb(main):003:0> x = false => false irb(main):004:0> x.object_id => 0 irb(main):005:0> x = nil => nil irb(main):006:0> x.object_id => 4 In other words, very small even values of object_id are reserved for special values. -- RMagick OS X Installer [http://rubyforge.org/projects/rmagick/] RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618] RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]