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