Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

IPAddr#ipv4_compat?

ipv4_compat?

Returns true if the ipaddr is an IPv4-compatible IPv6 address.