Convert an integer to IP string
Edit, the original didn't work for low ranges.
And I was wrong about the IPAddr thing. I should have google'd better.
IPAddr.new(16909060, Socket::AF_INET).to_s
DZone Snippets > markpercival > conversion
13458 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Mark Percival www.mpercival.com