summaryrefslogtreecommitdiff
path: root/numeric.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 /numeric.c
parentd441d351073d6a6c49f7c12ea99e17480aa4ee5e (diff)
[DOC] Exclude 'Method' from RDoc's autolinking
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12496
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numeric.c b/numeric.c
index 30d4ce1426..485575f871 100644
--- a/numeric.c
+++ b/numeric.c
@@ -926,7 +926,7 @@ num_negative_p(VALUE num)
*
* You can convert certain objects to Floats with:
*
- * - \Method #Float.
+ * - Method #Float.
*
* == What's Here
*
@@ -1521,7 +1521,7 @@ rb_float_pow(VALUE x, VALUE y)
* 1.eql?(Rational(1, 1)) # => false
* 1.eql?(Complex(1, 0)) # => false
*
- * \Method +eql?+ is different from <tt>==</tt> in that +eql?+ requires matching types,
+ * Method +eql?+ is different from <tt>==</tt> in that +eql?+ requires matching types,
* while <tt>==</tt> does not.
*
*/
@@ -3539,7 +3539,7 @@ rb_num2ull(VALUE val)
*
* You can convert certain objects to Integers with:
*
- * - \Method #Integer.
+ * - Method #Integer.
*
* An attempt to add a singleton method to an instance of this class
* causes an exception to be raised.