Module: HeapScope::RSpecMatchers

Defined in:
lib/heapscope/rspec.rb

Defined Under Namespace

Classes: GrowHeapByMoreThan, RemainHealthy, RetainLessThan

Instance Method Summary collapse

Instance Method Details

#grow_heap_by_more_than(bytes) ⇒ Object



104
105
106
# File 'lib/heapscope/rspec.rb', line 104

def grow_heap_by_more_than(bytes)
  GrowHeapByMoreThan.new(bytes)
end

#heapscope_remain_healthyObject



108
109
110
# File 'lib/heapscope/rspec.rb', line 108

def heapscope_remain_healthy
  RemainHealthy.new
end

#retain_less_than(limit) ⇒ Object



100
101
102
# File 'lib/heapscope/rspec.rb', line 100

def retain_less_than(limit)
  RetainLessThan.new(limit)
end