module Minitest::GCStats
Constants
- VERSION
Attributes
Public Class Methods
Source
# File lib/minitest/gcstats.rb, line 10 def self.current GC.stat :total_allocated_objects end
Public Instance Methods
Source
# File lib/minitest/gcstats.rb, line 25 def after_teardown self.gc_stats += Minitest::GCStats.current super end
Calls superclass method
Source
# File lib/minitest/gcstats.rb, line 20 def before_setup super self.gc_stats = -Minitest::GCStats.current end
Calls superclass method
Source
# File lib/minitest/gcstats.rb, line 14 def run r = super r.gc_stats = self.gc_stats r end
Calls superclass method