Actions
Feature #17384
closedshorthand of Hash#merge
Status:
Feedback
Assignee:
-
Target version:
-
Description
Hi, all.
When I used Hash#merge, I thought it is uncomfortable.
a = {k: 1}
b = {j: 2}
c = a.merge(b)
If hash provides + like array, so useful.
Updated by tjdgnsqn133 (Kim Seonghoon) almost 4 years ago
a = {k: 1}
b = {j: 2}
c = a.merge(b)
d = a + b # same as c
Updated by shyouhei (Shyouhei Urabe) almost 4 years ago
- Is duplicate of Feature #6225: Hash#+ added
Updated by shyouhei (Shyouhei Urabe) almost 4 years ago
- Status changed from Open to Feedback
Please refer to previous discussions. Do you have some new insights around this area?
Updated by tjdgnsqn133 (Kim Seonghoon) almost 4 years ago
Thanks,
I didn't know the issue has been argued.
From now on, I search issues first before write.
Actions
Like0
Like0Like0Like0Like0