In Files

Parent

Methods

EimXML::Comment

Public Class Methods

new(text) click to toggle source
    # File lib/eim_xml.rb, line 50
50:                 def initialize(text)
51:                         raise ArgumentError, "Can not include '--'" if text =~ /--/
52:                         @text = text
53:                 end

Public Instance Methods

write_to(out="") click to toggle source
    # File lib/eim_xml.rb, line 55
55:                 def write_to(out="")
56:                         out << "<!-- #{@text} -->"
57:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.