Class: Projects::Model::TimelogList
- Inherits:
-
Array
- Object
- Array
- Projects::Model::TimelogList
- Defined in:
- lib/projects/model/TimelogList.rb
Overview
-
This class is used to make an object for TimelogList.
Instance Method Summary collapse
-
#getGrandtotal ⇒ Object
-
Get the grand total of the time log.
-
-
#getRole ⇒ Object
-
Get the time log role.
-
-
#setGrandtotal(grandtotal) ⇒ Object
-
Set the grand total of the time log.
-
-
#setRole(role) ⇒ Object
-
Set the time log role.
-
Instance Method Details
#getGrandtotal ⇒ Object
-
Get the grand total of the time log.
Returns
-
The grand total of the timelog.
29 30 31 |
# File 'lib/projects/model/TimelogList.rb', line 29 def getGrandtotal return grandtotal end |
#getRole ⇒ Object
-
Get the time log role.
Returns
-
The time log role.
49 50 51 |
# File 'lib/projects/model/TimelogList.rb', line 49 def getRole return @role end |
#setGrandtotal(grandtotal) ⇒ Object
-
Set the grand total of the time log.
Parameters
- grandtotal
-
Grand total of the time log.
-
19 20 21 |
# File 'lib/projects/model/TimelogList.rb', line 19 def setGrandtotal(grandtotal) @grandtotal = grandtotal end |
#setRole(role) ⇒ Object
-
Set the time log role.
Parameters
- role
-
Role for the time log.
-
39 40 41 |
# File 'lib/projects/model/TimelogList.rb', line 39 def setRole(role) @role = role end |