class Section attr_reader :start, :duration def initialize(start, duration) @start = start @duration = duration end end