| VERSION | = | [0, 4, 3] |
Enables Rack::Accept to be used as a Rack middleware.
# File lib/rack/accept.rb, line 15
15: def self.new(app, &block)
16: Context.new(app, &block)
17: end
Returns the current version of Rack::Accept as a string.
# File lib/rack/accept.rb, line 10
10: def self.version
11: VERSION.join('.')
12: end