Class: Camunda::BpmnXML::Task
- Inherits:
-
Object
- Object
- Camunda::BpmnXML::Task
- Defined in:
- lib/camunda/bpmn_xml.rb
Instance Method Summary collapse
- #class_name ⇒ Object
-
#initialize(task) ⇒ Task
constructor
A new instance of Task.
- #topic ⇒ Object
Constructor Details
#initialize(task) ⇒ Task
Returns a new instance of Task.
40 41 42 |
# File 'lib/camunda/bpmn_xml.rb', line 40 def initialize(task) @task = task end |
Instance Method Details
#class_name ⇒ Object
44 45 46 |
# File 'lib/camunda/bpmn_xml.rb', line 44 def class_name @task.attribute('id').value end |
#topic ⇒ Object
48 49 50 |
# File 'lib/camunda/bpmn_xml.rb', line 48 def topic @task.attribute('topic').value end |