new(address)
public
Hide source
# File lib/resolv.rb, line 2530 def initialize(address) # :nodoc: unless address.kind_of?(String) && address.length == 16 raise ArgumentError.new('IPv6 address must be 16 bytes') end @address = address end