mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
5c132d0ad2
commit
d53e0fe330
2 changed files with 6 additions and 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>
|
Wed Sep 1 14:33:36 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* enum.c (enum_zip): fix typo of rdoc.
|
* enum.c (enum_zip): fix typo of rdoc.
|
||||||
|
|
2
array.c
2
array.c
|
@ -1899,7 +1899,7 @@ rb_ary_rotate_bang(int argc, VALUE *argv, VALUE ary)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* 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
|
* Returns new array by rotating +self+, whose first element is the
|
||||||
* element at +cnt+ in +self+. If +cnt+ is negative then it rotates
|
* element at +cnt+ in +self+. If +cnt+ is negative then it rotates
|
||||||
|
|
Loading…
Add table
Reference in a new issue