method
_ipv4_compat?
v2_6_3 -
Show latest stable
- Class:
IPAddr
_ipv4_compat?()private
No documentation available.
# File lib/ipaddr.rb, line 317
def _ipv4_compat?
if !ipv6? || (@addr >> 32) != 0
return false
end
a = (@addr & IN4MASK)
return a != 0 && a != 1
end