Skip to content

[DOC] Fix ARGF example #13742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

DoctorFateKS
Copy link

In the ARGF documentation example, the code prints:

p "Line: #{ARGF.read}"

But the expected output shown in the documentation says:

"Read: Foo 0\nFoo 1\nBar 0\nBar 1\nBar 2\nBar 3\n"

This creates an inconsistency between the code and the output snippet, which may confuse readers.

@nobu nobu added the Documentation Improvements to documentation. label Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants