method

merge!

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActiveSupport::OrderedHash
merge!(other_hash) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/ordered_hash.rb, line 186
      def merge!(other_hash)
        if block_given?
          other_hash.each { |k, v| self[k] = key?(k) ? yield(k, self[k], v) : v }
        else
          other_hash.each { |k, v| self[k] = v }
        end
        self
      end
Register or log in to add new notes.