method
new
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::Cache::Entry
new(value, compressed: false, version: nil, expires_in: nil, expires_at: nil, **)public
Creates a new cache entry for the specified value. Options supported are :compressed, :version, :expires_at and :expires_in.