method
delete_entry
v4.2.9 -
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 162
def delete_entry(key, options) # :nodoc:
synchronize do
@key_access.delete(key)
entry = @data.delete(key)
@cache_size -= cached_size(key, entry) if entry
!!entry
end
end