From 71cf670f0fc5556a51d6e209a14cceafcf6550d7 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Aug 2010 13:54:03 +0000 Subject: * 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 --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'array.c') diff --git a/array.c b/array.c index a2083210d3..0e51bb0b98 100644 --- a/array.c +++ b/array.c @@ -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 -- cgit v1.2.3