Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • resolv-replace.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

TCPSocket

Public Class Methods

new(host, serv, *rest) click to toggle source
 
               # File resolv-replace.rb, line 23
def initialize(host, serv, *rest)
  rest[0] = IPSocket.getaddress(rest[0]) if rest[0]
  original_resolv_initialize(IPSocket.getaddress(host), serv, *rest)
end