Class: SpotFlow::Bpmn::Activity

Inherits:
Step show all
Defined in:
lib/spot_flow/bpmn/step.rb

Direct Known Subclasses

CallActivity, Task

Instance Attribute Summary collapse

Attributes inherited from Step

#default, #default_ref, #incoming, #outgoing

Attributes inherited from Element

#extension_elements, #id, #name

Instance Method Summary collapse

Methods inherited from Step

#converging?, #diverging?, #input_mappings, #leave, #outgoing_flows, #output_mappings

Methods inherited from Element

#inspect

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

#attachmentsObject

Returns the value of attribute attachments.



49
50
51
# File 'lib/spot_flow/bpmn/step.rb', line 49

def attachments
  @attachments
end