lib/rainbows/fiber/body.rb in rainbows-5.1.1 vs lib/rainbows/fiber/body.rb in rainbows-5.2.0
- old
+ new
@@ -17,11 +17,11 @@
when :wait_writable
kgio_wait_writable
else # nil
return
end while true
- ensure
- close_if_private(body)
+ ensure
+ close_if_private(body)
end
end
def self.included(klass)
klass.__send__ :alias_method, :write_body_stream, :write_body_each