instance method
Zlib::ZStream#closed?
() -> bool
closed?
ext/zlib/zlib.c
View on GitHub ↗
static VALUE
rb_zstream_closed_p(VALUE obj)
{
struct zstream *z;
TypedData_Get_Struct(obj, struct zstream, &zstream_data_type, z);
return ZSTREAM_IS_READY(z) ? Qfalse : Qtrue;
}
Returns true if the stream is closed.