class TestProf::MemoryProf::Configuration

MemoryProf configuration

def initialize

def initialize
  self.mode = ENV["TEST_MEM_PROF"]
  self.top_count = ENV["TEST_MEM_PROF_COUNT"]
end

def mode=(value)

def mode=(value)
  @mode = (value == "alloc") ? :alloc : :rss
end

def top_count=(value)

def top_count=(value)
  @top_count = value.to_i
  @top_count = 5 unless @top_count.positive?
end