summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-25 00:55:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-25 01:04:51 +0900
commit4fb71575e270092770951e6a69bf006c71fadb55 (patch)
treeec1081ce3906f18062e522a4563da6a2abe5332e /range.c
parentdf4445128b52196488e3a6b3f7d8c04d0515979d (diff)
[DOC] Fix code markup [ci skip]
Code markup in RDoc must not be concatenated with anothr word.
Diffstat (limited to 'range.c')
-rw-r--r--range.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/range.c b/range.c
index 96c059b806..e49dd2cf35 100644
--- a/range.c
+++ b/range.c
@@ -2250,10 +2250,10 @@ range_count(int argc, VALUE *argv, VALUE range)
*
* === Methods for Iterating
*
- * - #%:: Requires argument +n+; calls the block with each +n+th element of +self+.
+ * - #%:: Requires argument +n+; calls the block with each +n+-th element of +self+.
* - #each:: Calls the block with each element of +self+.
* - #step:: Takes optional argument +n+ (defaults to 1);
- calls the block with each +n+th element of +self+.
+ calls the block with each +n+-th element of +self+.
*
* === Methods for Converting
*