Flowdock
method

afamily

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: Addrinfo
afamily() public

returns the address family as an integer.

Addrinfo.tcp("localhost", 80).afamily == Socket::AF_INET #=> true
Show source
Register or log in to add new notes.