stress()
returns current status of GC stress mode.
/* * call-seq: * GC.stress => true or false * * returns current status of GC stress mode. */ static VALUE gc_stress_get(self) VALUE self; { return ruby_gc_stress ? Qtrue : Qfalse; }