Parent

Methods

Class/Module Index [+]

Quicksearch

TaskJuggler::DateAttribute

Public Class Methods

new(property, type, container) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 199
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 211
def DateAttribute::tjpId
  'date'
end

Public Instance Methods

to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 203
def to_s(query = nil)
  if (v = get)
    v.to_s(query ? query.timeFormat : '%Y-%m-%d')
  else
    'Error'
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.