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