Class: SuperDiff::Basic::OperationTreeBuilders::TimeLike
- Inherits:
-
CustomObject
- Object
- Core::AbstractOperationTreeBuilder
- DefaultObject
- CustomObject
- SuperDiff::Basic::OperationTreeBuilders::TimeLike
- Defined in:
- lib/super_diff/basic/operation_tree_builders/time_like.rb
Class Method Summary collapse
Methods inherited from DefaultObject
Methods inherited from Core::AbstractOperationTreeBuilder
Constructor Details
This class inherits a constructor from SuperDiff::Basic::OperationTreeBuilders::DefaultObject
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
7 8 9 |
# File 'lib/super_diff/basic/operation_tree_builders/time_like.rb', line 7 def self.applies_to?(expected, actual) SuperDiff.time_like?(expected) && SuperDiff.time_like?(actual) end |