summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--array.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 415bb4b2751..4f5f4b159ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/array.c b/array.c
index a2083210d33..0e51bb0b986 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