Class: Puppet::Util::Profiler::None Private
- Defined in:
- lib/puppet/util/profiler/none.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A no-op profiler. Used when there is no profiling wanted.
Instance Method Summary collapse
Instance Method Details
#profile(description, &block) ⇒ 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.
5 6 7 |
# File 'lib/puppet/util/profiler/none.rb', line 5 def profile(description, &block) yield end |