class ShowExceptions
Public Class Methods
new(app)
click to toggle source
# File lib/show_exceptions.rb, line 4 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/show_exceptions.rb, line 8 def call(env) app.call(env) rescue Exception => e puts e end
Private Instance Methods
render_exception(e)
click to toggle source
# File lib/show_exceptions.rb, line 16 def render_exception(e) end