Module: WorkflowTemplate::Action::Abstract::Named
- Includes:
- WorkflowTemplate::Action::Abstract
- Included in:
- Unprepared, Nested::Prepared
- Defined in:
- lib/workflow_template/action/abstract.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Methods included from WorkflowTemplate::Action::Abstract
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
19 20 21 |
# File 'lib/workflow_template/action/abstract.rb', line 19 def name @name end |
Instance Method Details
#initialize(name) ⇒ Object
21 22 23 24 |
# File 'lib/workflow_template/action/abstract.rb', line 21 def initialize(name) @name = name.to_sym freeze end |