Class: MPXJ::Assignment
Overview
Represents a relationship between a task and a resource in a project plan
Instance Attribute Summary
Attributes inherited from Container
Instance Method Summary collapse
-
#resource ⇒ Resource
Retrieve the resource associated with this assignment.
-
#task ⇒ Task
Retrieve the task associated with this assignment.
Methods inherited from Container
Constructor Details
This class inherits a constructor from MPXJ::Container
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MPXJ::Container
Instance Method Details
#resource ⇒ Resource
Retrieve the resource associated with this assignment
14 15 16 |
# File 'lib/mpxj/assignment.rb', line 14 def resource parent_project.get_resource_by_unique_id(resource_unique_id) end |
#task ⇒ Task
Retrieve the task associated with this assignment
7 8 9 |
# File 'lib/mpxj/assignment.rb', line 7 def task parent_project.get_task_by_unique_id(task_unique_id) end |