module Minitest::GCStats
Constants
- HASH
- VERSION
Attributes
gc_stats[RW]
Public Class Methods
current()
click to toggle source
# File lib/minitest/gcstats.rb, line 12 def self.current GC.stat :total_allocated_objects end
Public Instance Methods
after_teardown()
click to toggle source
Calls superclass method
# File lib/minitest/gcstats.rb, line 32 def after_teardown self.gc_stats += Minitest::GCStats.current super end
before_setup()
click to toggle source
Calls superclass method
# File lib/minitest/gcstats.rb, line 27 def before_setup super self.gc_stats = -Minitest::GCStats.current end