Sha256: 9ce3e4e218cd64ad925d9fb5d9df34957f2c0dba1f624866aa776a8e59a9e932

Contents?: true

Size: 289 Bytes

Versions: 11

Compression:

Stored size: 289 Bytes

Contents

# Define schedule scheme for a lecture series

class ScheduleDef
		attr_reader :first_day, :weekdays, :number, :skips

		def initialize first_day: nil, weekdays: nil, number: nil, skips: []
			@first_day = first_day
			@weekdays = weekdays
			@number = number
			@skips = skips
		end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
coursegen-0.1.3 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.1.2 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.1.1 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.1.0 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.0.9 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.0.8 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.0.7 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.0.6 lib/coursegen/course/schedule/schedule_def.rb
coursegen-0.0.4 lib/coursegen/course/lib/schedule_def.rb
coursegen-0.0.3 lib/coursegen/course/lib/schedule_def.rb
coursegen-0.0.2 lib/coursegen/course/lib/schedule_def.rb