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 335
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 339
def TimeIntervalListAttribute::tjpId
  'intervallist'
end

Public Instance Methods

to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 343
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 349
def to_tjp
  out = []
  get.each { |i| out << i.to_s }
  @type.id + " " + out.join(', ')
end