aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--array.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b8b93cba2..0afd9adce6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 1 14:22:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * array.c (rb_ary_shuffle): RDoc fixed.
+
Fri Sep 1 13:52:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work
diff --git a/array.c b/array.c
index 0ffc9a6a75..3cf5b7ceb3 100644
--- a/array.c
+++ b/array.c
@@ -2828,8 +2828,8 @@ rb_ary_shuffle_bang(VALUE ary)
*
* Returns a new array that with elements of this array shuffled.
*
- * s = [ 1, 2, 3 ] #=> [1, 2, 3]
- * a.shuffle #=> [1, 2, 3]
+ * a = [ 1, 2, 3 ] #=> [1, 2, 3]
+ * a.shuffle #=> [2, 3, 1]
*/
static VALUE