ruby-changes:66201
From: Burdette <ko1@a...>
Date: Fri, 14 May 2021 07:19:19 +0900 (JST)
Subject: [ruby-changes:66201] 434cd3c399 (master): What's Here for BasicObject (#4499)
https://git.ruby-lang.org/ruby.git/commit/?id=434cd3c399 From 434cd3c399d2213ad319b7e203af0b07a1d0d64f Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> Date: Thu, 13 May 2021 17:19:07 -0500 Subject: What's Here for BasicObject (#4499) * What's Here for BasicObject --- object.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/object.c b/object.c index 1732069..b154c6d 100644 --- a/object.c +++ b/object.c @@ -4488,6 +4488,31 @@ f_sprintf(int c, const VALUE *v, VALUE _) https://github.com/ruby/ruby/blob/trunk/object.c#L4488 * ::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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/