From 9abaf00c070d00d880e05182bc1f0fba3eba8231 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 18 Dec 2023 12:44:28 +0900 Subject: [PATCH] [DOC] documents of aliased methods --- gc.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gc.rb b/gc.rb index c3b104454c..c9c985b994 100644 --- a/gc.rb +++ b/gc.rb @@ -39,6 +39,7 @@ module GC Primitive.gc_start_internal full_mark, immediate_mark, immediate_sweep, false end + # Alias of GC.start def garbage_collect full_mark: true, immediate_mark: true, immediate_sweep: true Primitive.gc_start_internal full_mark, immediate_mark, immediate_sweep, false end @@ -322,6 +323,7 @@ module GC end module ObjectSpace + # Alias of GC.start def garbage_collect full_mark: true, immediate_mark: true, immediate_sweep: true Primitive.gc_start_internal full_mark, immediate_mark, immediate_sweep, false end