method
cached_size
v5.2.3 -
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 115
def cached_size(key, entry)
key.to_s.bytesize + entry.size + PER_ENTRY_OVERHEAD
end