method

new

v2_1_10 - Show latest stable - Class: Resolv::IPv6
new(address)
public

No documentation available.

# File lib/resolv.rb, line 2485
    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