Class: Goliath::Runner
- Inherits:
-
Object
- Object
- Goliath::Runner
- Defined in:
- lib/zebra/proxy_server.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/zebra/proxy_server.rb', line 26 def run $LOADED_FEATURES.unshift(File.basename($0)) Dir.chdir(File.(Zebra.config.chdir)) @port = 8000 if Zebra.config.server? @port = ::Zebra.config.server[:port] end run_server end |