Project

General

Profile

Actions

Bug #12777

closed

NoMethodError: undefined method `garbage_collect' for GC:Module

Added by znz (Kazuhiro NISHIYAMA) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:77327]

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

Also available in: Atom PDF

Like0
Like0