Method: GroupSchedule#initialize
- Defined in:
- lib/group_scheduler.rb
#initialize(group) ⇒ GroupSchedule
Returns a new instance of GroupSchedule.
5 6 7 8 |
# File 'lib/group_scheduler.rb', line 5 def initialize group @group = validate_group(group) @group_schedule = load_schedule end |