method

getaddress

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

Gets the IP address of name from the hosts file.