Returns:
31 32 33 34 35 36 37
# File 'lib/dumper/utility.rb', line 31 def private? return false unless self.ipv4? [ IPAddr.new("10.0.0.0/8"), IPAddr.new("172.16.0.0/12"), IPAddr.new("192.168.0.0/16") ].any?{|i| i.include? self } end