End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Zlib::GzipFile#to_io
to_io
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzfile_to_io(VALUE obj)
{
return get_gzfile(obj)->io;
}
Same as IO.