class Skyline::ExceptionHandler
Attributes
env[R]
exception[R]
Public Class Methods
new(env, exception)
click to toggle source
# File lib/skyline/exception_handler.rb, line 6 def initialize(env, exception) @env = env @exception = exception end
Public Instance Methods
dump_exception()
click to toggle source
# File lib/skyline/exception_handler.rb, line 11 def dump_exception string = "#{exception.class}: #{exception.message}\n" string << exception.backtrace.map { |l| "\t#{l}" }.join("\n") string end
h()
click to toggle source
# File lib/skyline/exception_handler.rb, line 21 def h dump_exception end
pretty()
click to toggle source
# File lib/skyline/exception_handler.rb, line 17 def pretty dump_exception end