summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-22 06:50:32 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-22 06:50:32 +0000
commitf1b7003f35cae684cceeab710a5769458dfe7310 (patch)
tree3e9967a80821a0c38f456b1b6d803bc2a172a97e /NEWS
parent2a46ba9423f44d2d673525eaa7ea48d12679e279 (diff)
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--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index be51f55178..cf17e42345 100644
--- a/NEWS
+++ b/NEWS
@@ -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