Sha256: 8bdcee648ea912d62f2f0768bda706af13bba5af5186a08e49a3f6271451981b
Contents?: true
Size: 219 Bytes
Versions: 18
Compression:
Stored size: 219 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
18 entries across 18 versions & 2 rubygems