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.7.5 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.7.4 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.7.3 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb
rack-1.4.7 lib/rack/config.rb
rack-1.4.6 lib/rack/config.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/config.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/config.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/rack-1.3.5/lib/rack/config.rb
candlepin-api-0.4.0 bundle/ruby/gems/rack-1.3.5/lib/rack/config.rb
classiccms-0.7.2 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
classiccms-0.7.1 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
swipe-rails-0.0.5 vendor/bundle/gems/rack-1.4.5/lib/rack/config.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb
classiccms-0.7.0 vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/rack-1.4.5/lib/rack/config.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/config.rb