Method: Rack::ETag#initialize
- Defined in:
- lib/rack/etag.rb
#initialize(app, no_cache_control = nil, cache_control = DEFAULT_CACHE_CONTROL) ⇒ ETag
Returns a new instance of ETag.
16 17 18 19 20 |
# File 'lib/rack/etag.rb', line 16 def initialize(app, no_cache_control = nil, cache_control = DEFAULT_CACHE_CONTROL) @app = app @cache_control = cache_control @no_cache_control = no_cache_control end |