= private = protected
getaddresses(name)
Gets all IP addresses for name from the hosts file.
# File lib/resolv.rb, line 229 def getaddresses(name) ret = [] each_address(name) {|address| ret << address} return ret end