Sha256: 63ec349572a4c485dd60ec9db8457e43df51f33284eb61260cef60cb2aea9102
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
module Rack::Accept # The current version of rack-accept. VERSION = [0, 1] # Returns the current version of rack-accept as a string. def self.version VERSION.join('.') end # Enables Rack::Accept to be used as a Rack middleware. def self.new(app, &block) Context.new(app, &block) end autoload :Charset, 'rack/accept/charset' autoload :Context, 'rack/accept/context' autoload :Encoding, 'rack/accept/encoding' autoload :Header, 'rack/accept/header' autoload :Language, 'rack/accept/language' autoload :MediaType, 'rack/accept/media_type' autoload :Request, 'rack/accept/request' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-accept-0.1 | lib/rack/accept.rb |