Sha256: 39a85a7641adb36ec29d63d2820104a59707af1294f3f7e1fd3ea34b70c98bbd
Contents?: true
Size: 878 Bytes
Versions: 4
Compression:
Stored size: 878 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 end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dynflow-0.8.11 | lib/dynflow/middleware.rb |
dynflow-0.8.10 | lib/dynflow/middleware.rb |
dynflow-0.8.9 | lib/dynflow/middleware.rb |
dynflow-0.8.8 | lib/dynflow/middleware.rb |