Method: ActiveSupport::Cache::MemoryStore::DupCoder#dump
- Defined in:
- activesupport/lib/active_support/cache/memory_store.rb
#dump(entry) ⇒ Object
32 33 34 35 36 37 38 |
# File 'activesupport/lib/active_support/cache/memory_store.rb', line 32 def dump(entry) if entry.value && entry.value != true && !entry.value.is_a?(Numeric) Cache::Entry.new(dump_value(entry.value), expires_at: entry.expires_at, version: entry.version) else entry end end |