Class: WinRM::FS::Core::TmpZip::NoDupIO Private
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- WinRM::FS::Core::TmpZip::NoDupIO
- Defined in:
- lib/winrm-fs/core/tmp_zip.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Simple delegate wrapper to prevent ‘#dup` calls being made on IO objects. This is used to bypass an issue in the `Zip::Outputstream` constructor where an incoming IO is duplicated, leading to races on flushing the final stream to disk.
Instance Method Summary collapse
-
#dup ⇒ self
private
Returns self and does not return a duplicate object.
Instance Method Details
#dup ⇒ self
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns self and does not return a duplicate object
171 172 173 |
# File 'lib/winrm-fs/core/tmp_zip.rb', line 171 def dup self end |