1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c (rb_ary_shuffle): rdoc fix. argument name was missing.

a patch from Run Paint Run Run at [ruby-core:31848].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-08-26 13:54:03 +00:00
parent bafaff1f43
commit 71cf670f0f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 26 22:53:56 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_shuffle): rdoc fix. argument name was missing.
a patch from Run Paint Run Run at [ruby-core:31848].
Thu Aug 26 21:49:46 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_readlines): Pathname#readlines

View file

@ -3781,7 +3781,7 @@ rb_ary_shuffle_bang(int argc, VALUE *argv, VALUE ary)
*
* If +rng+ is given, it will be used as the random number generator.
*
* a.shuffle(Random.new(1)) #=> [1, 3, 2]
* a.shuffle(random: Random.new(1)) #=> [1, 3, 2]
*/
static VALUE