method

mask

Importance_1
Ruby latest stable (v1_8_7_72) - 0 notes - Class: IPAddr
mask(prefixlen) public

Returns a new ipaddr built by masking IP address with the given prefixlen/netmask. (e.g. 8, 64, "255.255.255.0", etc.)

Show source
Register or log in to add new notes.