Actions
Feature #7103
closedImproved IO#reopen which accepts optional hash
Status:
Closed
Assignee:
-
Target version:
-
Description
I propose improved IO#reopen which accepts optional hash.
The new IO#reopen has the same interface as IO.open and it enables us to reopen IO with full configuration.
I have attached a patch.
I have removed mode_enc() and rb_io_mode_enc() in the patch because they are no longer used.
Files
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r37071.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
io.c: improved IO#reopen
- io.c (rb_io_reopen): improvement to accept optional arguments.
a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806].
[Feature #7103]
Actions
Like0
Like0