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