Class: MPXJ::Relation
Overview
Represents a relationship between two tasks in a project plan
Instance Attribute Summary
Attributes inherited from Container
#attribute_values, #parent_project
Instance Method Summary collapse
-
#lag ⇒ Object
Retrieve the Lag value.
-
#task_unique_id ⇒ Object
Retrieve the Task Unique ID value.
-
#type ⇒ Object
Retrieve the Type value.
Methods inherited from Container
Constructor Details
This class inherits a constructor from MPXJ::Container
Instance Method Details
#lag ⇒ Object
Retrieve the Lag value
14 15 16 |
# File 'lib/mpxj/relation.rb', line 14 def lag get_duration_value(attribute_values['lag']) end |
#task_unique_id ⇒ Object
Retrieve the Task Unique ID value
7 8 9 |
# File 'lib/mpxj/relation.rb', line 7 def task_unique_id get_integer_value(attribute_values['task_unique_id']) end |
#type ⇒ Object
Retrieve the Type value
21 22 23 |
# File 'lib/mpxj/relation.rb', line 21 def type attribute_values['type'] end |