method

count

ruby latest stable - Class: GC
count()
public

The number of times GC occurred.

It returns the number of times GC occurred since the process started.