method
delete_entry
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
delete_entry(key, options)protected
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 149
def delete_entry(key, options) # :nodoc:
synchronize do
@key_access.delete(key)
entry = @data.delete(key)
@cache_size -= entry.size if entry
!!entry
end
end