Method: Redis::Commands::Cluster#cluster

Defined in:
lib/redis/commands/cluster.rb

#cluster(subcommand, *args) ⇒ Object

Sends CLUSTER * command to random node and returns its reply.



14
15
16
# File 'lib/redis/commands/cluster.rb', line 14

def cluster(subcommand, *args)
  send_command([:cluster, subcommand] + args)
end