Class: Trailblazer::Loader::Pipeline
- Inherits:
-
Array
- Object
- Array
- Trailblazer::Loader::Pipeline
- Extended by:
- Macros
- Defined in:
- lib/trailblazer/loader/pipeline.rb
Overview
WARNING: this will be removed soon with Uber::Pipeline or CallSheet.
Direct Known Subclasses
Defined Under Namespace
Modules: Function, Macros Classes: Collect
Constant Summary collapse
- Stop =
Class.new
Instance Method Summary collapse
-
#call(input, options) ⇒ Object
options is mutuable.
Methods included from Macros
Instance Method Details
#call(input, options) ⇒ Object
options is mutuable.
7 8 9 10 11 12 13 |
# File 'lib/trailblazer/loader/pipeline.rb', line 7 def call(input, ) inject(input) do |memo, block| res = evaluate(block, memo, ) return(Stop)if Stop == res res end end |