Method: Zlib::GzipReader.open

Defined in:
zlib.c

.Zlib::GzipReader.open(filename) {|gz| ... } ⇒ Object

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.

Yields:

  • (gz)


2897
2898
2899
# File 'zlib.c', line 2897

static VALUE
rb_gzreader_s_open(argc, argv, klass)
int argc;