Class: Kitchen::Driver::Dokken::PartialHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/kitchen/driver/dokken.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



124
125
126
# File 'lib/kitchen/driver/dokken.rb', line 124

def ==(other)
  other.is_a?(Hash) && all? { |key, val| other.key?(key) && other[key] == val }
end