Question from the Ruby (legacy) test

What is the output of the following Ruby code? `GC.start; GC.garbage_collect; GC.disable`

Expert

What does the following code do?

GC.enable

GC.start

GC.disable

Author: Olivier MillaStatus: PublishedQuestion passed 24 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!