Sha256: 4bd3bb789dc4d675235a35833c09a647a40b57bc7a707c5111720796bad4e387

Contents?: true

Size: 277 Bytes

Versions: 204

Compression:

Stored size: 277 Bytes

Contents

module Rack
  # Rack::Config modifies the environment using the block given during
  # initialization.
  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

204 entries across 177 versions & 32 rubygems

Version Path
classiccms-0.6.9 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
jquery_regex-0.0.1 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
challah-rolls-0.2.0 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
challah-0.8.3 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.6.8 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.6.7 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.6.6 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.6.5 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.6.4 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb