Module: Minitest::GCStats::Result

Defined in:
lib/minitest/gcstats.rb

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#gc_statsObject

Returns the value of attribute gc_stats.



30
31
32
# File 'lib/minitest/gcstats.rb', line 30

def gc_stats
  @gc_stats
end

Class Method Details

.prepended(klass) ⇒ Object



32
33
34
# File 'lib/minitest/gcstats.rb', line 32

def self.prepended klass
  klass.singleton_class.prepend ClassMethods
end