method
clean_backtrace
v2.3.8 -
Show latest stable
- Class:
Exception
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