Class: SpotFlow::Bpmn::Participant
- Defined in:
- lib/spot_flow/bpmn/element.rb
Instance Attribute Summary collapse
-
#process ⇒ Object
Returns the value of attribute process.
-
#process_ref ⇒ Object
Returns the value of attribute process_ref.
Attributes inherited from Element
#extension_elements, #id, #name
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Participant
constructor
A new instance of Participant.
Methods inherited from Element
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
#process ⇒ Object
Returns the value of attribute process.
37 38 39 |
# File 'lib/spot_flow/bpmn/element.rb', line 37 def process @process end |
#process_ref ⇒ Object
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 |