class

ActiveSupport::Cache::FileStore

Inherits ActiveSupport::Cache::Store < ActiveSupport::Cache::CacheStore < Reference < Object

Constants

TIME_FORMAT = Time::Format.new("%FT%T.%6N%:z")

Sub-second precision: expiry spans below 1s must survive the roundtrip (ISO_8601_DATE_TIME truncates to whole seconds).

Constructors

new(directory : String)
Source

Instance methods

clear
Source
directory
lookup(name : String) : Entry | Nil
Source
remove(name : String) : Nil
Source
store(name : String, entry : Entry) : Nil
Source