diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-03-26 15:45:38 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-03-29 17:04:56 -0400 |
| commit | dbc1ceca3264246ab2e7b47e06e5e62f0409051e (patch) | |
| tree | 4e3ae41ed6eef4559cfb1a1580981221adbfabc4 | |
| parent | 4e3bc65e88f050563a49982ac0a5e57940def161 (diff) | |
[DOC] Tweaks for Hash#values
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12988
| -rw-r--r-- | hash.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3818,9 +3818,12 @@ values_i(VALUE key, VALUE value, VALUE ary) * call-seq: * values -> new_array * - * Returns a new Array containing all values in +self+: + * Returns a new array containing all values in +self+: + * * h = {foo: 0, bar: 1, baz: 2} * h.values # => [0, 1, 2] + * + * Related: see {Methods for Fetching}[rdoc-ref:Hash@Methods+for+Fetching]. */ VALUE |
