Skip to content

Document that getch can return nil - #130

Merged
hsbt merged 1 commit into
ruby:masterfrom
zonuexe:fix-call-seq
Jul 13, 2026
Merged

Document that getch can return nil#130
hsbt merged 1 commit into
ruby:masterfrom
zonuexe:fix-call-seq

Conversation

@zonuexe

@zonuexe zonuexe commented May 21, 2026

Copy link
Copy Markdown
Contributor

IO#getch can return nil on EOF or timeout, but its call-seq only showed -> char. Documentation only, no behavior change.

@zonuexe

zonuexe commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

@nobu @hsbt
Could you review this PR? It is similar to ruby/date#171, but instead of a syntax error, it fills in a missing type.
(I'm reposting this because I mentioned the wrong maintainer earlier; please disregard the previous message.)

@hsbt
hsbt merged commit 962b518 into ruby:master Jul 13, 2026
@zonuexe
zonuexe deleted the fix-call-seq branch July 13, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants