Class: BPMN::Participant

Inherits:
Element show all
Defined in:
lib/bpmn/element.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#extension_elements, #id, #name

Instance Method Summary collapse

Methods inherited from Element

#inspect

Constructor Details

#initialize(attributes = {}) ⇒ Participant

Returns a new instance of Participant.



38
39
40
# File 'lib/bpmn/element.rb', line 38

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

Instance Attribute Details

#processObject

Returns the value of attribute process.



36
37
38
# File 'lib/bpmn/element.rb', line 36

def process
  @process
end

#process_refObject

Returns the value of attribute process_ref.



36
37
38
# File 'lib/bpmn/element.rb', line 36

def process_ref
  @process_ref
end