Method: Object#object_id

Defined in:
lib/source/ruby.rb

#object_idObject

call-seq:

obj.__id__    -> integer
obj.object_id -> integer

Returns an integer identifier for obj. The same number will be returned on all calls to object_id for a given object, and no two active objects will share an id.



649
650
651
# File 'lib/source/ruby.rb', line 649

def object_id
  `this.__id__`
end