Sha256: 12501de58bad8be14411ae0ef15c1127f3c572773c1babf1e3886b90db765644
Contents?: true
Size: 211 Bytes
Versions: 5
Compression:
Stored size: 211 Bytes
Contents
def ipv6_enabled? tmp = TCPServer.new(ENV["TEST_HOST6"] || '::1', 0) tmp.close true rescue => e warn "skipping IPv6 tests, host does not seem to be IPv6 enabled:" warn " #{e.class}: #{e}" false end
Version data entries
5 entries across 5 versions & 2 rubygems