Class: SpotFlow::Bpmn::Participant

Inherits:
Element
  • Object
show all
Defined in:
lib/spot_flow/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.



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

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

Instance Attribute Details

#processObject

Returns the value of attribute process.



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

def process
  @process
end

#process_refObject

Returns the value of attribute process_ref.



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

def process_ref
  @process_ref
end