Something we university library folks often need to do, even though it's
kind of a ridiculous design.
I wrote a ruby convenience gem for it that some may find useful,
basically just a convenience method around the ruby IPAddr stdlib, which
does the heavy lifting.
https://github.com/jrochkind/ipaddr_range_set
|