diff --git a/gc.rb b/gc.rb index 0e6955d577..d3bb8db036 100644 --- a/gc.rb +++ b/gc.rb @@ -307,7 +307,7 @@ module GC # # A flag will be set to notify that a full mark has been # requested. This flag is accessible using - # GC.latest_gc_info(:needs_major_by) + # GC.latest_gc_info(:need_major_by) # # The user can trigger a major collection at any time using # GC.start(full_mark: true)