Methods
Public Instance methods
[ show source ]
# File lib/active_support/cache/compressed_mem_cache_store.rb, line 4 4: def read(name, options = {}) 5: if value = super(name, options.merge(:raw => true)) 6: Marshal.load(ActiveSupport::Gzip.decompress(value)) 7: end 8: end
[ show source ]
# File lib/active_support/cache/compressed_mem_cache_store.rb, line 10
10: def write(name, value, options = {})
11: super(name, ActiveSupport::Gzip.compress(Marshal.dump(value)), options.merge(:raw => true))
12: end