method
write
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
write(key, value, options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 49
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