Class: SuperDiff::Core::AbstractDiffer

Inherits:
Object
  • Object
show all
Extended by:
ImplementationChecks
Includes:
ImplementationChecks
Defined in:
lib/super_diff/core/abstract_differ.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.applies_to?(_expected, _actual) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/super_diff/core/abstract_differ.rb', line 6

def self.applies_to?(_expected, _actual)
  raise NotImplementedError
end

Instance Method Details

#callObject



16
17
18
# File 'lib/super_diff/core/abstract_differ.rb', line 16

def call
  operation_tree.to_diff(indentation_level: indent_level)
end