Not found
The exact documentation you were looking for could not be found. Here is the best guess.
getname(address)
public
Gets the hostname of address from the hosts file.
Show source
def getname(address)
each_name(address) {|name| return name}
raise ResolvError.new("#{@filename} has no address: #{address}")
end