method

_ipv4_compat?

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: IPAddr
_ipv4_compat?() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.