From: tjdgnsqn133@... Date: 2020-12-10T04:51:26+00:00 Subject: [ruby-core:101357] [Ruby master Feature#17384] shorthand of Hash#merge 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: