From 0d014df637974bdefaacbe89d8296a3be44465c7 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 17 May 2011 20:42:25 +0000 Subject: [PATCH] =?UTF-8?q?=09*=20lib/benchmark.rb:=20=20Remove=20nodoc=20?= =?UTF-8?q?from=20Benchmark::Job=20and=20=09=20=20Benchmark::Report.=20=20?= =?UTF-8?q?Patch=20by=20Sandor=20Sz=C3=83=C2=BCcs.=20=20[Ruby=201.9=20-=20?= =?UTF-8?q?Bug=20#4726]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/benchmark.rb | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f4485247a7..8bf2229954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed May 18 05:40:31 2011 Eric Hodel + + * lib/benchmark.rb: Remove nodoc from Benchmark::Job and + Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726] + Wed May 18 05:29:26 2011 Eric Hodel * lib/webrick/compat.rb: Improve documentation. Patch by Sandor diff --git a/lib/benchmark.rb b/lib/benchmark.rb index ac17ba436d..f3eaf340f4 100644 --- a/lib/benchmark.rb +++ b/lib/benchmark.rb @@ -302,7 +302,7 @@ module Benchmark # A Job is a sequence of labelled blocks to be processed by the # Benchmark.bmbm method. It is of little direct interest to the user. # - class Job # :nodoc: + class Job # # Returns an initialized Job instance. # Usually, one doesn't call this method directly, as new @@ -340,7 +340,7 @@ module Benchmark # This class is used by the Benchmark.benchmark and Benchmark.bm methods. # It is of little direct interest to the user. # - class Report # :nodoc: + class Report # # Returns an initialized Report instance. # Usually, one doesn't call this method directly, as new @@ -377,7 +377,11 @@ module Benchmark # measurement. # class Tms + + # Default caption, see also Benchmark::CAPTION CAPTION = " user system total real\n" + + # Default format string, see also Benchmark::FORMAT FORMAT = "%10.6u %10.6y %10.6t %10.6r\n" # User CPU time