Project

General

Profile

Actions

Feature #7103

closed

Improved IO#reopen which accepts optional hash

Added by Glass_saga (Masaki Matsushita) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:47806]

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

patch.diff (3.04 KB) patch.diff Glass_saga (Masaki Matsushita), 10/02/2012 11:51 PM
Actions

Also available in: Atom PDF

Like0
Like0