Class: Waves::Servers::Mongrel
- Inherits:
-
Base
show all
- Defined in:
- lib/waves/servers/mongrel.rb
Instance Attribute Summary
Attributes inherited from Base
#application, #host, #port
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #start
Instance Method Details
5
6
7
|
# File 'lib/waves/servers/mongrel.rb', line 5
def call
Rack::Handler::Mongrel.run( application, :Host => host, :Port => port ) { |server| yield server if block_given? }
end
|
9
|
# File 'lib/waves/servers/mongrel.rb', line 9
def stop ; @server.stop ; super ; end
|