method

clean_backtrace

rails latest stable - Class: Exception

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

clean_backtrace()
public

No documentation available.

# File activesupport/lib/active_support/core_ext/exception.rb, line 19
  def clean_backtrace
    backtrace.collect do |line|
      Pathname.clean_within(TraceSubstitutions.inject(line) do |result, (regexp, sub)|
        result.gsub regexp, sub
      end)
    end
  end