[DOC] Fix ARGF example

This commit is contained in:
Kevin Saison 2025-06-30 14:11:19 +02:00 committed by Nobuyoshi Nakada
parent 9d080765cc
commit f4ea42a8ca

2
io.c
View file

@ -14918,7 +14918,7 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y)
* - \File +t.rb+:
*
* p "ARGV: #{ARGV}"
* p "Line: #{ARGF.read}" # Read everything from all specified streams.
* p "Read: #{ARGF.read}" # Read everything from all specified streams.
*
* - Command and output:
*