Method: Object#__id__

Defined in:
lib/source/ruby.rb

#__id__Object

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 _\id\_ for a given object, and no two active objects will share an id.



212
213
214
# File 'lib/source/ruby.rb', line 212

def __id__
  `this.__id__`
end