method
deafen
deafen( listener=nil, &blok )
public
Hide source
# File lib/rexml/parsers/sax2parser.rb, line 77 def deafen( listener=nil, &blok ) if listener @listeners.delete_if {|item| item[-1] == listener } @has_listeners = false if @listeners.size == 0 else @procs.delete_if {|item| item[-1] == blok } end end