class Proc
Public Instance Methods
apply(*args)
click to toggle source
Curries this Proc
and partially applies parameters. If a sufficient number of arguments are supplied, it passes the supplied arguments to the original proc and returns the result. Otherwise, returns another curried proc that takes the rest of arguments.
# File lib/mug/apply.rb, line 10 def apply(*args) curry.call(*args) end