add_silencer(&block)
Instance Public methods
Adds a silencer from the block provided. If the silencer returns
true for a given line, it will be excluded from the clean
backtrace.
# Will reject all lines that include the word "mongrel", like "/gems/mongrel/server.rb" or "/app/my_mongrel_server/rb"
backtrace_cleaner.add_silencer { |line| line =~ /mongrel/ }