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 205
205:     def initialize src
206:       super()
207:       @string = src
208:     end

Public Instance methods

[Source]

     # File lib/rexml/doctype.rb, line 210
210:     def to_s
211:       @string+'>'
212:     end

DEPRECATED

See REXML::Formatters

[Source]

     # File lib/rexml/doctype.rb, line 217
217:     def write( output, indent )
218:       output << to_s
219:     end

[Validate]