Class: WorkflowTemplate::Action::Nested::Unprepared
- Inherits:
-
Object
- Object
- WorkflowTemplate::Action::Nested::Unprepared
- Defined in:
- lib/workflow_template/action/nested.rb
Instance Attribute Summary
Attributes included from Abstract::Named
Class Method Summary collapse
Methods included from WorkflowTemplate::Action::Nested
#describe, #duplicate, #initialize, #prepare
Methods included from Abstract::Named
Methods included from Abstract
Class Method Details
.instance(wrapper_action, workflow_module, &block) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/workflow_template/action/nested.rb', line 13 def self.instance(wrapper_action, workflow_module, &block) workflow = Module.new do extend workflow_module instance_eval(&block) send :store_wrapper_action, wrapper_action freeze end new(wrapper_action.name, workflow) end |