Class: TimeStats
- Inherits:
-
Struct
- Object
- Struct
- TimeStats
- Defined in:
- lib/harvest_overtime/structs.rb
Instance Attribute Summary collapse
-
#billed_hours ⇒ Object
Returns the value of attribute billed_hours.
-
#business_hours ⇒ Object
Returns the value of attribute business_hours.
Instance Method Summary collapse
Instance Attribute Details
#billed_hours ⇒ Object
Returns the value of attribute billed_hours
19 20 21 |
# File 'lib/harvest_overtime/structs.rb', line 19 def billed_hours @billed_hours end |
#business_hours ⇒ Object
Returns the value of attribute business_hours
19 20 21 |
# File 'lib/harvest_overtime/structs.rb', line 19 def business_hours @business_hours end |
Instance Method Details
#overtime ⇒ Object
20 21 22 |
# File 'lib/harvest_overtime/structs.rb', line 20 def overtime billed_hours - business_hours end |