Sha256: 9084040d86f7286401e2e1f1c7bb978112e22caed3caa4f866ff7f9f3d64d322
Contents?: true
Size: 913 Bytes
Versions: 19
Compression:
Stored size: 913 Bytes
Contents
module Dynflow class Middleware require 'dynflow/middleware/register' require 'dynflow/middleware/world' require 'dynflow/middleware/resolver' require 'dynflow/middleware/stack' require 'dynflow/middleware/common/transaction' include Algebrick::TypeCheck def initialize(stack) @stack = Type! stack, Stack end # call `pass` to get deeper with the call def pass(*args) @stack.pass(*args) end # to get the action object def action @stack.action or raise "the action is not available" end def delay(*args) pass(*args) end def run(*args) pass(*args) end def plan(*args) pass(*args) end def finalize(*args) pass(*args) end def plan_phase(*args) pass(*args) end def finalize_phase(*args) pass(*args) end def present pass end end end
Version data entries
19 entries across 19 versions & 1 rubygems