Class: Dry::Monads::SuperDiff::Differs::CompareTuples Private

Inherits:
CompareDefault
  • Object
show all
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

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.

Returns:

  • (Boolean)


240
241
242
# File 'lib/dry/monads/extensions/super_diff.rb', line 240

def self.applies_to?(expected, actual)
  super && IS_ARRAY.call(expected) && IS_ARRAY.call(actual)
end

Instance Method Details

#operation_tree_builder_classObject

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.



244
# File 'lib/dry/monads/extensions/super_diff.rb', line 244

def operation_tree_builder_class = OTBuilders::CompareTuples