I find the ruby-ip functionality much better than the standard library's IPAddr but for example Rails converts ip adddresses automatically to IPAddr. It would be very useful if this gem had a way to convert from IPAddr to IP.
E.g. something like
a = IP.from_ipaddr(IPAddr.new('192.168.0.1/22'))
# or
b = IP.new(IPAddr.new('192.168.0.1/22'))