summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 026079b445..4e0585c6fd 100644
--- a/array.c
+++ b/array.c
@@ -1899,7 +1899,7 @@ rb_ary_rotate_bang(int argc, VALUE *argv, VALUE ary)
/*
* call-seq:
- * ary.rotate([n = 1]) -> new_ary
+ * ary.rotate([cnt = 1]) -> new_ary
*
* Returns new array by rotating +self+, whose first element is the
* element at +cnt+ in +self+. If +cnt+ is negative then it rotates