Class | IPAddress::Prefix128 |
In: |
lib/ipaddress/prefix.rb
|
Parent: | Prefix |
Transforms the prefix into a string of bits representing the netmask
prefix = IPAddress::Prefix128.new 64 prefix.bits #=> "1111111111111111111111111111111111111111111111111111111111111111" "0000000000000000000000000000000000000000000000000000000000000000"