instance method
reverse_merge!
Ruby on Rails 8.0.4
Since v3.0.20Signature
reverse_merge!(other_hash)
Same semantics as reverse_merge but modifies the receiver in-place.
Parameters
-
other_hashreq
Source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 287
def reverse_merge!(other_hash)
super(self.class.new(other_hash))
end
Defined in activesupport/lib/active_support/hash_with_indifferent_access.rb line 287
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::HashWithIndifferentAccess