to_net returns the IPv4 as a IPv4Net
71 72 73
# File 'lib/ipv4.rb', line 71 def to_net() NetAddr::IPv4Net.new(self,nil) end