Sha256: ed9c51bad280a6cd098cd6c0c00c9bc4d247800135e583e6b05bf9e08e3193a3
Contents?: true
Size: 251 Bytes
Versions: 3
Compression:
Stored size: 251 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}" return false ipv6_enabled = false end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
raindrops-0.6.1 | test/ipv6_enabled.rb |
raindrops-0.6.0 | test/ipv6_enabled.rb |
raindrops-0.5.0 | test/ipv6_enabled.rb |