Actions
Bug #12777
closedNoMethodError: undefined method `garbage_collect' for GC:Module
Description
RDoc says GC.garbage_collect
is equal to GC.start
. But GC.garbage_collect
is a normal method. It is not a singleton method.
So GC.garbage_collect
raises NoMethodError: undefined method `garbage_collect' for GC:Module
.
Which is expected behavior?
Actions
Like0
Like0