| Class | NetAddr::CIDRv4 |
| In: |
lib/cidr.rb
|
| Parent: | CIDR |
IPv4 CIDR address - Inherits all methods from NetAddr::CIDR. Addresses of this class are composed of a 32-bit address space.
| last | -> | broadcast |
| Alias for last | ||
Provide IPv4 Hostmask in extended format (y.y.y.y).
Example:
cidr = NetAddr::CIDR.create('10.1.0.0/24')
cidr.hostmask_ext => "0.0.0.255"