class

ActiveSupport::Cache::WriteOptions

rails latest stable - Superclass: Object

Class not available on this version

This class is only available on newer versions. The first available version (v7.2.3) is shown here.

Enables 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.

Files

  • activesupport/lib/active_support/cache.rb