Skip to content

Fix Ruby 4.0 compatibility#112

Merged
garybernhardt merged 1 commit intogarybernhardt:masterfrom
rschmitt:ruby4
Jan 23, 2026
Merged

Fix Ruby 4.0 compatibility#112
garybernhardt merged 1 commit intogarybernhardt:masterfrom
rschmitt:ruby4

Conversation

@rschmitt
Copy link
Copy Markdown
Contributor

@rschmitt rschmitt commented Jan 6, 2026

The ready? method has been removed in Ruby 4.0. This change replaces it with a call to .wait_readable(0).

Fixes #111.

The `ready?` method has been removed in Ruby 4.0. This change replaces
it with a call to `.wait_readable(0)`.

Fixes garybernhardt#111.
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.

undefined method 'ready?' for an instance of File (NoMethodError) on Ruby 4.0

2 participants