Method: ActiveSupport::Cache::Strategy::LocalCache::Middleware#initialize

Defined in:
lib/active_support/cache/strategy/local_cache_middleware.rb

#initialize(name, local_cache_key) ⇒ Middleware

Returns a new instance of Middleware.



16
17
18
19
20
# File 'lib/active_support/cache/strategy/local_cache_middleware.rb', line 16

def initialize(name, local_cache_key)
  @name = name
  @local_cache_key = local_cache_key
  @app = nil
end