Class: TaskJuggler::BookingListAttribute
- Inherits:
-
ListAttributeBase
- Object
- AttributeBase
- ListAttributeBase
- TaskJuggler::BookingListAttribute
- 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
-
#initialize(property, type, container) ⇒ BookingListAttribute
constructor
A new instance of BookingListAttribute.
- #to_s(query = nil) ⇒ Object
- #to_tjp ⇒ Object
Methods inherited from ListAttributeBase
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
.tjpId ⇒ Object
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_tjp ⇒ Object
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 |