S
Sea&Gull
u@l:~> ruby -v
ruby 1.8.1 (2003-12-25) [i686-linux]
u@l:~> ruby -w -e 'class C; end; c1 = C.new; p c1; puts c1.object_id'
#<C:0xb7d921c8>
-605253404
What id does the object "c1" have - 0xb7d921c8 or -605253404 ?
If -605253404, why it is negative?
Thanks for the answer!
ruby 1.8.1 (2003-12-25) [i686-linux]
u@l:~> ruby -w -e 'class C; end; c1 = C.new; p c1; puts c1.object_id'
#<C:0xb7d921c8>
-605253404
What id does the object "c1" have - 0xb7d921c8 or -605253404 ?
If -605253404, why it is negative?
Thanks for the answer!