Module: Rack
- Defined in:
- lib/rack.rb,
lib/rack/file.rb,
lib/rack/head.rb,
lib/rack/lint.rb,
lib/rack/lock.rb,
lib/rack/mime.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/chunked.rb,
lib/rack/handler.rb,
lib/rack/lobster.rb,
lib/rack/request.rb,
lib/rack/deflater.rb,
lib/rack/reloader.rb,
lib/rack/response.rb,
lib/rack/directory.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/content_type.rb,
lib/rack/handler/lsws.rb,
lib/rack/handler/scgi.rb,
lib/rack/handler/thin.rb,
lib/rack/session/pool.rb,
lib/rack/conditionalget.rb,
lib/rack/content_length.rb,
lib/rack/methodoverride.rb,
lib/rack/session/cookie.rb,
lib/rack/showexceptions.rb,
lib/rack/adapter/camping.rb,
lib/rack/auth/digest/md5.rb,
lib/rack/handler/mongrel.rb,
lib/rack/handler/webrick.rb,
lib/rack/rewindable_input.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/evented_mongrel.rb,
lib/rack/handler/swiftiplied_mongrel.rb,
lib/rack/handler/fastcgi.rb
Overview
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.
Defined Under Namespace
Modules: Adapter, Auth, Handler, Mime, Session, Utils Classes: Builder, Cascade, Chunked, CommonLogger, ConditionalGet, ContentLength, ContentType, Deflater, Directory, File, ForwardRequest, Head, Lint, Lobster, Lock, MethodOverride, MockRequest, MockResponse, Recursive, Reloader, Request, Response, RewindableInput, ShowExceptions, ShowStatus, Static, URLMap
Constant Summary collapse
- VERSION =
The Rack protocol version number implemented.
[1,0]
Class Method Summary collapse
-
.release ⇒ Object
Return the Rack release as a dotted string.
-
.version ⇒ Object
Return the Rack protocol version as a dotted string.
Class Method Details
.release ⇒ Object
Return the Rack release as a dotted string.
22 23 24 |
# File 'lib/rack.rb', line 22 def self.release "1.0" end |
.version ⇒ Object
Return the Rack protocol version as a dotted string.
17 18 19 |
# File 'lib/rack.rb', line 17 def self.version VERSION.join(".") end |