class Redis::Cluster
def send_script_command(command, &block)
def send_script_command(command, &block) case command[1].to_s.downcase when 'debug', 'kill' @node.call_all(command, &block).first when 'flush', 'load' @node.call_master(command, &block).first else assign_node(command).call(command, &block) end end