summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-01-02 12:06:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-01-02 12:23:49 +0900
commitb4ec22fe6c493a212c059cecab90de5b5f349102 (patch)
tree1e4e274cfd5e2bc079142462b48eba6f04380e24 /complex.c
parentd441d351073d6a6c49f7c12ea99e17480aa4ee5e (diff)
[DOC] Exclude 'Method' from RDoc's autolinking
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12496
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/complex.c b/complex.c
index 999c5e5814..2c05586e08 100644
--- a/complex.c
+++ b/complex.c
@@ -2474,9 +2474,9 @@ float_arg(VALUE self)
* You can create a \Complex object from rectangular coordinates with:
*
* - A {complex literal}[rdoc-ref:syntax/literals.rdoc@Complex+Literals].
- * - \Method Complex.rect.
- * - \Method Kernel#Complex, either with numeric arguments or with certain string arguments.
- * - \Method String#to_c, for certain strings.
+ * - Method Complex.rect.
+ * - Method Kernel#Complex, either with numeric arguments or with certain string arguments.
+ * - Method String#to_c, for certain strings.
*
* Note that each of the stored parts may be a an instance one of the classes
* Complex, Float, Integer, or Rational;
@@ -2502,9 +2502,9 @@ float_arg(VALUE self)
*
* You can create a \Complex object from polar coordinates with:
*
- * - \Method Complex.polar.
- * - \Method Kernel#Complex, with certain string arguments.
- * - \Method String#to_c, for certain strings.
+ * - Method Complex.polar.
+ * - Method Kernel#Complex, with certain string arguments.
+ * - Method String#to_c, for certain strings.
*
* Note that each of the stored parts may be a an instance one of the classes
* Complex, Float, Integer, or Rational;