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

Instance Method Summary collapse

Methods included from WorkflowTemplate::Action::Abstract

#describe, #prepare

Instance Attribute Details

#nameObject (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