instance method
deep_merge!
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
deep_merge!(other_hash)
Returns a new hash with self and other_hash merged recursively. Modifies the receiver in place.
Parameters
-
other_hashreq
Source
# File activesupport/lib/active_support/core_ext/hash/deep_merge.rb, line 17
def deep_merge!(other_hash)
replace(deep_merge(other_hash))
end
Defined in activesupport/lib/active_support/core_ext/hash/deep_merge.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub