summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index a2083210d3..0e51bb0b98 100644
--- a/array.c
+++ b/array.c
@@ -3781,7 +3781,7 @@ rb_ary_shuffle_bang(int argc, VALUE *argv, VALUE ary)
*
* If +rng+ is given, it will be used as the random number generator.
*
- * a.shuffle(Random.new(1)) #=> [1, 3, 2]
+ * a.shuffle(random: Random.new(1)) #=> [1, 3, 2]
*/
static VALUE