= private = protected
getaddress(name)
Looks up the first IP address for name.
# File lib/resolv.rb, line 92 def getaddress(name) each_address(name) {|address| return address} raise ResolvError.new("no address for #{name}") end