Method: ActionDispatch::DebugExceptions#initialize
- Defined in:
- actionpack/lib/action_dispatch/middleware/debug_exceptions.rb
#initialize(app, routes_app = nil, response_format = :default, interceptors = self.class.interceptors) ⇒ DebugExceptions
Returns a new instance of DebugExceptions.
23 24 25 26 27 28 |
# File 'actionpack/lib/action_dispatch/middleware/debug_exceptions.rb', line 23 def initialize(app, routes_app = nil, response_format = :default, interceptors = self.class.interceptors) @app = app @routes_app = routes_app @response_format = response_format @interceptors = interceptors end |