From: "Glass_saga (Masaki Matsushita)" Date: 2012-10-02T23:51:33+09:00 Subject: [ruby-core:47806] [ruby-trunk - Feature #7103][Open] Improved IO#reopen which accepts optional hash Issue #7103 has been reported by Glass_saga (Masaki Matsushita). ---------------------------------------- Feature #7103: Improved IO#reopen which accepts optional hash https://bugs.ruby-lang.org/issues/7103 Author: Glass_saga (Masaki Matsushita) Status: Open Priority: Normal Assignee: Category: core Target version: 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. -- http://bugs.ruby-lang.org/