зеркало из https://github.com/github/ruby.git
[DOC] Correct related for Array#shuffle!
This commit is contained in:
Родитель
550ae745f6
Коммит
f549448e5e
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.
|
||||
#
|
||||
# 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)
|
||||
Primitive.rb_ary_shuffle_bang(random)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче