Flowdock
method

ip_address

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Addrinfo
ip_address() public

Returns the IP address as a string.

Addrinfo.tcp("127.0.0.1", 80).ip_address    #=> "127.0.0.1"
Addrinfo.tcp("::1", 80).ip_address          #=> "::1"
Show source
Register or log in to add new notes.