Sha256: 606fe51403551e1bd232a480145a53059943677b623b282bac7fae256079d111
Contents?: true
Size: 778 Bytes
Versions: 19
Compression:
Stored size: 778 Bytes
Contents
module Dynflow class Middleware require 'dynflow/middleware/register' require 'dynflow/middleware/world' require 'dynflow/middleware/resolver' require 'dynflow/middleware/stack' 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 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 end end
Version data entries
19 entries across 19 versions & 1 rubygems