Skip to content

jneen/iplogic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 and spec/cidr_spec.rb for a neat summary of all the methods available.

About

IPv4 swiss army chainsaw.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages