7
Powiel możliwe:
How can I clear the terminal in Ruby?Ruby jasny ekran
Jak wyczyścić ekran terminala w Ruby?
puts "hello, what's your name?"
input = gets.chomp
<<clearscreen>>
puts "nice to meet you, #{input}"
Nie jestem pewien, czy to jest platforma. –
To jest sekwencja ucieczki. Obsługiwane są wszystkie terminale. – texasbruce
Nie działa z okienkiem DOS systemu Windows XP. – knut