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.
24 25 26 27 28 29 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 24 def initialize(id, name) @id = id @name = name @tasks = [] @resources = {} end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
22 23 24 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 22 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 22 def name @name end |
#resources ⇒ Object (readonly)
Returns the value of attribute resources.
22 23 24 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 22 def resources @resources end |
#tasks ⇒ Object (readonly)
Returns the value of attribute tasks.
22 23 24 |
# File 'lib/taskjuggler/reports/NikuReport.rb', line 22 def tasks @tasks end |