summaryrefslogtreecommitdiff
path: root/lib/rss/xmlparser.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-19 17:02:40 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-19 17:02:40 +0000
commit22f812007a3e6b7185fc1716c1086f082796fea2 (patch)
tree4afd7359eb38b86eb9f21dac16ef69004cecc099 /lib/rss/xmlparser.rb
parent77ca81e465d809c9c7427c53b09c8951c508ad3d (diff)
* lib/rss/xmlparser.rb: [DOC] Hide legacy constant from rdoc
Patch by Steve Klabnik [ruby-core:56708] [Bug #8799] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/xmlparser.rb')
-rw-r--r--lib/rss/xmlparser.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb
index aa902be396..6af157a2f2 100644
--- a/lib/rss/xmlparser.rb
+++ b/lib/rss/xmlparser.rb
@@ -20,7 +20,8 @@ end
module XML
class Parser
unless defined?(Error)
- Error = ::XMLParserError
+ # This erorr is legacy, so we just set it to the new one
+ Error = ::XMLParserError # :nodoc:
end
end
end