class ActiveSupport::Cache::Store

def write(name, value, options = nil)

Options are passed to the underlying cache implementation.

Writes the value to the cache, with the key.
def write(name, value, options = nil)
  options = merged_options(options)
  instrument(:write, name, options) do
    entry = Entry.new(value, options.merge(version: normalize_version(name, options)))
    write_entry(normalize_key(name, options), entry, options)
  end
end