Method: Method::Composition#call

Defined in:
lib/core/facets/method/composition.rb

#call(*x) ⇒ Object



62
63
64
65
66
67
68
# File 'lib/core/facets/method/composition.rb', line 62

def call(*x)
  r = x
  @f.reverse_each do |f|
    r = f.call(*r)
  end
  r
end