File: C:/Ruby27-x64/share/ri/2.7.0/system/Zlib/gzip-c.ri
U:RDoc::AnyMethod[iI" gzip:ETI"Zlib::gzip;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Gzip the given +string+. Valid values of level are ;TI"EZlib::NO_COMPRESSION, Zlib::BEST_SPEED, Zlib::BEST_COMPRESSION, ;TI"DZlib::DEFAULT_COMPRESSION (default), or an integer from 0 to 9.;To:RDoc::Markup::BlankLine o;
; [I"<This method is almost equivalent to the following code:;T@o:RDoc::Markup::Verbatim; [
I"1def gzip(string, level: nil, strategy: nil)
;TI" sio = StringIO.new
;TI" sio.binmode
;TI"7 gz = Zlib::GzipWriter.new(sio, level, strategy)
;TI" gz.write(string)
;TI" gz.close
;TI" sio.string
;TI" end
;T:@format0o;
; [I"See also Zlib.gunzip;T:
@fileI"ext/zlib/zlib.c;T:0@omit_headings_from_table_of_contents_below0I"9Zlib.gzip(src, level: nil, strategy: nil) -> String
;T0[ I" (p1);T@!FI" Zlib;TcRDoc::NormalModule00