Method: TestProf::MemoryProf::RSpecListener#initialize

Defined in:
lib/test_prof/memory_prof/rspec.rb

#initializeRSpecListener

Returns a new instance of RSpecListener.



15
16
17
18
19
20
21
22
23
# File 'lib/test_prof/memory_prof/rspec.rb', line 15

def initialize
  @tracker = MemoryProf.tracker
  @printer = MemoryProf.printer(tracker)

  @current_group = nil
  @current_example = nil

  @tracker.start
end