lib/nesser/packets/answer.rb
##
# Pack this into a Nesser::Packer in preparation for being sent over the
# wire.
##
Pack this into a Nesser::Packer in preparation for being sent over the
wire.
Pack this into a Nesser :: Packer in preparation for being sent over the wire .
def pack(packer)
      packer.pack_name(@name)
      packer.pack('nnN', @type, @cls, @ttl)
      @rr.pack(packer)
    end
def pack ( packer ) packer . pack_name ( @name ) packer . pack ( 'nnN' , @type , @cls , @ttl ) @rr . pack ( packer ) end
Pack this into a Nesser::Packer in preparation for being sent over the
wire.
Pack this into a Nesser :: Packer in preparation for being sent over the wire .
# The name is echoed back # The type/class/ttl are added # Finally, the length and rr (the length is included)
packer
<not_specific>