Sha256: b221a5eaabad38109402cda4d61d62fef1593c12c9f2009dde76711486057506
Contents?: true
Size: 379 Bytes
Versions: 196
Compression:
Stored size: 379 Bytes
Contents
module Rack # Rack::Config modifies the environment using the block given during # initialization. # # Example: # use Rack::Config do |env| # env['my-key'] = 'some-value' # end class Config def initialize(app, &block) @app = app @block = block end def call(env) @block.call(env) @app.call(env) end end end
Version data entries
196 entries across 176 versions & 43 rubygems