Class: Polonium::ServerRunners::WebrickServerRunner

Inherits:
ServerRunner
  • Object
show all
Defined in:
lib/polonium/server_runners/webrick_server_runner.rb

Instance Attribute Summary collapse

Attributes inherited from ServerRunner

#configuration

Instance Method Summary collapse

Methods inherited from ServerRunner

#start, #started?, #stop

Constructor Details

#initialize(configuration) ⇒ WebrickServerRunner

Returns a new instance of WebrickServerRunner.



6
7
8
9
# File 'lib/polonium/server_runners/webrick_server_runner.rb', line 6

def initialize(configuration)
  require 'webrick_server'
  super
end

Instance Attribute Details

#serverObject

Returns the value of attribute server.



4
5
6
# File 'lib/polonium/server_runners/webrick_server_runner.rb', line 4

def server
  @server
end