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.



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

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



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

def BookingListAttribute::tjpId
  'bookinglist'
end

Instance Method Details

#to_s(query = nil) ⇒ Object



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

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

#to_tjpObject



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

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