123456789_123456789_123456789_123456789_123456789_

Exception: RSS::NotValidXMLParser

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: RSS::Error
  • Object
Defined in: lib/rss/parser.rb

Class Method Summary

Constructor Details

.new(parser) ⇒ NotValidXMLParser

[ GitHub ]

  
# File 'lib/rss/parser.rb', line 36

def initialize(parser)
  super("#{parser} is not an available XML parser. " <<
        "Available XML parser" <<
        (AVAILABLE_PARSERS.size > 1 ? "s are " : " is ") <<
        "#{AVAILABLE_PARSERS.inspect}.")
end