Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

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 21
def initialize(host, serv, *rest)
  rest[0] = IPSocket.getaddress(rest[0]) if rest[0]
  original_resolv_initialize(IPSocket.getaddress(host), serv, *rest)
end