method
add
add( pair )
private
Hide source
# File lib/rexml/parsers/sax2parser.rb, line 257 def add( pair ) if pair[-1].respond_to? :call @procs << pair unless @procs.include? pair else @listeners << pair unless @listeners.include? pair @has_listeners = true end end