= private = protected
getaddress(name)
Gets the IP address of name from the hosts file.
# File lib/resolv.rb, line 219 def getaddress(name) each_address(name) {|address| return address} raise ResolvError.new("#{@filename} has no name: #{name}") end