Sha256: baf727750eaaaa0b70f7df54a4356cfc4c8bb290eccc01f613df9cd5d8e4587f
Contents?: true
Size: 238 Bytes
Versions: 2
Compression:
Stored size: 238 Bytes
Contents
module TestLib module Network extend self def ipv6_supported? begin server = TCPServer.new("::1", 0) server.close true rescue Errno::EADDRNOTAVAIL false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ftpd-2.0.1 | testlib/network.rb |
ftpd-2.0.0 | testlib/network.rb |