class Redis

def slaveof(host, port)

Make the server a slave of another instance, or promote it as master.
def slaveof(host, port)
  synchronize do
    @client.call(:slaveof, host, port)
  end
end