Sha256: 3f64be8ced6aade723170c15b6d767f04860ec86874d54a981781892ff574048
Contents?: true
Size: 326 Bytes
Versions: 21
Compression:
Stored size: 326 Bytes
Contents
module Kernel # Pretty prints an exception/error object # usefull for helpfull debug messages # # Input: # The Exception/StandardError object # # Output: # the pretty printed string def pp_exception(ex) return %{#{ex.message}\n #{ex.backtrace.join("\n ")}\n LOGGED FROM: #{caller[0]}} end end
Version data entries
21 entries across 21 versions & 1 rubygems