method
delete_entry
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
delete_entry(key, **options)private
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 226
def delete_entry(key, **options)
synchronize do
payload = @data.delete(key)
@cache_size -= cached_size(key, payload) if payload
!!payload
end
end