method
exist
rails latest stable - Class:
ActiveSupport::Cache::Strategy::LocalCache
exist(key, options = nil)public
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 60
def exist(key, options = nil)
value = local_cache.read(key) if local_cache
if value == NULL
false
elsif value
true
else
super
end
end