[DOC] Tweaks for Hash#keys

This commit is contained in:
BurdetteLamar 2025-02-26 10:31:42 -06:00 committed by Peter Zhu
parent 3bbb029d44
commit 8dce189078
Notes: git 2025-02-26 20:52:15 +00:00

5
hash.c
View File

@ -3612,9 +3612,12 @@ keys_i(VALUE key, VALUE value, VALUE ary)
* call-seq:
* keys -> new_array
*
* Returns a new Array containing all keys in +self+:
* Returns a new array containing all keys in +self+:
*
* h = {foo: 0, bar: 1, baz: 2}
* h.keys # => [:foo, :bar, :baz]
*
* Related: see {Methods for Fetching}[rdoc-ref:Hash@Methods+for+Fetching].
*/
VALUE