rack/rack — pull request #594 by minoritea (2013-08-20 15:19:49+00:00)
Title: add delegate of to_io method for native function like rb_io_get_io.

IO::select 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.