Class TaskJuggler::DependencyListAttribute
In: lib/taskjuggler/Attributes.rb
Parent: ListAttributeBase

Methods

new   tjpId   to_s   to_tjp  

Public Class methods

[Source]

# File lib/taskjuggler/Attributes.rb, line 225
    def initialize(property, type, container)
      super
    end

[Source]

# File lib/taskjuggler/Attributes.rb, line 229
    def DependencyListAttribute::tjpId
      'dependencylist'
    end

Public Instance methods

[Source]

# File lib/taskjuggler/Attributes.rb, line 233
    def to_s(query = nil)
      out = []
      get.each { |t| out << t.task.fullId if t.task }
      out.join(', ')
    end

[Source]

# File lib/taskjuggler/Attributes.rb, line 239
    def to_tjp
      out = []
      get.each { |taskDep| out << taskDep.task.fullId }
      @type.id + " " + out.join(', ')
    end

[Validate]