class TaskJuggler::TimeIntervalListAttribute
Public Class Methods
new(property, type, container)
click to toggle source
Calls superclass method
TaskJuggler::ListAttributeBase::new
# File lib/taskjuggler/Attributes.rb, line 336 def initialize(property, type, container) super end
tjpId()
click to toggle source
# File lib/taskjuggler/Attributes.rb, line 340 def TimeIntervalListAttribute::tjpId 'intervallist' end
Public Instance Methods
to_s(query = nil)
click to toggle source
# File lib/taskjuggler/Attributes.rb, line 344 def to_s(query = nil) out = [] get.each { |i| out << i.to_s } out.join(", ") end
to_tjp()
click to toggle source
# File lib/taskjuggler/Attributes.rb, line 350 def to_tjp out = [] get.each { |i| out << i.to_s } @type.id + " " + out.join(', ') end