I am not quite understand which part you are talking about. Is it "#{@host} => #{@port.to_i}"?  This is a string like "localhost:9200" specified by elasticsearch-ruby lib. (https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport)