Method: AnyCache::Adapters::Redis#exist?

Defined in:
lib/any_cache/adapters/redis.rb

#exist?(key, **options) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • key (String)
  • options (Hash)

Returns:

  • (Boolean)

Since:

  • 0.2.0



268
269
270
# File 'lib/any_cache/adapters/redis.rb', line 268

def exist?(key, **options)
  exists(key)
end