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
Instance Method Details
#dump(entry) ⇒ Object
870 871 872 |
# File 'lib/active_support/cache.rb', line 870 def dump(entry) Marshal.dump(entry) end |
#dump_compressed(entry, threshold) ⇒ Object
874 875 876 |
# File 'lib/active_support/cache.rb', line 874 def dump_compressed(entry, threshold) Marshal.dump(entry.compressed(threshold)) end |