Parent

Methods

Class Index [+]

Quicksearch

Rack::Config

Rack::Config modifies the environment using the block given during initialization.

Public Class Methods

new(app, &block) click to toggle source
   # File lib/rack/config.rb, line 5
5:     def initialize(app, &block)
6:       @app = app
7:       @block = block
8:     end

Public Instance Methods

call(env) click to toggle source
    # File lib/rack/config.rb, line 10
10:     def call(env)
11:       @block.call(env)
12:       @app.call(env)
13:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.