Class: BPMN::Activity

Inherits:
Step show all
Defined in:
lib/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.



50
51
52
53
54
# File 'lib/bpmn/step.rb', line 50

def initialize(attributes = {})
  super(attributes.except(:attachments))

  @attachments = []
end

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments.



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

def attachments
  @attachments
end