class TaskJuggler::RichTextAttribute

Public Class Methods

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

Public Instance Methods

inputText() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 532
def inputText
  (v = get) ? v.richText.inputText : ''
end
to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 540
def to_s(query = nil)
  (v = get) ? v.to_s : ''
end
to_tjp() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 544
def to_tjp
  "#{@type.id} #{quotedString(get.richText.inputText)}"
end