lib/remnant/gc.rb in remnant-0.4.0 vs lib/remnant/gc.rb in remnant-0.4.1
- old
+ new
@@ -1,7 +1,11 @@
class Remnant
class GC
module ClassMethods
+ def enabled?
+ _gc.enabled?
+ end
+
def enable_stats
_gc.enable_stats
end
def disable_stats