summaryrefslogtreecommitdiff
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
commit54b7c5d56058c8c56f6a8602b039679a86b915f0 (patch)
tree85d3d9a0de1f7e2c75242fbd9eb03059ff86960b /array.c
parentc22af575a18f689e31ce07b24a8034b1f751a681 (diff)
* array.c (rb_ary_shuffle): RDoc fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 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