class Overtimer::Workday
Public Class Methods
max_overtime()
click to toggle source
# File lib/overtimer/workweek.rb, line 8 def self.max_overtime 4 end
max_regular()
click to toggle source
# File lib/overtimer/workweek.rb, line 5 def self.max_regular 8 end
new(hours)
click to toggle source
Calls superclass method
Overtimer::Workbase::new
# File lib/overtimer/workweek.rb, line 11 def initialize hours super account_for_hours hours end