From 793155bb9573851a59329be25380700b6999e60a Mon Sep 17 00:00:00 2001 From: nekketsuuu Date: Wed, 14 Jan 2026 12:57:02 +0900 Subject: [PATCH] Tweak docs for RubyDNS::Server#initialize This method no longer takes a block after migration from RubyDNS::RuleBasedServer. Follow-up: 4c2bb113c6af2fd230bb716111010cb2aa389013 --- lib/rubydns/server.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/rubydns/server.rb b/lib/rubydns/server.rb index 4c5d6af..2be78df 100644 --- a/lib/rubydns/server.rb +++ b/lib/rubydns/server.rb @@ -13,14 +13,7 @@ module RubyDNS # Provides the core of the RubyDNS domain-specific language (DSL). It contains a list of rules which are used to match against incoming DNS questions. These rules are used to generate responses which are either DNS resource records or failures. class Server < Async::DNS::Server - # Instantiate a server with a block - # - # server = Server.new do - # match(/server.mydomain.com/, IN::A) do |transaction| - # transaction.respond!("1.2.3.4") - # end - # end - # + # Instantiate a server. To define rules, see {RubyDNS.run}. def initialize(...) super