-
-
Save banister/e3fcfc7177b5e03c33ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Returns an integer identifier for <i>obj</i>. The same number will | |
be returned on all calls to <code>id</code> for a given object, and | |
no two active objects will share an id. | |
<code>Object#object_id</code> is a different concept from the | |
<code>:name</code> notation, which returns the symbol id of | |
<code>name</code>. Replaces the deprecated <code>Object#id</code>. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment