Class: Waves::Servers::WEBrick
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Waves::Servers::Base
Instance Method Details
#call ⇒ Object
5 6 7 |
# File 'lib/servers/webrick.rb', line 5 def call Rack::Handler::WEBrick.run( application, :Host => host, :Port => port ) { | server | yield server if block_given? } end |
#stop ⇒ Object
9 |
# File 'lib/servers/webrick.rb', line 9 def stop ; @server.stop ; super ; end |