instance method
Resolv::DNS#close
() -> untyped
close
lib/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/resolv.rb, line 372
def close
@mutex.synchronize {
if @initialized
@initialized = false
end
}
end
Closes the DNS resolver.