summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-01 05:24:05 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-01 05:24:05 +0000
commitebda27fe441c67e32de579178375cc8ac2e6d7b8 (patch)
tree85d3d9a0de1f7e2c75242fbd9eb03059ff86960b
parentb07cb0e22790639779594d7df829e7efcd23e5a0 (diff)
downloadruby-ebda27fe441c67e32de579178375cc8ac2e6d7b8.tar.gz
ruby-ebda27fe441c67e32de579178375cc8ac2e6d7b8.tar.xz
ruby-ebda27fe441c67e32de579178375cc8ac2e6d7b8.zip
* array.c (rb_ary_shuffle): RDoc fixed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--array.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b8b93cba..0afd9adce 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 0ffc9a6a7..3cf5b7ceb 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