class Gendered::Config
Public Instance Methods
merge(other)
click to toggle source
# File lib/gendered.rb, line 24 def merge(other) hash = respond_to?(:to_h) ? to_h : Hash[each_pair.to_a] hash.merge!(other) hash.reject! { |k,v| v.nil? } end