From: Yukihiro Matsumoto Date: 2005-01-20T02:03:55+09:00 Subject: Re: Object id Hi, In message "Re: Object id" on Thu, 20 Jan 2005 00:51:19 +0900, Sea&Gull writes: |u@l:~> ruby -w -e 'class C; end; c1 = C.new; p c1; puts c1.object_id' |# |-605253404 | |What id does the object "c1" have - 0xb7d921c8 or -605253404 ? |If -605253404, why it is negative? -605253404 (0xb7d921c8 is an "address" of the object). And it's negative just because object_id is an arbitrary integer number. matz.