summaryrefslogtreecommitdiffstats
path: root/array.c
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 /array.c
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
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
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