[DOC] documents of aliased methods

This commit is contained in:
Nobuyoshi Nakada 2023-12-18 12:44:28 +09:00
parent ba1d1522d3
commit 9abaf00c07
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

2
gc.rb
View File

@ -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