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
- NIL_VALUE =
"__FR_NIL__"
- VERSION =
"0.0.5"
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.
12 13 14 15 |
# File 'lib/fresh_redis.rb', line 12 def initialize(redis, ={}) @redis = redis @options = end |