Fix bad code example in documentation

This commit is contained in:
Janosch Müller 2022-12-08 22:14:08 +01:00 committed by Nobuyoshi Nakada
parent e714907d82
commit 6ea3edbdad
Notes: git 2022-12-09 02:26:54 +00:00

View File

@ -1473,7 +1473,7 @@ rb_f_loop_size(VALUE self, VALUE args, VALUE eobj)
* loop do
* print "Input: "
* line = gets
* break if !line or line =~ /^qQ/
* break if !line or line =~ /^q/i
* # ...
* end
*