Class: Pipetree::Flow::Stay
Overview
Call step proc and return incoming last step.
Instance Method Summary collapse
Methods inherited from And
Constructor Details
This class inherits a constructor from Pipetree::Flow::And
Instance Method Details
#call(last, input, options) ⇒ Object
103 104 105 106 |
# File 'lib/pipetree/flow.rb', line 103 def call(last, input, ) @proc.(input, ) [last, input] # simply pass through the current direction: either [Left, input] or [Right, input]. end |