summaryrefslogtreecommitdiff
path: root/numeric.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 /numeric.c
parentf53f49197f8f785d372847b537d3607a2c71c70d (diff)
downloadruby-bc5662d9d8909363e67e01f3b1a2eecb0793d3ee.tar.gz
[DOC] Simplify links to global methods
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index bd1121b567..216b33920c 100644
--- a/numeric.c
+++ b/numeric.c
@@ -952,7 +952,7 @@ num_negative_p(VALUE num)
*
* You can convert certain objects to Floats with:
*
- * - \Method {Float}[Kernel.html#method-i-Float].
+ * - \Method #Float.
*
* == What's Here
*
@@ -3486,7 +3486,7 @@ rb_num2ull(VALUE val)
*
* You can convert certain objects to Integers with:
*
- * - \Method {Integer}[Kernel.html#method-i-Integer].
+ * - \Method #Integer.
*
* An attempt to add a singleton method to an instance of this class
* causes an exception to be raised.