Sha256: bbaa95efb0e296ea4d1578583437c77d75f16e2b31e5e47a89f8fb27c770384c

Contents?: true

Size: 535 Bytes

Versions: 35

Compression:

Stored size: 535 Bytes

Contents

# Define schedule scheme for a lecture series

class ScheduleDef
  attr_reader :first_day, :weekdays, :number, :skips, :start_time, :end_time, :start_times, :end_times

  def initialize(first_day: nil, weekdays: nil, number: nil,
                skips: [], start_time: nil, end_time: nil, start_times: [], end_times: [])
    @first_day = first_day
    @weekdays = weekdays
    @number = number
    @skips = skips
    @start_time = start_time
    @end_time = end_time
    @start_times = start_times
    @end_times = end_times
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
coursegen-0.9.25 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.24 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.21 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.20 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.19 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.18 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.17 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.16 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.15 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.14 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.13 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.12 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.11 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.10 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.9 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.8 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.7 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.6 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.4 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.9.3 lib/coursegen/course/schedule/schedule_def.rb