Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/kimurai/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#deep_merge_excl(second, exclude) ⇒ Object



2
3
4
# File 'lib/kimurai/core_ext/hash.rb', line 2

def deep_merge_excl(second, exclude)
  self.merge(second.slice(*exclude)).deep_merge(second.except(*exclude))
end