method

ipv4?

ruby latest stable - Class: IPAddr
ipv4?()
public

Returns true if the ipaddr is an IPv4 address.