Class: Dry::Transaction::StepAdapters::Tee Private

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/transaction/step_adapters/tee.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.

Instance Method Summary collapse

Instance Method Details

#call(operation, _options, args) ⇒ 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.



10
11
12
13
# File 'lib/dry/transaction/step_adapters/tee.rb', line 10

def call(operation, _options, args)
  operation.(*args)
  Success(args[0])
end