summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/benchmark.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/rails/benchmark.rb')
-rw-r--r--lib/puppet/rails/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/rails/benchmark.rb b/lib/puppet/rails/benchmark.rb
index aadacc243..c33b2fb1e 100644
--- a/lib/puppet/rails/benchmark.rb
+++ b/lib/puppet/rails/benchmark.rb
@@ -15,7 +15,7 @@ module Puppet::Rails::Benchmark
result
end
- def sometimes_benchmark(message)
+ def debug_benchmark(message)
unless Puppet::Rails::TIME_DEBUG
return yield
end