Class: Puma::Configuration::ConfigMiddleware
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/puma/configuration.rb |
Overview
Injects the Configuration
object into the env
Class Method Summary
- .new(config, app) ⇒ ConfigMiddleware constructor
Instance Method Summary
Constructor Details
.new(config, app) ⇒ ConfigMiddleware
Instance Method Details
#call(env)
[ GitHub ]# File 'lib/puma/configuration.rb', line 277
def call(env) env[Const::PUMA_CONFIG] = @config @app.call(env) end