Methods

Class Index [+]

Quicksearch

TaskJuggler::DateAttribute

Public Class Methods

new(property, type) click to toggle source
     # File lib/Attributes.rb, line 193
193:     def initialize(property, type)
194:       super
195:     end
tjpId() click to toggle source
     # File lib/Attributes.rb, line 205
205:     def DateAttribute::tjpId
206:       'date'
207:     end

Public Instance Methods

to_s(query = nil) click to toggle source
     # File lib/Attributes.rb, line 197
197:     def to_s(query = nil)
198:       if @value
199:         @value.to_s(query ? query.timeFormat : '%Y-%m-%d')
200:       else
201:         'Error'
202:       end
203:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.