Class: MockDnsServer::ServerThread
- Inherits:
-
Thread
- Object
- Thread
- MockDnsServer::ServerThread
- Defined in:
- lib/mock_dns_server/server_thread.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
Returns the value of attribute server.
Class Method Summary collapse
-
.all ⇒ Object
Thread::abort_on_exception = true.
Instance Attribute Details
#server ⇒ Object
Returns the value of attribute server.
5 6 7 |
# File 'lib/mock_dns_server/server_thread.rb', line 5 def server @server end |
Class Method Details
.all ⇒ Object
Thread::abort_on_exception = true
9 10 11 |
# File 'lib/mock_dns_server/server_thread.rb', line 9 def self.all Thread.list.select { |thread| thread.is_a?(ServerThread) } end |