summaryrefslogtreecommitdiff
path: root/lib/rexml/parsers/ultralightparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/parsers/ultralightparser.rb')
-rw-r--r--lib/rexml/parsers/ultralightparser.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rexml/parsers/ultralightparser.rb b/lib/rexml/parsers/ultralightparser.rb
index f3b208bf0f..adc4af18e2 100644
--- a/lib/rexml/parsers/ultralightparser.rb
+++ b/lib/rexml/parsers/ultralightparser.rb
@@ -9,6 +9,10 @@ module REXML
@parser = REXML::Parsers::BaseParser.new( stream )
end
+ def add_listener( listener )
+ @parser.add_listener( listener )
+ end
+
def rewind
@stream.rewind
@parser.stream = @stream