Module: RedisMasterSlave

Defined in:
lib/redis_master_slave.rb,
lib/redis_master_slave/client.rb,
lib/redis_master_slave/version.rb,
lib/redis_master_slave/read_only.rb

Defined Under Namespace

Modules: ReadOnly Classes: Client

Constant Summary collapse

VERSION =
[0, 0, 1]
ReadOnlyError =
Class.new(RuntimeError)

Class Method Summary collapse

Class Method Details

.new(*args, &block) ⇒ Object

Create a new client. Same as Client.new.



11
12
13
# File 'lib/redis_master_slave.rb', line 11

def self.new(*args, &block)
  Client.new(*args, &block)
end