summaryrefslogtreecommitdiff
path: root/lib/benchmark.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 20:42:25 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 20:42:25 +0000
commit0d014df637974bdefaacbe89d8296a3be44465c7 (patch)
tree3c4eef3622ef50106719775ff712a725881be8c4 /lib/benchmark.rb
parent1ebfbd7c63de119363d444dd15dac88871528cb5 (diff)
* 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
Diffstat (limited to 'lib/benchmark.rb')
-rw-r--r--lib/benchmark.rb8
1 files changed, 6 insertions, 2 deletions
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