class Toji::Calendar::DateColumn
Attributes
rice_schedules[R]
Public Class Methods
new()
click to toggle source
# File lib/toji/calendar/date_column.rb, line 6 def initialize @rice_schedules = [] end
Public Instance Methods
<<(schedule)
click to toggle source
# File lib/toji/calendar/date_column.rb, line 10 def <<(schedule) @rice_schedules << schedule end
Also aliased as: add
text()
click to toggle source
# File lib/toji/calendar/date_column.rb, line 15 def text @rice_schedules.map {|schedule| serial_num = schedule.product.serial_num weight = "%.17g" % schedule.expect.weight "#{serial_num}: #{weight}" }.join("<br>") end