Method: ActionDispatch::ShowExceptions#initialize

Defined in:
actionpack/lib/action_dispatch/middleware/show_exceptions.rb

#initialize(app, exceptions_app) ⇒ ShowExceptions

Returns a new instance of ShowExceptions.



26
27
28
29
# File 'actionpack/lib/action_dispatch/middleware/show_exceptions.rb', line 26

def initialize(app, exceptions_app)
  @app = app
  @exceptions_app = exceptions_app
end