method

getaddress

v2_1_10 - Show latest stable - Class: Resolv::Hosts
getaddress(name)
public

Gets the IP address of name from the hosts file.