= private = protected
ipv4?()
Returns true if the ipaddr is an IPv4 address.
# File lib/ipaddr.rb, line 254 def ipv4? return @family == Socket::AF_INET end