From: darren kirby Date: 2007-06-30T02:17:41+09:00 Subject: Re: Issue related to class initialization and irb First off, thanks to Stefano, Chris, and Dan. inspect was what I was looking for and I have it printing what I would like. quoth the Dan Stevens (IAmAI): > Does anyone know why the value returned by Object#object_id is > different to the value returned by the 'new' method? Is one hex and > the other is not? This is a follow-up question for me as well. Even when the object_id value is represented in hex it does not match the default output. I guess the default value is the object's address in memory or somesuch? Looking through 'Object', 'Kernel', and a few others in the Pickaxe book, I can find no relevant method (which doesn't mean it isn't there ;)). Is there a way to get this value? Does it really matter or is it just cosmetic? thanks, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972