Flowdock
method

ip_address_list

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: Socket
ip_address_list() public

Returns local IP addresses as an array.

The array contains Addrinfo objects.

pp Socket.ip_address_list #=> [# 127.0.0.1>,

#<Addrinfo: 192.168.0.128>,
#<Addrinfo: ::1>,
...]
Show source
Register or log in to add new notes.