Class: TaskJuggler::BookingListAttribute

Inherits:
ListAttributeBase show all
Defined in:
lib/taskjuggler/Attributes.rb

Instance Attribute Summary

Attributes inherited from AttributeBase

#inherited, #property, #provided, #type

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ListAttributeBase

#isList?, isList?

Methods inherited from AttributeBase

#get, #id, #inherit, isList?, #isList?, mode, #name, #nil?, #reset, #set, setMode, #to_num, #to_rti, #to_sort

Constructor Details

#initialize(property, type, container) ⇒ BookingListAttribute

Returns a new instance of BookingListAttribute.



107
108
109
# File 'lib/taskjuggler/Attributes.rb', line 107

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



111
112
113
# File 'lib/taskjuggler/Attributes.rb', line 111

def BookingListAttribute::tjpId
  'bookinglist'
end

Instance Method Details

#to_s(query = nil) ⇒ Object



115
116
117
# File 'lib/taskjuggler/Attributes.rb', line 115

def to_s(query = nil)
  get.collect{ |x| x.to_s }.join(', ')
end

#to_tjpObject



119
120
121
# File 'lib/taskjuggler/Attributes.rb', line 119

def to_tjp
  raise "Don't call this method. This needs to be a special case."
end