Class REXML::Declaration
In: lib/rexml/doctype.rb
Parent: Child

This is an abstract class. You never use this directly; it serves as a parent class for the specific declarations.

Methods

new   to_s   write  

Public Class methods

[Source]

     # File lib/rexml/doctype.rb, line 213
213:     def initialize src
214:       super()
215:       @string = src
216:     end

Public Instance methods

[Source]

     # File lib/rexml/doctype.rb, line 218
218:     def to_s
219:       @string+'>'
220:     end

[Source]

     # File lib/rexml/doctype.rb, line 222
222:     def write( output, indent )
223:       output << ('   '*indent) if indent > 0
224:       output << to_s
225:     end

[Validate]