Method: Dry::Transformer::Function#call

Defined in:
lib/dry/transformer/function.rb

#call(*value) ⇒ Object Also known as: []

Call the wrapped proc

Parameters:

  • value (Object)

    The input value



47
48
49
# File 'lib/dry/transformer/function.rb', line 47

def call(*value)
  fn.call(*value, *args)
end