diff options
author | BurdetteLamar <[email protected]> | 2025-02-25 08:57:31 -0600 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2025-02-26 09:28:05 -0500 |
commit | 43a729b1be1c03499e1fa8475364708f4a1ca39e () | |
tree | 30fa12e5fb5d444274d964092e8bc4f1ec807bad /hash.c | |
parent | a870419f3a1f9a12d7458d4a7427d0766ea86911 (diff) |
[DOC] Tweaks for Hash#replace
Notes: Merged: https://.com/ruby/ruby/pull/12806
-rw-r--r-- | hash.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2971,8 +2971,11 @@ rb_hash_aset(VALUE hash, VALUE key, VALUE val) * * Replaces the entire contents of +self+ with the contents of +other_hash+; * returns +self+: * h = {foo: 0, bar: 1, baz: 2} * h.replace({bat: 3, bam: 4}) # => {bat: 3, bam: 4} */ static VALUE |