Flowdock
method

ip_port

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: Addrinfo
ip_port() public

Returns the port number as an integer.

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