diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-18 22:07:09 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-18 22:07:09 +0000 |
commit | b205e559537f5a3cbd8cdb133378134e8c983615 (patch) | |
tree | 3f34c971e0b69e1395d37149add63f8927e180f0 /lib/benchmark.rb | |
parent | f535b33f8d7b1b46e6f94b836adca0bb89059cba (diff) | |
download | ruby-b205e559537f5a3cbd8cdb133378134e8c983615.tar.gz |
* lib/benchmark.rb: Fix indentation.
* lib/net/imap.rb: Fix indentation of regular expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/benchmark.rb')
-rw-r--r-- | lib/benchmark.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/benchmark.rb b/lib/benchmark.rb index 0c786a4862..f3d1cca8f1 100644 --- a/lib/benchmark.rb +++ b/lib/benchmark.rb @@ -254,9 +254,9 @@ module Benchmark puts 'Rehearsal '.ljust(width+CAPTION.length,'-') ets = job.list.inject(Tms.new) { |sum,(label,item)| print label.ljust(width) - res = Benchmark.measure(&item) - print res.format - sum + res + res = Benchmark.measure(&item) + print res.format + sum + res }.format("total: %tsec") print " #{ets}\n\n".rjust(width+CAPTION.length+2,'-') |