Exception: RSS::NotValidXMLParser
- Defined in:
- lib/rss/parser.rb
Instance Method Summary collapse
-
#initialize(parser) ⇒ NotValidXMLParser
constructor
A new instance of NotValidXMLParser.
Constructor Details
#initialize(parser) ⇒ NotValidXMLParser
Returns a new instance of NotValidXMLParser.
36 37 38 39 40 41 |
# 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 |