Rick Denatale wrote:
> On 9/24/07, Tim Hunter <TimHunter / nc.rr.com> wrote:
>> > so the question is...  which objects have the object_id 2, 4, 6, and -2,
>> irb(main):004:0> x.object_id
>> => 0
>> irb(main):005:0> x = nil
>> => nil
>> irb(main):006:0> x.object_id
>> => 4

> One should keep in mind that these are interesting implementation
> artifacts.  I don't believe that there's any guarantee that such ids
> would be the same in an arbitrary ruby implementation or even between
> versions of the same implementation.

right, it is just from the curiosity standpoint.  that where did those 
even number object id's go?   (the 10002, 10004, etc)

-- 
Posted via http://www.ruby-forum.com/.