Module: Trailblazer::Operation::Pipetree

Included in:
Trailblazer::Operation
Defined in:
lib/trailblazer/operation/pipetree.rb

Overview

Implements the API to populate the operation’s pipetree and ‘Operation::call` to invoke the latter. Learn more about the Pipetree gem here: github.com/apotonick/pipetree

Defined Under Namespace

Modules: ClassMethods, DSL Classes: Railway, Stay, Step, Switch

Class Method Summary collapse

Class Method Details

.included(includer) ⇒ Object



18
19
20
21
22
23
# File 'lib/trailblazer/operation/pipetree.rb', line 18

def self.included(includer)
  includer.extend ClassMethods # ::call, ::inititalize_pipetree!
  includer.extend DSL          # ::|, ::> and friends.

  includer.initialize_pipetree!
end