Class: SpotFlow::Bpmn::Activity
- Defined in:
- lib/spot_flow/bpmn/step.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attachments ⇒ Object
Returns the value of attribute attachments.
Attributes inherited from Step
#default, #default_ref, #incoming, #outgoing
Attributes inherited from Element
#extension_elements, #id, #name
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Activity
constructor
A new instance of Activity.
Methods inherited from Step
#converging?, #diverging?, #input_mappings, #leave, #outgoing_flows, #output_mappings
Methods inherited from Element
Constructor Details
#initialize(attributes = {}) ⇒ Activity
Returns a new instance of Activity.
51 52 53 54 55 |
# File 'lib/spot_flow/bpmn/step.rb', line 51 def initialize(attributes = {}) super(attributes.except(:attachments)) @attachments = [] end |
Instance Attribute Details
#attachments ⇒ Object
Returns the value of attribute attachments.
49 50 51 |
# File 'lib/spot_flow/bpmn/step.rb', line 49 def @attachments end |