diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-01 05:36:33 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-01 05:36:33 +0000 |
commit | d53e0fe330649007a843a837108583fb670e192d (patch) | |
tree | 2f05f316b84e4f507b6dc855778853a69046f60a | |
parent | 5c132d0ad28687bbc9d448301c2817ffa51f50d2 (diff) | |
download | ruby-d53e0fe330649007a843a837108583fb670e192d.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Sep 1 14:35:29 2010 NARUSE, Yui <naruse@ruby-lang.org> + + * array.c (rb_ary_rotate_m): fix typo of rdoc. + patched by Andrei Kulakov [ruby-core:31975] + Wed Sep 1 14:33:36 2010 NARUSE, Yui <naruse@ruby-lang.org> * enum.c (enum_zip): fix typo of rdoc. @@ -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 |