Issue #17384 has been updated by tjdgnsqn133 (Kim Seonghoon).


``` ruby
a = {k: 1}
b = {j: 2}
c = a.merge(b)
d = a + b # same as c
```


----------------------------------------
Feature #17384: shorthand of Hash#merge
https://bugs.ruby-lang.org/issues/17384#change-89062

* Author: tjdgnsqn133 (Kim Seonghoon)
* Status: Open
* Priority: Normal
----------------------------------------
Hi, all.
When I used Hash#merge, I thought it is uncomfortable.

``` ruby
a = {k: 1}
b = {j: 2}
c = a.merge(b)
```

If hash provides + like array, so useful.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>