Method: Dry::Transformer::Composite#initialize
- Defined in:
- lib/dry/transformer/composite.rb
#initialize(left, right) ⇒ Composite
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 a new instance of Composite.
20 21 22 23 |
# File 'lib/dry/transformer/composite.rb', line 20 def initialize(left, right) @left = left @right = right end |