class Net::TCPClient::Policy::Ordered

Policy for connecting to servers in the order specified

Public Instance Methods

each(&block) click to toggle source

Calls the block once for each server, with the addresses in order

# File lib/net/tcp_client/policy/ordered.rb, line 7
def each(&block)
  addresses.each {|address| block.call(address)}
end