summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gc.rb2
1 files changed, 1 insertions, 1 deletions
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
- # <code>GC.latest_gc_info(:needs_major_by)</code>
+ # <code>GC.latest_gc_info(:need_major_by)</code>
#
# The user can trigger a major collection at any time using
# <code>GC.start(full_mark: true)</code>