# File lib/redis/store.rb, line 8 def initialize(options = { }) super _extend_marshalling options _extend_namespace options end
# File lib/redis/store.rb, line 14 def reconnect @client.reconnect end
# File lib/redis/store.rb, line 18 def to_s "Redis Client connected to #{@client.host}:#{@client.port} against DB #{@client.db}" end
# File lib/redis/store.rb, line 23 def _extend_marshalling(options) @marshalling = !(options[:marshalling] === false) # HACK - TODO delegate to Factory extend Marshalling if @marshalling end
# File lib/redis/store.rb, line 28 def _extend_namespace(options) @namespace = options[:namespace] extend Namespace if @namespace end