Class: Increments::Schedule::WinterVacationSchedule
- Inherits:
-
Struct
- Object
- Struct
- Increments::Schedule::WinterVacationSchedule
- Defined in:
- lib/increments/schedule.rb
Defined Under Namespace
Classes: NewYearVacation, YearEndVacation
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
Instance Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
67 68 69 |
# File 'lib/increments/schedule.rb', line 67 def date @date end |
Instance Method Details
#winter_vacation? ⇒ Boolean
68 69 70 |
# File 'lib/increments/schedule.rb', line 68 def winter_vacation? year_end_vacation.days.include?(date) || new_year_vacation.days.include?(date) end |