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
878 879 880 |
# File 'lib/active_support/cache.rb', line 878 def dump(entry) Marshal.dump(entry) end |
#dump_compressed(entry, threshold) ⇒ Object
882 883 884 |
# File 'lib/active_support/cache.rb', line 882 def dump_compressed(entry, threshold) Marshal.dump(entry.compressed(threshold)) end |