instance method
write_entry
Ruby on Rails 6.1.7.10
Since v3.0.20Signature
write_entry(key, entry, **options)
No documentation comment.
Parameters
-
keyreq -
entryreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 67
def write_entry(key, entry, **options)
entry.dup_value!
@data[key] = entry
true
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache::LocalStore