method
read
rails latest stable - Class:
ActiveSupport::Cache::CompressedMemCacheStore
read(name, options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/compressed_mem_cache_store.rb, line 4
def read(name, options = nil)
if value = super(name, (options || {}).merge(:raw => true))
if raw?(options)
value
else
Marshal.load(ActiveSupport::Gzip.decompress(value))
end
end
end