summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorBurdette Lamar <[email protected]>2024-09-12 14:19:20 -0500
committerGitHub <[email protected]>2024-09-12 15:19:20 -0400
commit0960c8aacd30c28347de6b7d906df0c5d2d86b41 (patch)
tree3308b62d45ef1974e3782ce4520daa1fcbd119e7 /array.c
parentce5fd35b356b122ba945706d3682e128cb3cd625 (diff)
[DOC] Tweaks for Array#fetch_values (#11603)
Notes
Notes: Merged-By: peterzhu2118 <[email protected]>
Diffstat (limited to 'array.c')
-rw-r--r--array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/array.c b/array.c
index 059d6911ee..fcfe01ab87 100644
--- a/array.c
+++ b/array.c
@@ -8600,6 +8600,7 @@ rb_ary_deconstruct(VALUE ary)
*
* - #[] (aliased as #slice): Returns consecutive elements as determined by a given argument.
* - #fetch: Returns the element at a given offset.
+ * - #fetch_values: Returns elements at given offsets.
* - #first: Returns one or more leading elements.
* - #last: Returns one or more trailing elements.
* - #max: Returns one or more maximum-valued elements,