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