lib/heap_profiler/runtime.rb in heap-profiler-0.6.0 vs lib/heap_profiler/runtime.rb in heap-profiler-0.7.0

- old
+ new

@@ -11,13 +11,13 @@ CapacityError = Class.new(Error) class << self attr_accessor :current_reporter - def start(dir) + def start(dir, **kwargs) return if current_reporter self.current_reporter = Reporter.new(dir) - current_reporter.start + current_reporter.start(**kwargs) end def stop current_reporter&.stop end