class WriteOptions
Ruby on Rails 7.1.6
Since v7.1.6Enables the dynamic configuration of Cache entry options while ensuring that conflicting options are not both set. When a block is given to ActiveSupport::Cache::Store#fetch, the second argument will be an instance of WriteOptions.
Inherits from
Methods (defined here)
- # expires_at
- # expires_at=
- # expires_in
- # expires_in=
- # version
- # version=
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options