From 9e14de667295230e902479889a4610885cb254cf Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 15 Sep 2000 06:00:30 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample') diff --git a/sample/time.rb b/sample/time.rb index f4f4ec488..1624fdf99 100644 --- a/sample/time.rb +++ b/sample/time.rb @@ -3,6 +3,6 @@ cmd = ARGV.join(" ") b = Time.now system(cmd) e = Time.now -ut, st, cut, cst = Time.times +ut, st, cut, cst = Time.times.to_a total = (e - b).to_f printf STDERR, "%11.1f real %11.1f user %11.1f sys\n", total, cut, cst -- cgit