instance method write_entry

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v6.1.7.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10

Signature

write_entry(key, entry, options)

No documentation comment.

Parameters

key req
entry req
options req
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 143
          def write_entry(key, entry, options)
            if options[:unless_exist]
              local_cache.delete_entry(key, options) if local_cache
            else
              local_cache.write_entry(key, entry, options) if local_cache
            end

            super
          end

Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 143 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Strategy::LocalCache

Type at least 2 characters to search.

↑↓ navigate · open · esc close