diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-22 06:50:32 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-22 06:50:32 +0000 |
commit | f1b7003f35cae684cceeab710a5769458dfe7310 (patch) | |
tree | 3e9967a80821a0c38f456b1b6d803bc2a172a97e /NEWS | |
parent | 2a46ba9423f44d2d673525eaa7ea48d12679e279 (diff) | |
download | ruby-f1b7003f35cae684cceeab710a5769458dfe7310.tar.gz |
Allow IO#reopen to take a block
* io.c (rb_io_reopen): take a block and ensure the IO closed
[Feature #2631]
* test/ruby/test_io.rb: add a test
* NEWS: add an entry for this change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ with all sufficient information, see the ChangeLog file or Redmine * IO#pread [Feature #4532] * IO#pwrite [Feature #4532] + * IO#reopen takes a block [Feature #2631] * IOError |