puts "Backtrace:\n\t#{e.backtrace.join("\n\t")}" → "Thank you for the pretty-print!"

kiyo_hikokiyo_hiko のブックマーク 2016/01/12 13:58

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

How do I get ruby to print a full backtrace instead of a truncated one?

    When I get exceptions, it is often from deep within the call stack. When this happens, more often than not, the actual offending line of code is hidden from me: tmp.rb:7:in `t': undefined method `b...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう