Class | Net::DNS::Resolver::DnsTimeout |
In: |
lib/net/dns/resolver/timeouts.rb
|
Parent: | Object |
seconds | [R] |
Executes the method‘s block. If the block execution terminates before sec seconds has passed, it returns true. If not, it terminates the execution and raises Timeout::Error. If @seconds is 0 or nil, no timeout is set.