[DOC] Tweaks for Hash#keys
This commit is contained in:
parent
3bbb029d44
commit
8dce189078
Notes:
git
2025-02-26 20:52:15 +00:00
5
hash.c
5
hash.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user