Class: Dugway::Cli::Server

Inherits:
Thor::Group
  • Object
show all
Defined in:
lib/dugway/cli/server.rb

Instance Method Summary collapse

Instance Method Details

#startObject



24
25
26
27
28
29
30
31
32
# File 'lib/dugway/cli/server.rb', line 24

def start
  Rack::Server.start({
    :config => File.join(Dir.pwd, 'config.ru'),
    :environment => 'none',
    :Host => options[:host],
    :Port => options[:port],
    :server => options[:server]
  })
end