class method
self.new
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.1.12Available in: v3.0.20 v3.1.12
Signature
self.new(*args)
No documentation comment.
Parameters
-
argsrest
Source
# File activesupport/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
options = addresses.extract_options!
args = addresses + [options.merge(:compress => true)]
super(*args)
end
Defined in activesupport/lib/active_support/cache/compressed_mem_cache_store.rb line 4
· View on GitHub
· Improve this page
· Find usages on GitHub