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.
107 108 109 |
# File 'lib/taskjuggler/Attributes.rb', line 107 def initialize(property, type, container) super end |
Class Method Details
.tjpId ⇒ Object
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_tjp ⇒ Object
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 |