summaryrefslogtreecommitdiff
path: root/array.rb
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2024-10-15 14:35:03 -0500
committerPeter Zhu <[email protected]>2024-10-16 14:11:52 -0400
commitf549448e5e1f3fe07159d6c7307fd4b4b500d826 (patch)
tree57283625afb0f712c51e3645c86c178788d5be53 /array.rb
parent550ae745f6ad400c2de381ed21ed65ae6f574c6d (diff)
[DOC] Correct related for Array#shuffle!
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11900
Diffstat (limited to 'array.rb')
-rw-r--r--array.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.rb b/array.rb
index 23d38ebc65..d09a20b9ab 100644
--- a/array.rb
+++ b/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