Class: Dry::Monads::SuperDiff::Differs::CompareDefault Private
- Inherits:
-
SuperDiff::Basic::Differs::CustomObject
- Object
- SuperDiff::Basic::Differs::CustomObject
- Dry::Monads::SuperDiff::Differs::CompareDefault
- 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.
Direct Known Subclasses
Class Method Summary collapse
Instance 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.
231 232 233 234 |
# File 'lib/dry/monads/extensions/super_diff.rb', line 231 def self.applies_to?(expected, actual) VALUES.include?(expected.class) && expected.instance_of?(actual.class) end |
Instance Method Details
#operation_tree_builder_class ⇒ Object
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.
236 |
# File 'lib/dry/monads/extensions/super_diff.rb', line 236 def operation_tree_builder_class = OTBuilders::CompareDefault |