mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
d6dc9caa02
```ruby
h={1=>2,2=>3}
h.transform_keys!{_1.succ}
```
used to make `h` to `{2=>2}` (duplicated keys were squashed), but now
makes it `{2=>2,3=>3}`.