Class: TaskJuggler::DependencyListAttribute
Instance Attribute Summary
#inherited, #property, #provided, #type
Class Method Summary
collapse
Instance Method Summary
collapse
#isList?, isList?
#get, #id, #inherit, isList?, #isList?, mode, #name, #nil?, #reset, #set, setMode, #to_num, #to_rti, #to_sort
Constructor Details
225
226
227
|
# File 'lib/taskjuggler/Attributes.rb', line 225
def initialize(property, type, container)
super
end
|
Class Method Details
229
230
231
|
# File 'lib/taskjuggler/Attributes.rb', line 229
def DependencyListAttribute::tjpId
'dependencylist'
end
|
Instance Method Details
#to_s(query = nil) ⇒ Object
233
234
235
236
237
|
# 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
|
239
240
241
242
243
|
# File 'lib/taskjuggler/Attributes.rb', line 239
def to_tjp
out = []
get.each { |taskDep| out << taskDep.task.fullId }
@type.id + " " + out.join(', ')
end
|