method
get_listeners
ruby latest stable - Class:
REXML::Parsers::SAX2Parser
get_listeners( symbol, name )private
No documentation available.
# File lib/rexml/parsers/sax2parser.rb, line 243
def get_listeners( symbol, name )
return nil if @listeners.size == 0
@listeners.find_all do |sym, match, block|
(
(sym.nil? or symbol == sym) and
((name.nil? and match.nil?) or match.nil? or (
(name == match) or
(match.kind_of? Regexp and name =~ match)
)
)
)
end.collect{|x| x[-1]}
end