class RSS::NotValidXMLParser

Public Class Methods

new(parser) click to toggle source
Calls superclass method Exception::new
# 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