Class: Dry::Monads::SuperDiff::OT::RegularConstructor Private

Inherits:
SuperDiff::Basic::OperationTrees::CustomObject
  • 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.

Direct Known Subclasses

TupleConstructor

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)


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

def self.applies_to?(value) = VALUES.include?(value.class)

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.



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

def operation_tree_flattener_class = OTFlatteners::RegularConstructor