This is a specialized XMLElement to represent XML blobs. The content is not interpreted and must be valid XML in the content it is added.
# File lib/taskjuggler/XMLElement.rb, line 214 def initialize(blob = '') super(nil, {}) @blob = blob end
# File lib/taskjuggler/XMLElement.rb, line 219 def to_s(indent) out = '' @blob.each_utf8_char do |c| out += (c == "\n" ? "\n" + ' ' * indent : c) end out end