method
write_entry
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
write_entry(key, entry, options)protected
No documentation available.
# File activesupport/lib/active_support/cache/file_store.rb, line 88
def write_entry(key, entry, options)
file_name = key_file_path(key)
ensure_cache_path(File.dirname(file_name))
File.atomic_write(file_name, cache_path) {|f| Marshal.dump(entry, f)}
true
end