lib/redis/objects/sets.rb in redis-objects-0.8.0 vs lib/redis/objects/sets.rb in redis-objects-0.9.0
- old
+ new
@@ -19,10 +19,10 @@
mod = Module.new do
define_method(name) do
instance_variable_get("@#{name}") or
instance_variable_set("@#{name}",
Redis::Set.new(
- redis_field_key(name), redis, redis_objects[name.to_sym]
+ redis_field_key(name), redis_field_redis(name), redis_objects[name.to_sym]
)
)
end
end