summaryrefslogtreecommitdiff
path: root/array.rb
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2025-01-02 13:31:05 -0600
committerPeter Zhu <[email protected]>2025-01-03 11:42:53 -0500
commitf3491042597ebdc3b93dc658f09ee6d260bc8592 (patch)
treebdc304f147eefdd79d47d2985931e76039404f61 /array.rb
parentfa0478d35509c28c2ab3d3af9bb40a523920992e (diff)
[DOC] Tweaks for Array doc
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12498
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 2eaec6de20..5f31693cab 100644
--- a/array.rb
+++ b/array.rb
@@ -71,7 +71,7 @@ class Array
#
# The order of the result array is unrelated to the order of +self+.
#
- # Returns a new empty +Array+ if +self+ is empty:
+ # Returns a new empty array if +self+ is empty:
#
# [].sample(4) # => []
#