Class RSS::XMLParserListener
In: rss/xmlparser.rb
Parent: BaseListener

Methods

xmldecl  

Included Modules

ListenerMixin

Public Instance methods

[Source]

# File rss/xmlparser.rb, line 85
    def xmldecl(version, encoding, standalone)
      super
      # Encoding is converted to UTF-8 when XMLParser parses XML.
      @encoding = 'UTF-8'
    end

[Validate]

ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

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.