summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2025-02-26 10:31:42 -0600
committerPeter Zhu <[email protected]>2025-02-26 15:51:58 -0500
commit8dce189078d609340d9a558a1e770a2002a32fa0 ()
treeb62727d70cde862bce14e07edd3bbd63df3b3f73 /hash.c
parent3bbb029d449868e5f371cc5c2311366fa33218cb (diff)
[DOC] Tweaks for Hash#keys
Notes: Merged: https://.com/ruby/ruby/pull/12818
-rw-r--r--hash.c5
1 files changed, 4 insertions, 1 deletions
@@ -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+:
* h = {foo: 0, bar: 1, baz: 2}
* h.keys # => [:foo, :bar, :baz]
*/
VALUE