summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-01-02 12:06:06 +0900
committerNobuyoshi Nakada <[email protected]>2025-01-02 12:23:49 +0900
commitb4ec22fe6c493a212c059cecab90de5b5f349102 (patch)
tree1e4e274cfd5e2bc079142462b48eba6f04380e24 /object.c
parentd441d351073d6a6c49f7c12ea99e17480aa4ee5e (diff)
[DOC] Exclude 'Method' from RDoc's autolinking
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12496
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/object.c b/object.c
index 8a33c828fe..97f2b0c8af 100644
--- a/object.c
+++ b/object.c
@@ -4186,7 +4186,7 @@ rb_f_loop_size(VALUE self, VALUE args, VALUE eobj)
* - #instance_of?: Returns whether +self+ is an instance of the given class.
* - #instance_variable_defined?: Returns whether the given instance variable
* is defined in +self+.
- * - #method: Returns the Method object for the given method in +self+.
+ * - #method: Returns the +Method+ object for the given method in +self+.
* - #methods: Returns an array of symbol names of public and protected methods
* in +self+.
* - #nil?: Returns +false+. (Only +nil+ responds +true+ to method <tt>nil?</tt>.)
@@ -4196,12 +4196,12 @@ rb_f_loop_size(VALUE self, VALUE args, VALUE eobj)
* of the private methods in +self+.
* - #protected_methods: Returns an array of the symbol names
* of the protected methods in +self+.
- * - #public_method: Returns the Method object for the given public method in +self+.
+ * - #public_method: Returns the +Method+ object for the given public method in +self+.
* - #public_methods: Returns an array of the symbol names
* of the public methods in +self+.
* - #respond_to?: Returns whether +self+ responds to the given method.
* - #singleton_class: Returns the singleton class of +self+.
- * - #singleton_method: Returns the Method object for the given singleton method
+ * - #singleton_method: Returns the +Method+ object for the given singleton method
* in +self+.
* - #singleton_methods: Returns an array of the symbol names
* of the singleton methods in +self+.