Class: MPXJ::Container

Inherits:
Object
  • Object
show all
Defined in:
lib/mpxj/container.rb

Overview

Base class from which all project entities are derived

Direct Known Subclasses

Assignment, Properties, Relation, Resource, Task

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent_project, attribute_values) ⇒ Container

Returns a new instance of Container.



7
8
9
10
# File 'lib/mpxj/container.rb', line 7

def initialize(parent_project, attribute_values)
  @parent_project = parent_project
  @attribute_values = attribute_values
end

Instance Attribute Details

#attribute_valuesObject (readonly)

Returns the value of attribute attribute_values.



12
13
14
# File 'lib/mpxj/container.rb', line 12

def attribute_values
  @attribute_values
end

#parent_projectObject (readonly)

Returns the value of attribute parent_project.



6
7
8
# File 'lib/mpxj/container.rb', line 6

def parent_project
  @parent_project
end