[DOC] Improve loop code example documentation

This commit is contained in:
TaoufikMejri 2025-10-12 19:55:07 +01:00 committed by Nobuyoshi Nakada
parent 8edb40f6e8
commit 2f20dc5dc5
Notes: git 2025-10-19 11:36:29 +00:00

View File

@ -141,6 +141,7 @@ module Kernel
# loop do
# print "Input: "
# line = gets
# # break if q, Q is entered or EOF signal (Ctrl-D on Unix, Ctrl-Z on windows) is sent
# break if !line or line =~ /^q/i
# # ...
# end