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 | b9625fdddf2801a9e10905e3f15b4dad80b4d1c6 (patch) | |
| tree | 9a8daae72e706059929be480fc9236c08f9a10f4 /lib | |
| parent | 235d1e90812157a17b3d8a9a5712f57d87b8d69e (diff) | |
| download | ruby-b9625fdddf2801a9e10905e3f15b4dad80b4d1c6.tar.gz ruby-b9625fdddf2801a9e10905e3f15b4dad80b4d1c6.tar.xz ruby-b9625fdddf2801a9e10905e3f15b4dad80b4d1c6.zip | |
follow up the previous commit.
* lib/rss/parser.rb: merge documents from ruby_1_8.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 8e91fb6ef..9b28f0fa8 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 |
