summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-01 05:36:33 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-01 05:36:33 +0000
commitd53e0fe330649007a843a837108583fb670e192d (patch)
tree2f05f316b84e4f507b6dc855778853a69046f60a /array.c
parent5c132d0ad28687bbc9d448301c2817ffa51f50d2 (diff)
* array.c (rb_ary_rotate_m): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31975] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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