Method: Puppet::Util::Profiler::AroundProfiler#remove_profiler

Defined in:
lib/puppet/util/profiler/around_profiler.rb

#remove_profiler(profiler) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • profiler (#profile)

    A profiler to remove from the current thread



36
37
38
# File 'lib/puppet/util/profiler/around_profiler.rb', line 36

def remove_profiler(profiler)
  @profilers.delete(profiler)
end