method
load
v8.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore::DupCoder
load(entry)public
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 45
def load(entry)
if !entry.compressed? && entry.value.is_a?(String)
Cache::Entry.new(load_value(entry.value), expires_at: entry.expires_at, version: entry.version)
else
entry
end
end