What's Here for BasicObject (#4499)

* What's Here for BasicObject
This commit is contained in:
Burdette Lamar 2021-05-13 17:19:07 -05:00 committed by GitHub
parent 879cc64d06
commit 434cd3c399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2021-05-14 07:19:27 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>

View File

@ -4488,6 +4488,31 @@ f_sprintf(int c, const VALUE *v, VALUE _)
* ::Object.const_get(name)
* end
* end
*
* === What's Here
*
* These are the methods defined for \BasicObject:
*
* - ::new:: Returns a new \BasicObject instance.
* - {!}[#method-i-21]:: Returns the boolean negation of +self+: +true+ or +false+.
* - {!=}[#method-i-21-3D]:: Returns whether +self+ and the given object
* are _not_ equal.
* - {==}[#method-i-3D-3D]:: Returns whether +self+ and the given object
* are equivalent.
* - {__id__}[#method-i-__id__]:: Returns the integer object identifier for +self+.
* - {__send__}[#method-i-__send__]:: Calls the method identified by the given symbol.
* - #equal?:: Returns whether +self+ and the given object are the same object.
* - #instance_eval:: Evaluates the given string or block in the context of +self+.
* - #instance_exec:: Executes the given block in the context of +self+,
* passing the given arguments.
* - #method_missing:: Method called when an undefined method is called on +self+.
* - #singleton_method_added:: Method called when a singleton method
* is added to +self+.
* - #singleton_method_removed:: Method called when a singleton method
* is added removed from +self+.
* - #singleton_method_undefined:: Method called when a singleton method
* is undefined in +self+.
*
*/
/* Document-class: Object