class TaskJuggler::AccountAttribute

Public Class Methods

new(property, type, container) click to toggle source
Calls superclass method TaskJuggler::AttributeBase.new
# File lib/taskjuggler/Attributes.rb, line 25
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 29
def AccountAttribute::tjpId
  'account'
end

Public Instance Methods

to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 33
def to_s(query = nil)
  (v = get) ? v.id : ''
end
to_tjp() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 37
def to_tjp
  (v = get)? v.id : ''
end