Sha256: 69900eefa3de79a015978b0f899c3a0caefd4de12ea6f90788ee93b1bdac816b
Contents?: true
Size: 286 Bytes
Versions: 8
Compression:
Stored size: 286 Bytes
Contents
class Rack::App::Middlewares::Hooks::After def initialize(app, hook_block) @app = app @hook_block = hook_block end def call(env) response = @app.call(env) env[Rack::App::Constants::ENV::REQUEST_HANDLER].instance_exec(&@hook_block) return response end end
Version data entries
8 entries across 8 versions & 1 rubygems