method
read_entry
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
read_entry(key, options)protected
No documentation available.
# File activesupport/lib/active_support/cache/memory_store.rb, line 125
def read_entry(key, options) # :nodoc:
entry = @data[key]
synchronize do
if entry
@key_access[key] = Time.now.to_f
else
@key_access.delete(key)
end
end
entry
end