зеркало из https://github.com/github/ruby.git
[DOC] documents of aliased methods
This commit is contained in:
Родитель
ba1d1522d3
Коммит
9abaf00c07
2
gc.rb
2
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче