From 8b530e12826a4add7145c5da589929e5d752d94c Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Tue, 12 Aug 2025 12:37:00 -0500 Subject: [PATCH] [DOC] Tweaks for GC.enable --- gc.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gc.rb b/gc.rb index 135c97666d..2972343e2a 100644 --- a/gc.rb +++ b/gc.rb @@ -50,14 +50,14 @@ module GC end # call-seq: - # GC.enable -> true or false + # GC.enable -> true or false # - # Enables garbage collection, returning +true+ if garbage - # collection was previously disabled. + # Enables garbage collection; + # returns whether garbage collection was disabled: # - # GC.disable #=> false - # GC.enable #=> true - # GC.enable #=> false + # GC.disable + # GC.enable # => true + # GC.enable # => false # def self.enable Primitive.gc_enable