method
new
new(host, serv, *rest)
public
Hide source
# File lib/resolv-replace.rb, line 17 def initialize(host, serv, *rest) rest[0] = IPSocket.getaddress(rest[0]) unless rest.empty? original_resolv_initialize(IPSocket.getaddress(host), serv, *rest) end