Class: TypedOperation::Pipeline::ChainableWrapper
- Inherits:
-
Object
- Object
- TypedOperation::Pipeline::ChainableWrapper
- Includes:
- Operations::Composition
- Defined in:
- lib/typed_operation/pipeline/chainable_wrapper.rb
Overview
Wrapper that exposes full Composition methods while delegating to Pipeline.
Instance Method Summary collapse
-
#call ⇒ Object
: (*untyped, **untyped) -> untyped.
-
#initialize(pipeline) ⇒ ChainableWrapper
constructor
: (Pipeline) -> void.
Methods included from Operations::Composition
#or_else, #then, #then_passes, #then_spreads, #transform
Constructor Details
#initialize(pipeline) ⇒ ChainableWrapper
: (Pipeline) -> void
13 14 15 |
# File 'lib/typed_operation/pipeline/chainable_wrapper.rb', line 13 def initialize(pipeline) @pipeline = pipeline end |
Instance Method Details
#call ⇒ Object
: (*untyped, **untyped) -> untyped
18 19 20 |
# File 'lib/typed_operation/pipeline/chainable_wrapper.rb', line 18 def call(...) @pipeline.call(...) end |