Class: RealWeb::ThreadServer

Inherits:
Server
  • Object
show all
Defined in:
lib/realweb/thread_server.rb

Constant Summary

Constants inherited from Server

Server::DEFAULT_HOST, Server::DEFAULT_LOGGER, Server::DEFAULT_PORT_RANGE, Server::DEFAULT_TIMEOUT

Instance Attribute Summary

Attributes inherited from Server

#host

Instance Method Summary collapse

Methods inherited from Server

#base_uri, #initialize, #port, #running?, server_ready?, #start, with_rackup

Constructor Details

This class inherits a constructor from RealWeb::Server

Instance Method Details

#stopObject



6
7
8
9
# File 'lib/realweb/thread_server.rb', line 6

def stop
  @thread.kill if @thread
  super
end