Module: Rack

Defined in:
lib/rack.rb,
lib/rack/file.rb,
lib/rack/lint.rb,
lib/rack/mock.rb,
lib/rack/utils.rb,
lib/rack/static.rb,
lib/rack/urlmap.rb,
lib/rack/builder.rb,
lib/rack/cascade.rb,
lib/rack/lobster.rb,
lib/rack/request.rb,
lib/rack/reloader.rb,
lib/rack/response.rb,
lib/rack/recursive.rb,
lib/rack/auth/basic.rb,
lib/rack/showstatus.rb,
lib/rack/auth/openid.rb,
lib/rack/handler/cgi.rb,
lib/rack/commonlogger.rb,
lib/rack/handler/lsws.rb,
lib/rack/handler/scgi.rb,
lib/rack/session/pool.rb,
lib/rack/session/cookie.rb,
lib/rack/showexceptions.rb,
lib/rack/adapter/camping.rb,
lib/rack/auth/digest/md5.rb,
lib/rack/handler/fastcgi.rb,
lib/rack/handler/webrick.rb,
lib/rack/session/memcache.rb,
lib/rack/auth/digest/nonce.rb,
lib/rack/auth/digest/params.rb,
lib/rack/auth/digest/request.rb,
lib/rack/session/abstract/id.rb,
lib/rack/auth/abstract/handler.rb,
lib/rack/auth/abstract/request.rb,
lib/rack/handler/mongrel.rb

Overview

require ‘cgi’

Defined Under Namespace

Modules: Adapter, Auth, Handler, Session, Utils Classes: Builder, Cascade, CommonLogger, File, ForwardRequest, Lint, Lobster, MockRequest, MockResponse, Recursive, Reloader, Request, Response, ShowExceptions, ShowStatus, Static, URLMap

Constant Summary collapse

VERSION =

The Rack protocol version number implemented.

[0,1]

Class Method Summary collapse

Class Method Details

.versionObject

Return the Rack protocol version as a dotted string.



20
21
22
# File 'lib/rack.rb', line 20

def self.version
  VERSION.join(".")
end