Class: ActiveSupport::Cache::CompressedMemCacheStore
- Defined in:
- lib/active_support/cache/compressed_mem_cache_store.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ CompressedMemCacheStore
constructor
A new instance of CompressedMemCacheStore.
Constructor Details
#initialize(*args) ⇒ CompressedMemCacheStore
Returns a new instance of CompressedMemCacheStore.
4 5 6 7 8 9 10 |
# File 'lib/active_support/cache/compressed_mem_cache_store.rb', line 4 def initialize(*args) ActiveSupport::Deprecation.warn('ActiveSupport::Cache::CompressedMemCacheStore has been deprecated in favor of ActiveSupport::Cache::MemCacheStore(:compress => true).', caller) addresses = args.dup = addresses. args = addresses + [.merge(:compress => true)] super(*args) end |