Because it's just a 32-bit integer.

Usage:

require 'iplogic'
include IPLogic

ip = IP('11.22.33.44')
cidr = CIDR('11.22.32.00/20')

Look in spec/ip_spec.rb for a neat summary of al the methods available.