mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 04:07:58 +00:00
[DOC] Improve loop code example documentation
This commit is contained in:
parent
8edb40f6e8
commit
2f20dc5dc5
Notes:
git
2025-10-19 11:36:29 +00:00
@ -141,6 +141,7 @@ module Kernel
|
|||||||
# loop do
|
# loop do
|
||||||
# print "Input: "
|
# print "Input: "
|
||||||
# line = gets
|
# 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
|
# break if !line or line =~ /^q/i
|
||||||
# # ...
|
# # ...
|
||||||
# end
|
# end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user