From 0d014df637974bdefaacbe89d8296a3be44465c7 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 17 May 2011 20:42:25 +0000 Subject: * lib/benchmark.rb: Remove nodoc from Benchmark::Job and Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #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 --- lib/benchmark.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/benchmark.rb') 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 -- cgit v1.2.3