class FastestServer::WindowsPing

Constants

REGEX_FILTER
REGEX_LOSS
REGEX_PING
REGEX_STAT

Public Instance Methods

execute_ping_command() click to toggle source
# File lib/fastest_server/ping.rb, line 86
def execute_ping_command
  result = `chcp 437 && ping -n #{Ping.get_count} #@server`
  status = $?
  [result, $?]
end