Module: HashOps

Defined in:
lib/helpers/hash_helpers.rb

Class Method Summary collapse

Class Method Details

.remove_hash(other_hash) ⇒ Object



45
46
47
# File 'lib/helpers/hash_helpers.rb', line 45

def self.remove_hash(other_hash)
  delete_if { |k,v| other_hash[k] == v }
end