summaryrefslogtreecommitdiff
path: root/lib/rss/xmlparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/xmlparser.rb')
-rw-r--r--lib/rss/xmlparser.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb
index 64737b821b..3dfe7d461a 100644
--- a/lib/rss/xmlparser.rb
+++ b/lib/rss/xmlparser.rb
@@ -59,11 +59,13 @@ module RSS
class XMLParserParser < BaseParser
- private
- def listener
- XMLParserListener
+ class << self
+ def listener
+ XMLParserListener
+ end
end
-
+
+ private
def _parse
begin
parser = REXMLLikeXMLParser.new