Method: Transproc::Function#with

Defined in:
lib/transproc/function.rb

#with(*args) ⇒ Function

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.

Return a new fn with curried args

Returns:



73
74
75
# File 'lib/transproc/function.rb', line 73

def with(*args)
  self.class.new(fn, name: name, args: args)
end