Explorar el Código

Added Hostname to output

master
Marcel Haazen hace 5 años
padre
commit
5ab224c808
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr Ver fichero

@ -23,5 +23,6 @@ rescue errno
network = "Disconnected"
end
#Print Information
puts "Internet: " + network
# Print Information
puts "Internet: " + network
puts "Hostname: " + System.hostname

Cargando…
Cancelar
Guardar