summaryrefslogtreecommitdiff
path: root/lib/benchmark.rb
diff options
context:
space:
mode:
authorKeith Bennett <[email protected]>2021-03-03 15:13:30 -0500
committerHiroshi SHIBATA <[email protected]>2021-04-22 11:51:37 +0900
commit4f39a35b60de7fe80ace6978aae3346f0d76ced4 ()
tree87a5f0e970648cae630db75aac34f9cff1a4616f /lib/benchmark.rb
parent2440d60acb8e8fbcad1f6943892556cf3a529d70 (diff)
[ruby/benchmark] Add comment about terminating newline in captions; fix test method name.
https://.com/ruby/benchmark/commit/02ce298d3e
-rw-r--r--lib/benchmark.rb3
1 files changed, 3 insertions, 0 deletions
@@ -128,6 +128,9 @@ module Benchmark
# benchmark tests. Reserves +label_width+ leading spaces for
# labels on each line. Prints +caption+ at the top of the
# report, and uses +format+ to format each line.
# Returns an array of Benchmark::Tms objects.
#
# If the block returns an array of