| Class | Symbiosis::IPAddr |
| In: |
common/lib/symbiosis/ipaddr.rb
|
| Parent: | ::IPAddr |
This class is a subclass if ::IPAddr, and adds in various useful bits.
Create a new IPAddress object from an integer. The family can be Socket::AF_INET or Socket::AF_INET6. If no family is set, then a guess is made, based on the size of the integer.
Evaluate a block for each IP address in a range. Use with caution with IPv6 addresses!
Test to see if this IP range includes another.
Raises an ArgumentError unless other is a Symbiosis::IPAddr