Flowdock
method

ip_port

Importance_1
Ruby latest stable (v2_5_5) - 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.