class

ActiveSupport::Cache::Store::WriteOptions

rails latest stable - Superclass: Object

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