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.
8 9 10 |
# File 'lib/funtools/composition.rb', line 8 def *(f) to_proc * f end |