Module: ActiveSupport::Cache::Coders::Rails61Coder

Extended by:
Rails61Coder
Includes:
Loader
Included in:
Rails61Coder
Defined in:
lib/active_support/cache.rb

Instance Method Summary collapse

Methods included from Loader

#load

Instance Method Details

#dump(entry) ⇒ Object


873
874
875
# File 'lib/active_support/cache.rb', line 873

def dump(entry)
  Marshal.dump(entry)
end

#dump_compressed(entry, threshold) ⇒ Object


877
878
879
# File 'lib/active_support/cache.rb', line 877

def dump_compressed(entry, threshold)
  Marshal.dump(entry.compressed(threshold))
end