Skip to content

io_close(descriptor) is the one true interface #3

Description

While io_close(io) was an internal development step only, it was never published in an official release, so you should not need this compatibility indirection.

fd = io.respond_to?(:fileno) ? io.fileno : io.to_i

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions