Class: MPXJ::Resource
Overview
Represents a resource in a project plan
Instance Attribute Summary collapse
-
#assignments ⇒ Object
readonly
Returns the value of attribute assignments.
Attributes inherited from Container
Instance Method Summary collapse
-
#initialize(parent_project, attribute_types, attribute_values) ⇒ Resource
constructor
A new instance of Resource.
Methods inherited from Container
Constructor Details
#initialize(parent_project, attribute_types, attribute_values) ⇒ Resource
Returns a new instance of Resource.
5 6 7 8 |
# File 'lib/mpxj/resource.rb', line 5 def initialize(parent_project, attribute_types, attribute_values) super(parent_project, attribute_types, attribute_values) @assignments = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MPXJ::Container
Instance Attribute Details
#assignments ⇒ Object (readonly)
Returns the value of attribute assignments.
4 5 6 |
# File 'lib/mpxj/resource.rb', line 4 def assignments @assignments end |