diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-17 20:42:25 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-17 20:42:25 +0000 |
commit | 0d014df637974bdefaacbe89d8296a3be44465c7 (patch) | |
tree | 3c4eef3622ef50106719775ff712a725881be8c4 | |
parent | 1ebfbd7c63de119363d444dd15dac88871528cb5 (diff) | |
download | ruby-0d014df637974bdefaacbe89d8296a3be44465c7.tar.gz |
* lib/benchmark.rb: Remove nodoc from Benchmark::Job and
Benchmark::Report. Patch by Sandor Szücs. [Ruby 1.9 - Bug #4726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/benchmark.rb | 8 |
2 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed May 18 05:40:31 2011 Eric Hodel <drbrain@segment7.net> + + * 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 <drbrain@segment7.net> * 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 |