Skip to content

Commit

Permalink
Ref/BasicObject: Add #__id__.
Browse files Browse the repository at this point in the history
  • Loading branch information
runpaint committed Jan 20, 2011
1 parent 456a3d0 commit a8513b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ref/basicobject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@

<para><methodsynopsis><type>Object</type><methodname>BasicObject#method_missing</methodname><methodparam><parameter>name</parameter></methodparam><methodparam choice="opt" rep="repeat"><parameter>argument</parameter></methodparam></methodsynopsis> Called when the receiver is sent a message for which it has no method defined: <parameter>name</parameter> is the message selector as a <literal>Symbol</literal>, and <parameter>argument</parameter>(s) the argument(s) it was sent with.</para>

<para><methodsynopsis><type>Fixnum</type><methodname>BasicObject#__id__</methodname><void/></methodsynopsis> Returns an identifier for the receiver which distinguishes it from all other active objects.</para>

<para><methodsynopsis><type>Object</type><methodname>BasicObject#__send__</methodname><methodparam><parameter>name</parameter></methodparam><methodparam choice="opt" rep="repeat"><parameter>argument</parameter></methodparam><methodparam choice="opt"><parameter>&amp;block</parameter></methodparam></methodsynopsis> Sends a message named <parameter>name</parameter> to the receiver with the given <parameter>argument</parameter>(s) and <parameter>block</parameter>, returning the result.</para>
</appendix>
</appendix>

0 comments on commit a8513b5

Please sign in to comment.