# File lib/taskjuggler/Booking.rb, line 30 30: def to_s 31: out = "#{@resource.fullId} " 32: first = true 33: @intervals.each do |iv| 34: if first 35: first = false 36: else 37: out += ", " 38: end 39: out += "#{iv.start} + #{(iv.end - iv.start) / 3600}h" 40: end 41: end
# File lib/taskjuggler/Booking.rb, line 43 43: def to_tjp 44: out = "#{@resource.fullId} " 45: first = true 46: @intervals.each do |iv| 47: if first 48: first = false 49: else 50: out += ",\n" 51: end 52: out += "#{iv.start} + #{(iv.end - iv.start) / 3600}h" 53: end 54: out += ' { overtime 2 }' 55: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.