method

read

rails latest stable - Class: ActiveSupport::Cache::CompressedMemCacheStore

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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