enclosed?()
public
Returns true if the thgrp is enclosed. See also
ThreadGroup#enclose.
Show source
static VALUE
thgroup_enclosed_p(VALUE group)
{
struct thgroup *data;
TypedData_Get_Struct(group, struct thgroup, &thgroup_data_type, data);
if (data->enclosed)
return Qtrue;
return Qfalse;
}