| Module | CoreEx::Exception |
| In: |
lib/core_ex/exception.rb
|
FIXME: write a ruby_pp which print exception backtrace exactly as ruby does
by cuting long and repetitive backtrace.
# File lib/core_ex/exception.rb, line 13 def long_pp str = short_pp + "\n" backtrace[1..-1].each { |x| str += " from #{x}\n" } if backtrace str.chomp! str end