diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-29 09:05:21 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-29 09:05:21 +0000 |
commit | 39a241cec6a1761c7d4dccc5c155a2a83f7b6143 (patch) | |
tree | 9a8daae72e706059929be480fc9236c08f9a10f4 /lib/rss | |
parent | 8ee383397d39cecc3cdf4dc30526907a208c46ce (diff) | |
download | ruby-39a241cec6a1761c7d4dccc5c155a2a83f7b6143.tar.gz |
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
Diffstat (limited to 'lib/rss')
-rw-r--r-- | lib/rss/parser.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb index 8e91fb6ef6..9b28f0fa8a 100644 --- a/lib/rss/parser.rb +++ b/lib/rss/parser.rb @@ -34,7 +34,8 @@ module RSS class NotValidXMLParser < Error def initialize(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}.") end end |