Google

def start_document @procs.each { |sym,match,block| block.call if sym == start_document:start_document } @listeners.each { |sym,match,block| block.start_document if sym == start_document:start_document or sym.nil? } end