class Redis::Cluster::Option
def per_node_key
def per_node_key @node_opts.map do |opt| node_key = NodeKey.build_from_host_port(opt[:host], opt[:port]) options = @options.merge(opt) options = options.merge(host: @fixed_hostname) if @fixed_hostname && !@fixed_hostname.empty? [node_key, options] end.to_h end