Module: AnyCache::Drivers::ActiveSupportRedisCacheStore Private
- Defined in:
- lib/any_cache/drivers/active_support_redis_cache_store.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .build(settings) ⇒ ::ActiveSupport::Cache::RedisCacheStore private
- .supported_source?(driver) ⇒ Boolean private
Class Method Details
.build(settings) ⇒ ::ActiveSupport::Cache::RedisCacheStore
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.
23 24 25 |
# File 'lib/any_cache/drivers/active_support_redis_cache_store.rb', line 23 def build(settings) ::ActiveSupport::Cache::RedisCacheStore.new(settings.) end |
.supported_source?(driver) ⇒ 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.
12 13 14 15 16 |
# File 'lib/any_cache/drivers/active_support_redis_cache_store.rb', line 12 def supported_source?(driver) defined?(::Redis) && defined?(::ActiveSupport::Cache::RedisCacheStore) && driver.is_a?(::ActiveSupport::Cache::RedisCacheStore) end |