open(...)
public
Opens a file specified by filename as a gzipped file, and returns
a GzipReader object associated with that file. Further details of this
method are in Zlib::GzipReader.new and
ZLib::GzipReader.wrap.
Show source
/*
* call-seq: Zlib::GzipReader.open(filename) {|gz| ... }
*
* Opens a file specified by +filename+ as a gzipped file, and returns a
* GzipReader object associated with that file. Further details of this method
* are in Zlib::GzipReader.new and ZLib::GzipReader.wrap.
*/
static VALUE
rb_gzreader_s_open(argc, argv, klass)
int argc;
VALUE *argv;
VALUE klass;
{
return gzfile_s_open(argc, argv, klass, "rb");
}