lib/async/dns/transaction.rb in async-dns-1.1.1 vs lib/async/dns/transaction.rb in async-dns-1.2.0
- old
+ new
@@ -188,11 +188,9 @@
# A helper method to process the transaction on the given server. Unless the transaction is deferred, it will {#succeed} on completion.
def process
@server.process(name, @resource_class, self)
end
- protected
-
# A typical response to a DNS request includes both the question and response. This helper appends the question unless it looks like the user is already managing that aspect of the response.
def append_question!
if @response.question.size == 0
@response.add_question(@question, @resource_class)
end