aboutsummaryrefslogtreecommitdiffstats
path: root/complex.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-08 01:18:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-08 01:18:56 +0900
commitbc5662d9d8909363e67e01f3b1a2eecb0793d3ee (patch)
tree07e9f01a5d1fdc0c257f110def099e965c965c2a /complex.c
parentf53f49197f8f785d372847b537d3607a2c71c70d (diff)
downloadruby-bc5662d9d8909363e67e01f3b1a2eecb0793d3ee.tar.gz
[DOC] Simplify links to global methods
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complex.c b/complex.c
index a3dda4d0e1..658e41359a 100644
--- a/complex.c
+++ b/complex.c
@@ -2273,7 +2273,7 @@ float_arg(VALUE self)
*
* You can convert certain objects to \Complex objects with:
*
- * - \Method {Complex}[Kernel.html#method-i-Complex].
+ * - \Method #Complex.
*
* Complex object can be created as literal, and also by using
* Kernel#Complex, Complex::rect, Complex::polar or to_c method.