Class: QuickMem::QuickMemory

Inherits:
Object
  • Object
show all
Defined in:
lib/quick_mem.rb

Class Method Summary collapse

Class Method Details

.show_configObject



11
12
13
14
15
16
17
# File 'lib/quick_mem.rb', line 11

def self.show_config
  gc_stat = GC.stat
  config = Hash.new
  gc_counts(config, gc_stat)
  heap_statistics(config, gc_stat)
  config
end

.versionObject



7
8
9
# File 'lib/quick_mem.rb', line 7

def self.version
  QuickMem::VERSION
end