Class: Redis
- Inherits:
-
Object
- Object
- Redis
- Defined in:
- lib/live_resource/redis_client.rb
Instance Method Summary collapse
Instance Method Details
#clone ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/live_resource/redis_client.rb', line 10 def clone # Create independent Redis Redis.new( :host => client.host, :port => client.port, :timeout => client.timeout, :logger => client.logger, :password => client.password, :db => client.db) end |