Class: Schedule
- Inherits:
-
Object
- Object
- Schedule
- Defined in:
- lib/schedule.rb
Instance Method Summary collapse
-
#schedule_for(date, group) ⇒ Object
Returns the schedule for specific date and group.
Instance Method Details
#schedule_for(date, group) ⇒ Object
Returns the schedule for specific date and group
6 7 8 9 |
# File 'lib/schedule.rb', line 6 def schedule_for date, group group_schedule = GroupSchedule.new(group) group_schedule.day_schedule date end |