lib/class_period.rb
# creates a text representation of the period
creates a text representation of the period
creates a text representation of the period
def timeslot_string
		ret = ""
		self.weekdays.each{|w| ret << WEEKDAYS[w].slice(0,3) << "/" }
		ret.chomp! "/"
		ret << " #{period_string}"
  end
def timeslot_string ret = "" self . weekdays . each { | w | ret << WEEKDAYS [ w ] . slice ( 0 , 3 ) << "/" } ret . chomp! "/" ret << " #{period_string}" end
creates a text representation of the period
creates a text representation of the period