Method: Hash#reverse_merge!
- Defined in:
- activesupport/lib/active_support/core_ext/hash/reverse_merge.rb
#reverse_merge!(other_hash) ⇒ Object Also known as: reverse_update, with_defaults!
Destructive reverse_merge
.
20 21 22 |
# File 'activesupport/lib/active_support/core_ext/hash/reverse_merge.rb', line 20 def reverse_merge!(other_hash) replace(reverse_merge(other_hash)) end |