GC
A module that controls garbage collection in the Ruby interpreter.
GC.disable
Halts garbage collection.
Returns the previous halt state (if halted, returns TRUE; if garbage collection was enabled, returns FALSE).
GC.enable
Permits garbage collection.
Returns the previous halt state (if halted, returns TRUE; if garbage collection was enabled, returns FALSE).
GC.start
Initializes garbage collection.
Returns nil.
Last updated