disable()
public
Disables garbage collection, returning true if garbage collection was
already disabled.
GC.disable
GC.disable
Show source
VALUE
rb_gc_disable(void)
{
rb_objspace_t *objspace = &rb_objspace;
int old = dont_gc;
dont_gc = TRUE;
return old ? Qtrue : Qfalse;
}