Class: FreshRedis
- Inherits:
-
Object
- Object
- FreshRedis
- Defined in:
- lib/fresh_redis.rb,
lib/fresh_redis/key.rb,
lib/fresh_redis/hash.rb,
lib/fresh_redis/string.rb,
lib/fresh_redis/version.rb
Defined Under Namespace
Modules: Hash, String Classes: Key
Constant Summary collapse
- VERSION =
"0.0.6"
Instance Method Summary collapse
- #build_key(base_key, options = {}) ⇒ Object
-
#initialize(redis, options = {}) ⇒ FreshRedis
constructor
A new instance of FreshRedis.
Methods included from String
Methods included from Hash
#fhdel, #fhget, #fhgetall, #fhset
Constructor Details
#initialize(redis, options = {}) ⇒ FreshRedis
Returns a new instance of FreshRedis.
10 11 12 13 |
# File 'lib/fresh_redis.rb', line 10 def initialize(redis, ={}) @redis = redis @options = end |