def earliest_class
      earliest_classes = Tableau::ClassArray.new
      @modules.each { |m| earliest_classes << m.earliest_class }

      earliest = earliest_classes.first
      earliest_classes.each { |c| earliest = c if c.time < earliest.time }
      earliest
    end
def earliest_class
      earliest_classes = Tableau::ClassArray.new
      @modules.each { |m| earliest_classes << m.earliest_class }

      earliest = earliest_classes.first
      earliest_classes.each { |c| earliest = c if c.time < earliest.time }
      earliest
    end
Returns the earliest class on the timetable