Przeglądaj źródła

Added Hostname to output

master
Marcel Haazen 5 lat temu
rodzic
commit
5ab224c808
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz