Class TaskJuggler::XMLNamedText
In: lib/taskjuggler/XMLElement.rb
Parent: XMLElement

This is a convenience class that allows the creation of an XMLText nested into an XMLElement. The name and attributes belong to the XMLElement, the text to the XMLText.

Methods

new  

Public Class methods

[Source]

# File lib/taskjuggler/XMLElement.rb, line 191
    def initialize(text, name, attributes = {})
      super(name, attributes)
      self << XMLText.new(text)
    end

[Validate]