Methods

Class/Module Index [+]

Quicksearch

TaskJuggler::XMLNamedText

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.

Public Class Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.