method

__id__

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: BasicObject
__id__() public

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. Object#object_id is a different concept from the :name notation, which returns the symbol id of name. Replaces the deprecated Object#id.

Show source
Register or log in to add new notes.