diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | array.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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 |