Class: Rack::ETag
Overview
Automatically sets the ETag header on all String bodies
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ ETag
constructor
A new instance of ETag.
Constructor Details
#initialize(app) ⇒ ETag
Returns a new instance of ETag.
6 7 8 |
# File 'lib/vendor/etag.rb', line 6 def initialize(app) @app = app end |