GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
When I passed HijackWrapper instances to IO::select, it raises TypeError because this method calls rb_io_get_io, a native function, only accepts IO instances.
Add "to_io" method for converting the wrappers to IO instances automatically.
add delegate of to_io method for native function like rb_io_get_io.
This is a major spec change as it's a required specification, needs to be delayed for a major release, or specified as optional.
(i do like the idea)
Happy to add to 1.6 if moved to optional.
Closing waiting for response to review.