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



121
122
123
# File 'lib/kitchen/driver/dokken.rb', line 121

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