method
new
new(id = (@@identifier += 1) & 0xffff)
public
Hide source
# File lib/resolv.rb, line 1349 def initialize(id = (@@identifier += 1) & 0xffff) @id = id @qr = 0 @opcode = 0 @aa = 0 @tc = 0 @rd = 0 # recursion desired @ra = 0 # recursion available @rcode = 0 @question = [] @answer = [] @authority = [] @additional = [] end