instance method
Zlib::GzipFile#orig_name
() -> ::String?
orig_name
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_gzfile_orig_name(VALUE obj)
{
VALUE str = get_gzfile(obj)->orig_name;
if (!NIL_P(str)) {
str = rb_str_dup(str);
}
return str;
}
Returns original filename recorded in the gzip file header, or nil if original filename is not present.