class TaskJuggler::DependencyListAttribute

Public Class Methods

new(property, type, container) click to toggle source
Calls superclass method TaskJuggler::ListAttributeBase.new
# File lib/taskjuggler/Attributes.rb, line 224
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 228
def DependencyListAttribute::tjpId
  'dependencylist'
end

Public Instance Methods

to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 232
def to_s(query = nil)
  out = []
  get.each { |t| out << t.task.fullId if t.task }
  out.join(', ')
end
to_tjp() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 238
def to_tjp
  out = []
  get.each { |taskDep| out << taskDep.task.fullId }
  @type.id + " " + out.join(', ')
end