method

getaddress

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

Gets the IP address of name from the hosts file.