summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-01-06 11:43:57 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-01-06 11:43:57 -0500
commitd96fe5e4f8dd09bdbcb730b90382ab35e0be03d1 (patch)
treed1e4fff80bef122ae5c3ec35026550cb75796b51 /numeric.c
parente168dbdac542634f0e86ffb048cb78ff617720f7 (diff)
[DOC] Fix indentation in Numeric#step
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 42355d7760..1dd702d6cf 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2966,8 +2966,8 @@ num_step_size(VALUE from, VALUE args, VALUE eobj)
* greater than or equal to +to+ if +by+ is negative.
* If +to+ is +nil+, the sequence is of infinite length.
*
- * If a block is given, calls the block with each number in the sequence;
- * returns +self+. If no block is given, returns an Enumerator::ArithmeticSequence.
+ * If a block is given, calls the block with each number in the sequence;
+ * returns +self+. If no block is given, returns an Enumerator::ArithmeticSequence.
*
* <b>Keyword Arguments</b>
*