class Pechkin::Command::RunServer

Start pechkin HTTP server

Public Instance Methods

execute() click to toggle source
# File lib/pechkin/command/run_server.rb, line 9
def execute
  Rack::Server.start(app: AppBuilder.new.build(handler, options),
                     Host: options.bind_address,
                     Port: options.port,
                     pid: options.pid_file)
end
matches?() click to toggle source
# File lib/pechkin/command/run_server.rb, line 5
def matches?
  true # Always match
end