Class: SuperDiff::OperationTreeBuilders::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/operation_tree_builders/hash.rb

Class Method Summary collapse

Methods inherited from Base

#call

Class Method Details

.applies_to?(expected, actual) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/super_diff/operation_tree_builders/hash.rb', line 4

def self.applies_to?(expected, actual)
  expected.is_a?(::Hash) && actual.is_a?(::Hash)
end