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 529
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 537
def RichTextAttribute::tjpId
  'richtext'
end

Public Instance Methods

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