instance method write

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

write(key, value, options = nil)

No documentation comment.

Parameters

key req
value req
options opt = nil
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 48
        def write(key, value, options = nil)
          value = value.to_s if respond_to?(:raw?) && raw?(options)
          local_cache.mute { local_cache.write(key, value || NULL) } if local_cache
          super
        end

Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 48 · 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