Class: TaskJuggler::AccountCreditListAttribute

Inherits:
ListAttributeBase show all
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

Methods inherited from ListAttributeBase

isList?, #isList?, #to_s

Methods inherited from AttributeBase

#get, #id, #inherit, isList?, #isList?, mode, #name, #nil?, #reset, #set, setMode, #to_num, #to_rti, #to_s, #to_sort, #to_tjp

Constructor Details

#initialize(property, type, container) ⇒ AccountCreditListAttribute

Returns a new instance of AccountCreditListAttribute.



45
46
47
48
49
# File 'lib/taskjuggler/Attributes.rb', line 45

def initialize(property, type, container)
  super

  set(Array.new)
end

Class Method Details

.tjpIdObject



51
52
53
# File 'lib/taskjuggler/Attributes.rb', line 51

def AccountCreditListAttribute::tjpId
  'credits'
end