Sha256: 600af1f976dc82c9a7e1bfb087e8ae7b30b88c44e5dab8c1461a8eefc9c8a24b
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
module Net class TCPClient module Policy # Policy for connecting to servers in the order specified class Ordered < Base # Calls the block once for each server, with the addresses in order def each(&block) addresses.each {|address| block.call(address)} end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
net_tcp_client-2.2.0 | lib/net/tcp_client/policy/ordered.rb |
net_tcp_client-2.0.1 | lib/net/tcp_client/policy/ordered.rb |
net_tcp_client-2.0.0 | lib/net/tcp_client/policy/ordered.rb |