method

native

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

Returns a new ipaddr built by converting the IPv6 address into a native IPv4 address. If the IP address is not an IPv4-mapped or IPv4-compatible IPv6 address, returns self.

Show source
Register or log in to add new notes.