Class: Rack::App::Middlewares::Hooks::After
- Inherits:
-
Base
- Object
- Base
- Rack::App::Middlewares::Hooks::After
- Defined in:
- lib/rack/app/middlewares/hooks/after.rb
Instance Method Summary collapse
Instance Method Details
#call(env) ⇒ Object
2 3 4 5 6 |
# File 'lib/rack/app/middlewares/hooks/after.rb', line 2 def call(env) response = @app.call(env) return execute_hook(env) || response end |