Class: Rack::Cache::MetaStore::RedisBase
- Inherits:
-
Rack::Cache::MetaStore
- Object
- Rack::Cache::MetaStore
- Rack::Cache::MetaStore::RedisBase
- Extended by:
- Utils
- Defined in:
- lib/rack/cache/redis_metastore.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Rack::Cache::MetaStore
Instance Attribute Summary collapse
-
#cache ⇒ Object
readonly
The Redis::Store object used to communicate with the Redis daemon.
Class Method Summary collapse
Instance Attribute Details
#cache ⇒ Object (readonly)
The Redis::Store object used to communicate with the Redis daemon.
14 15 16 |
# File 'lib/rack/cache/redis_metastore.rb', line 14 def cache @cache end |
Class Method Details
.resolve(uri) ⇒ Object
16 17 18 |
# File 'lib/rack/cache/redis_metastore.rb', line 16 def self.resolve(uri) new ::Redis::Store::Factory.resolve(uri.to_s) end |