diff --git a/src/ref/basicobject.xml b/src/ref/basicobject.xml index 52d4323..5d6854e 100644 --- a/src/ref/basicobject.xml +++ b/src/ref/basicobject.xml @@ -19,9 +19,19 @@ ObjectBasicObject#instance_execargument{|argument, …| } Yields its arguments to the block, within which self is set to the receiver. - ObjectBasicObject#method_missingnameargument Called when the receiver is sent a message for which it has no method defined: name is the message selector as a Symbol, and argument(s) the argument(s) it was sent with. - FixnumBasicObject#__id__ Returns an identifier for the receiver which distinguishes it from all other active objects. ObjectBasicObject#__send__nameargument&block Sends a message named name to the receiver with the given argument(s) and block, returning the result. + + + + ObjectBasicObject#initializeargument Hook called by Class#new on a newly allocated object, receiving any arguments passed to Class#new. + + ObjectBasicObject#method_missingnameargument Called when the receiver is sent a message for which it has no method defined: name is the message selector as a Symbol, and argument(s) the argument(s) it was sent with. + + ObjectKernel#singleton_method_addedname Hook invoked when a singleton method is added to the receiver, where name is the method’s name as a Symbol. + + ObjectKernel#singleton_method_removedname Hook invoked when a singleton method is removed from the receiver, where name is the method’s name as a Symbol. + + ObjectKernel#singleton_method_undefinedname Hook invoked when a singleton method is undefined in the receiver, where name is the method’s name as a Symbol.