Flowdock
method

clean_backtrace

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: Exception
clean_backtrace() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/exception.rb, line 17
  def clean_backtrace
    backtrace.collect do |line|
      Pathname.clean_within(TraceSubstitutions.inject(line) do |result, (regexp, sub)|
        result.gsub regexp, sub
      end)
    end
  end
Register or log in to add new notes.