public Method

Exception.clean_backtrace

There's no documentation for this item.

Source Code

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

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.