add_listener( listener ) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/parsers/baseparser.rb, line 119
      def add_listener( listener )
        if !defined?(@listeners) or !@listeners
          @listeners = []
          instance_eval             alias :_old_pull :pull            def pull              event = _old_pull              @listeners.each do |listener|                listener.receive event              end              event            end
        end
        @listeners << listener
      end
Register or log in to add new notes.