Class: Net::DNS::Resolver::TcpTimeout
- Inherits:
-
DnsTimeout
- Object
- DnsTimeout
- Net::DNS::Resolver::TcpTimeout
- Defined in:
- lib/net/dns/resolver/timeouts.rb
Instance Attribute Summary
Attributes inherited from DnsTimeout
Instance Method Summary collapse
-
#initialize(seconds) ⇒ TcpTimeout
constructor
A new instance of TcpTimeout.
Methods inherited from DnsTimeout
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 |