[DOC] Correct related for Array#shuffle!
This commit is contained in:
parent
550ae745f6
commit
f549448e5e
Notes:
git
2024-10-16 18:12:12 +00:00
2
array.rb
2
array.rb
@ -63,7 +63,7 @@ class Array
|
|||||||
#
|
#
|
||||||
# The object given with keyword argument +random+ is used as the random number generator.
|
# The object given with keyword argument +random+ is used as the random number generator.
|
||||||
#
|
#
|
||||||
# Related: see {Methods for Fetching}[rdoc-ref:Array@Methods+for+Fetching].
|
# Related: see {Methods for Assigning}[rdoc-ref:Array@Methods+for+Assigning].
|
||||||
def shuffle!(random: Random)
|
def shuffle!(random: Random)
|
||||||
Primitive.rb_ary_shuffle_bang(random)
|
Primitive.rb_ary_shuffle_bang(random)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user