Class: TaskJuggler::NikuProject
- Defined in:
- lib/taskjuggler/reports/NikuReport.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#resources ⇒ Object
readonly
Returns the value of attribute resources.
-
#tasks ⇒ Object
readonly
Returns the value of attribute tasks.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ NikuProject
constructor
A new instance of NikuProject.
Constructor Details
#initialize(id, name) ⇒ NikuProject
Returns a new instance of NikuProject.
23 24 25 26 27 28 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 23 def initialize(id, name) @id = id @name = name @tasks = [] @resources = {} end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
21 22 23 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 21 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
21 22 23 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 21 def name @name end |
#resources ⇒ Object (readonly)
Returns the value of attribute resources.
21 22 23 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 21 def resources @resources end |
#tasks ⇒ Object (readonly)
Returns the value of attribute tasks.
21 22 23 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 21 def tasks @tasks end |