End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Zlib::GzipReader#external_encoding
external_encoding
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzreader_external_encoding(VALUE self)
{
return rb_enc_from_encoding(get_gzfile(self)->enc);
}
See Zlib::GzipReader documentation for a description.