class Geocoder::Query
def internal_ip_address?
Is the Query text a loopback or private IP address?
#
def internal_ip_address? ip_address? && IpAddress.new(text).internal? end
def internal_ip_address? ip_address? && IpAddress.new(text).internal? end