mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
follow up the previous commit.
* lib/rss/parser.rb: merge documents from ruby_1_8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ee383397d
commit
39a241cec6
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ module RSS
|
||||||
class NotValidXMLParser < Error
|
class NotValidXMLParser < Error
|
||||||
def initialize(parser)
|
def initialize(parser)
|
||||||
super("#{parser} is not an available XML parser. " <<
|
super("#{parser} is not an available XML parser. " <<
|
||||||
"Available XML parser is " <<
|
"Available XML parser" <<
|
||||||
|
(AVAILABLE_PARSERS.size > 1 ? "s are " : " is ") <<
|
||||||
"#{AVAILABLE_PARSERS.inspect}.")
|
"#{AVAILABLE_PARSERS.inspect}.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue