D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Zlib
/
GzipFile
/
Filename :
wrap-c.ri
back
Copy
U:RDoc::AnyMethod[iI" wrap:ETI"Zlib::GzipFile::wrap;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MCreates a GzipReader or GzipWriter associated with +io+, passing in any ;TI"Lnecessary extra options, and executes the block with the newly created ;TI" object just like File.open.;To:RDoc::Markup::BlankLine o; ; [I"QThe GzipFile object will be closed automatically after executing the block. ;TI"EIf you want to keep the associated IO object open, you may call ;TI"/Zlib::GzipFile#finish method in the block.;T: @fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0I"]Zlib::GzipReader.wrap(io, ...) { |gz| ... } Zlib::GzipWriter.wrap(io, ...) { |gz| ... } ;T0[ I"(*args);T@FI" GzipFile;TcRDoc::NormalClass00