diff options
author | Eric Wong <e@80x24.org> | 2018-05-18 03:03:45 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-05-18 03:03:45 +0000 |
commit | 52fd33d76a901015887c6a91ef3567d6d94908e8 (patch) | |
tree | 0b681c86e26164227b9462eec4ef429fb9858473 | |
parent | 212543377fd82ce888f3fd911f244a822bf907b1 (diff) | |
download | ruby_io_splice-52fd33d76a901015887c6a91ef3567d6d94908e8.tar.gz |
Ruby 2.6.0dev warns about these
-rw-r--r-- | lib/io/splice.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/io/splice.rb b/lib/io/splice.rb index 8cd9db3..9188c30 100644 --- a/lib/io/splice.rb +++ b/lib/io/splice.rb @@ -89,8 +89,8 @@ module IO::Splice end rv - ensure - close.each { |io| io.close } + ensure + close.each { |io| io.close } end # splice the full amount specified from +src+ to +dst+ |