diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-02-26 10:31:42 -0600 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-02-26 15:51:58 -0500 |
| commit | 8dce189078d609340d9a558a1e770a2002a32fa0 (patch) | |
| tree | b62727d70cde862bce14e07edd3bbd63df3b3f73 | |
| parent | 3bbb029d449868e5f371cc5c2311366fa33218cb (diff) | |
[DOC] Tweaks for Hash#keys
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12818
| -rw-r--r-- | hash.c | 5 |
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+: + * 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 |
