class BusinessDaysComputer

Public Instance Methods

business_days(start_date, end_date) click to toggle source
# File lib/harvest_overtime/business_days_computer.rb, line 4
def business_days(start_date, end_date)
  (start_date..end_date).reject(&:saturday?).reject(&:sunday?)
end