method
handle
v1_9_3_392 -
Show latest stable
- Class:
REXML::Parsers::SAX2Parser
handle( symbol, *arguments )private
No documentation available.
# File lib/rexml/parsers/sax2parser.rb, line 190
def handle( symbol, *arguments )
tag = @tag_stack[-1]
procs = get_procs( symbol, tag )
listeners = get_listeners( symbol, tag )
# notify observers
procs.each { |ob| ob.call( *arguments ) } if procs
listeners.each { |l|
l.send( symbol.to_s, *arguments )
} if listeners
end