Methods

Class/Module Index [+]

Quicksearch

TaskJuggler::XMLComment

This is a specialized XMLElement to represent a comment.

Public Class Methods

new(text = '') click to toggle source
# File lib/taskjuggler/XMLElement.rb, line 199
def initialize(text = '')
  super(nil, {})
  @text = text
end

Public Instance Methods

to_s(indent) click to toggle source
# File lib/taskjuggler/XMLElement.rb, line 204
def to_s(indent)
  '<!-- ' + @text + " -->\n#{' ' * indent}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.