module Rack - rack-1.6.2 Documentation

# module Rack

The Rack main module, serving as a namespace for all core Rack modules and classes.

All modules meant for use in your application are `autoload`ed here, so it should be enough just to `require rack.rb` in your code.

### Constants

CACHE_CONTROL
CONTENT_LENGTH
CONTENT_TYPE
GET
HEAD
PATH_INFO
QUERY_STRING
REQUEST_METHOD
SCRIPT_NAME
VERSION

  The Rack protocol version number implemented.

### Public Class Methods

release() click to toggle source

Return the Rack release as a dotted string.

    # File lib/rack.rb, line 22
    def self.release
      "1.6.2"
    end

version() click to toggle source

Return the Rack protocol version as a dotted string.

    # File lib/rack.rb, line 17
    def self.version
      VERSION.join(".")
    end