Class: Rack::Cache::MetaStore::RedisBase

Inherits:
Rack::Cache::MetaStore show all
Extended by:
Utils
Defined in:
lib/rack/cache/redis_metastore.rb

Direct Known Subclasses

Redis

Constant Summary

Constants inherited from Rack::Cache::MetaStore

REDIS

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cacheObject (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