Skip to content
instance method

IPAddr#ipv4?

() -> bool
ipv4?

Returns true if the ipaddr is an IPv4 address.

See also #ip6_int #ipv4_compat #ip6_arpa #ipv4_compat? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0