From 6f07df121006daeb3347426a35df432d6927f6bb Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 19 Dec 2002 20:56:37 +0000 Subject: Improve. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/time.rb') diff --git a/sample/time.rb b/sample/time.rb index 1624fdf99..84fa9e1a8 100644 --- a/sample/time.rb +++ b/sample/time.rb @@ -5,4 +5,4 @@ system(cmd) e = Time.now 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 +STDERR.printf "%11.1f real %11.1f user %11.1f sys\n", total, cut, cst -- cgit