class Hash

Public Instance Methods

reverse_merge(other) click to toggle source
# File lib/strife/core_ext/hash.rb, line 2
def reverse_merge(other)
  other.merge(self)
end
reverse_merge!(other) click to toggle source
# File lib/strife/core_ext/hash.rb, line 6
def reverse_merge!(other)
  merge!(other) { |key, left, right| left }
end