diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-23 04:19:53 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-23 04:19:53 +0000 |
commit | 03c6297fe8e1f3a06297b32f0ee25440b4b4a214 (patch) | |
tree | df2ff84e9714cb5e4577524ba307ee32ef7719d4 /io.c | |
parent | ce3be9265ee617ab730e21ba1ae04201dc479b3b (diff) | |
download | ruby-03c6297fe8e1f3a06297b32f0ee25440b4b4a214.tar.gz |
Revert "Allow IO#reopen to take a block"
This reverts r59142.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -7058,10 +7058,6 @@ rb_io_reopen(int argc, VALUE *argv, VALUE file) } } - if (rb_block_given_p()) { - return rb_ensure(rb_yield, file, io_close, file); - } - return file; } |