method

getname

v2_6_3 - Show latest stable - Class: Resolv::Hosts
getname(address)
public

Gets the hostname of address from the hosts file.