lib/backtrace_cleaner.rb
# Returns the backtrace after all filters and silencers have been run
# against it. Filters run first, then silencers.
Returns the backtrace after all filters and silencers have been run
against it. Filters run first, then silencers.
Returns the backtrace after all filters and silencers have been run against it . Filters run first then silencers .
def clean(backtrace, kind = :silent)
    filtered = filter_backtrace(backtrace)
    case kind
    when :silent
      silence(filtered)
    when :noise
      noise(filtered)
    else
      filtered
    end
  end
def clean ( backtrace , kind = :silent ) filtered = filter_backtrace ( backtrace ) case kind when :silent silence ( filtered ) when :noise noise ( filtered ) else filtered end end
Returns the backtrace after all filters and silencers have been run
against it.
Returns the backtrace after all filters and silencers have been run against it .
backtrace
kind