Class: Calorie::DayOfTheWeek
- Inherits:
-
Object
- Object
- Calorie::DayOfTheWeek
- Defined in:
- lib/calorie/day_of_the_week.rb
Instance Method Summary collapse
-
#initialize(day_of_the_week) ⇒ DayOfTheWeek
constructor
A new instance of DayOfTheWeek.
- #label ⇒ Object
- #weekend? ⇒ Boolean
Constructor Details
#initialize(day_of_the_week) ⇒ DayOfTheWeek
Returns a new instance of DayOfTheWeek.
3 4 5 |
# File 'lib/calorie/day_of_the_week.rb', line 3 def initialize(day_of_the_week) @day_of_the_week = day_of_the_week end |