HTTP Accept* for Ruby/Rack.
Enables Rack::Accept to be used as a Rack middleware.
# File lib/rack/accept.rb, line 15 def self.new(app, &block) Context.new(app, &block) end
Returns the current version of Rack::Accept as a string.
# File lib/rack/accept.rb, line 10 def self.version VERSION.join('.') end