Flowdock
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 113
      def add_listener( listener )
        if !defined?(@listeners) or !@listeners
          @listeners = []
          instance_eval "alias :_old_pull :pull\ndef pull\nevent = _old_pull\n@listeners.each do |listener|\nlistener.receive event\nend\nevent\nend\n"
        end
        @listeners << listener
      end
Register or log in to add new notes.