Class: Method
Instance Method Summary collapse
-
#*(f) ⇒ Object
Public: Compose a Method.
Instance Method Details
#*(f) ⇒ Object
Public: Compose a Method.
f - Method, Proc or Symbol describing a Proc to compose with the current
method.
Returns a composed Proc.
10 11 12 |
# File 'lib/funtools/composition.rb', line 10 def *(f) to_proc * f end |