summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
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
*