Improved IO#reopen which accepts optional hash
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 modeenc() and rbiomodeenc() in the patch because they are no longer used.
#1 Updated by Nobuyoshi Nakada over 1 year 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 (rbioreopen): improvement to accept optional arguments. a patch by Glass_saga (Masaki Matsushita) in . [Feature #7103]