summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/benchmark.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-04-11 21:06:14 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-04-22 14:39:37 +1000
commit80dc83715190335ec0aac142e383d60ca28ea3b3 (patch)
treeb58e585c998215d396dbfd21fb3b3e797f08d7ab /lib/puppet/rails/benchmark.rb
parentf7ccaaaf5ee9e4ecc4f99a7c70cac5489ce2b3bf (diff)
downloadpuppet-80dc83715190335ec0aac142e383d60ca28ea3b3.tar.gz
puppet-80dc83715190335ec0aac142e383d60ca28ea3b3.tar.xz
puppet-80dc83715190335ec0aac142e383d60ca28ea3b3.zip
renaming a method
Signed-off-by: Luke Kanies <luke@madstop.com>
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