Class REXML::Declaration
In: 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 rexml/doctype.rb, line 205
    def initialize src
      super()
      @string = src
    end

Public Instance methods

[Source]

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

DEPRECATED

See REXML::Formatters

[Source]

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

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.