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