Class: Dry::Monads::SuperDiff::OTBuilders::Tuple Private
- Inherits:
-
SuperDiff::Basic::OperationTreeBuilders::Array
- Object
- SuperDiff::Basic::OperationTreeBuilders::Array
- Dry::Monads::SuperDiff::OTBuilders::Tuple
- Defined in:
- lib/dry/monads/extensions/super_diff.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Class Method Details
.applies_to?(expected, actual) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
173 174 175 176 |
# File 'lib/dry/monads/extensions/super_diff.rb', line 173 def self.applies_to?(expected, actual) expected.is_a?(::Dry::Monads::SuperDiff::Tuple) && actual.instance_of?(expected.class) end |