Class REXML::Declaration
In:
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]

161:                 def initialize src
162:                         super()
163:                         @string = src
164:                 end

Public Instance methods

[Source]

166:                 def to_s
167:                         @string+'>'
168:                 end

[Source]

170:                 def write( output, indent )
171:                         output << ('   '*indent) if indent > 0
172:                         output << to_s
173:                 end

Search

Google

Ruby API Docs

Links