From: Paul Smith Date: 2009-12-22T23:56:06+09:00 Subject: Re: integers and floats On Tue, Dec 22, 2009 at 2:42 PM, Florian Gilcher wrote: > > On Dec 22, 2009, at 11:03 AM, Paul Smith wrote: > >> On Tue, Dec 22, 2009 at 2:16 PM, Rajinder Yadav wrote: > >> I have no idea what, if anything, has the object_ids 0, and 2. > > Pretty easy: false and true. > > irb(main):001:0> true.object_id > => 2 > irb(main):002:0> false.object_id > => 0 > Hah, of course. Obvious in retrospect, but I was so surprised to see that nil wasn't 0 :) > Regards, > Florian Gilcher > > > -- Paul Smith http://www.nomadicfun.co.uk paul@pollyandpaul.co.uk