method
delete_entry
v5.1.7 -
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 146
def delete_entry(key, options)
synchronize do
@key_access.delete(key)
entry = @data.delete(key)
@cache_size -= cached_size(key, entry) if entry
!!entry
end
end