Class: Net::DNS::Resolver::TcpTimeout

Inherits:
DnsTimeout
  • Object
show all
Defined in:
lib/net/dns/resolver/timeouts.rb

Instance Attribute Summary

Attributes inherited from DnsTimeout

#seconds

Instance Method Summary collapse

Methods inherited from DnsTimeout

#pretty_to_s, #timeout, #to_s

Constructor Details

#initialize(seconds) ⇒ TcpTimeout

Returns a new instance of TcpTimeout.



54
55
56
57
# File 'lib/net/dns/resolver/timeouts.rb', line 54

def initialize(seconds)
  @output = "infinite"
  super
end