Class: SuperDiff::Core::AbstractDiffer
- Inherits:
-
Object
- Object
- SuperDiff::Core::AbstractDiffer
- Extended by:
- ImplementationChecks
- Includes:
- ImplementationChecks
- Defined in:
- lib/super_diff/core/abstract_differ.rb
Direct Known Subclasses
ActiveRecord::Differs::ActiveRecordRelation, Basic::Differs::Array, Basic::Differs::CustomObject, Basic::Differs::DateLike, Basic::Differs::DefaultObject, Basic::Differs::Hash, Basic::Differs::MultilineString, Basic::Differs::TimeLike
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.applies_to?(_expected, _actual) ⇒ Boolean
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
#call ⇒ Object
16 17 18 |
# File 'lib/super_diff/core/abstract_differ.rb', line 16 def call operation_tree.to_diff(indentation_level: indent_level) end |