Class: Dry::Monads::SuperDiff::OT::TupleConstructor Private

Inherits:
RegularConstructor
  • 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?(value) ⇒ 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)


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

def self.applies_to?(value) = super && IS_ARRAY.call(value)

Instance Method Details

#operation_tree_flattener_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.



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

def operation_tree_flattener_class = OTFlatteners::TupleConstructor