From: Taras Koval' Date: 2007-06-07T00:19:50+09:00 Subject: Re: # <--- why is the displayed number == object_id*2 ------=_Part_36944_10388498.1181143190437 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I agree 2007/6/6, Meinrad Recheis : > > irb(main):001:0> VERSION > => "1.8.5" > irb(main):002:0> o=Object.new > => # > irb(main):003:0> ObjectSpace._id2ref 0x2c1c8f0 > RangeError: 0x2c1c8f0 is not id value > from (irb):3:in `_id2ref' > from (irb):3 > irb(main):004:0> ObjectSpace._id2ref 0x2c1c8f0/2 > => # > irb(main):005:0> > > I think that is pretty confusing. I am sure there is a good reason for > this. But, don't you think it'd be better to display the real > object_id instead of the doubled value? > > -- henon > > -- With best regards, Taras Koval' ------=_Part_36944_10388498.1181143190437--