method

getaddress

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

Gets the IP address of name from the hosts file.