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.
# File lib/taskjuggler/XMLElement.rb, line 190 def initialize(text, name, attributes = {}) super(name, attributes) self << XMLText.new(text) end