method
cached_size
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
cached_size(key, entry)private
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 120
def cached_size(key, entry)
key.to_s.bytesize + entry.size + PER_ENTRY_OVERHEAD
end