class REXML::ExternalEntity - rexml: Ruby Standard Library Documentation

# class REXML::ExternalEntity

### Public Class Methods

new( src ) click to toggle source
Calls superclass method `REXML::Child::new`

    # File rexml-3.4.0/lib/rexml/doctype.rb, line 268
    def initialize( src )
      super()
      @entity = src
    end

### Public Instance Methods

to_s() click to toggle source

    # File rexml-3.4.0/lib/rexml/doctype.rb, line 272
    def to_s
      @entity
    end

write( output, indent ) click to toggle source

    # File rexml-3.4.0/lib/rexml/doctype.rb, line 275
    def write( output, indent )
      output << @entity
    end