Module: Rack

Defined in:
lib/mack/testing/helpers.rb,
lib/gems/rack-0.9.1/lib/rack.rb,
lib/gems/rack-0.9.1/lib/rack/file.rb,
lib/gems/rack-0.9.1/lib/rack/head.rb,
lib/gems/rack-0.9.1/lib/rack/lint.rb,
lib/gems/rack-0.9.1/lib/rack/mime.rb,
lib/gems/rack-0.9.1/lib/rack/mock.rb,
lib/gems/rack-0.9.1/lib/rack/utils.rb,
lib/gems/rack-0.9.1/lib/rack/static.rb,
lib/gems/rack-0.9.1/lib/rack/urlmap.rb,
lib/gems/rack-0.9.1/lib/rack/builder.rb,
lib/gems/rack-0.9.1/lib/rack/cascade.rb,
lib/gems/rack-0.9.1/lib/rack/handler.rb,
lib/gems/rack-0.9.1/lib/rack/lobster.rb,
lib/gems/rack-0.9.1/lib/rack/request.rb,
lib/gems/rack-0.9.1/lib/rack/deflater.rb,
lib/gems/rack-0.9.1/lib/rack/reloader.rb,
lib/gems/rack-0.9.1/lib/rack/response.rb,
lib/gems/rack-0.9.1/lib/rack/directory.rb,
lib/gems/rack-0.9.1/lib/rack/recursive.rb,
lib/gems/rack-0.9.1/lib/rack/auth/basic.rb,
lib/gems/rack-0.9.1/lib/rack/showstatus.rb,
lib/gems/rack-0.9.1/lib/rack/auth/openid.rb,
lib/gems/rack-0.9.1/lib/rack/handler/cgi.rb,
lib/gems/rack-0.9.1/lib/rack/commonlogger.rb,
lib/gems/rack-0.9.1/lib/rack/handler/lsws.rb,
lib/gems/rack-0.9.1/lib/rack/handler/scgi.rb,
lib/gems/rack-0.9.1/lib/rack/handler/thin.rb,
lib/gems/rack-0.9.1/lib/rack/session/pool.rb,
lib/gems/rack-0.9.1/lib/rack/conditionalget.rb,
lib/gems/rack-0.9.1/lib/rack/content_length.rb,
lib/gems/rack-0.9.1/lib/rack/methodoverride.rb,
lib/gems/rack-0.9.1/lib/rack/session/cookie.rb,
lib/gems/rack-0.9.1/lib/rack/showexceptions.rb,
lib/gems/rack-0.9.1/lib/rack/adapter/camping.rb,
lib/gems/rack-0.9.1/lib/rack/auth/digest/md5.rb,
lib/gems/rack-0.9.1/lib/rack/handler/fastcgi.rb,
lib/gems/rack-0.9.1/lib/rack/handler/mongrel.rb,
lib/gems/rack-0.9.1/lib/rack/handler/webrick.rb,
lib/gems/rack-0.9.1/lib/rack/session/memcache.rb,
lib/gems/rack-0.9.1/lib/rack/auth/digest/nonce.rb,
lib/gems/rack-0.9.1/lib/rack/auth/digest/params.rb,
lib/gems/rack-0.9.1/lib/rack/auth/digest/request.rb,
lib/gems/rack-0.9.1/lib/rack/session/abstract/id.rb,
lib/gems/rack-0.9.1/lib/rack/auth/abstract/handler.rb,
lib/gems/rack-0.9.1/lib/rack/auth/abstract/request.rb,
lib/gems/rack-0.9.1/lib/rack/handler/evented_mongrel.rb,
lib/gems/rack-0.9.1/lib/rack/handler/swiftiplied_mongrel.rb

Overview

require ‘cgi’

Defined Under Namespace

Modules: Adapter, Auth, Handler, Mime, Session, Utils Classes: Builder, Cascade, CommonLogger, ConditionalGet, ContentLength, Deflater, Directory, File, ForwardRequest, Head, Lint, Lobster, MethodOverride, 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

.releaseObject

Return the Rack release as a dotted string.



25
26
27
# File 'lib/gems/rack-0.9.1/lib/rack.rb', line 25

def self.release
  "0.9"
end

.versionObject

Return the Rack protocol version as a dotted string.



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

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