Bug #6533
Benchmark documenation formatting bug and consistency
Description
=begin
I've added a patch to fix a formatting bug with lib/benchmark.
(({BENCHMARK_VERSION = "2002-04-25" #:nodoc"})) should be (({BENCHMARK_VERSION = "2002-04-25" # :nodoc:}))
Also, went through and fixed up formatting for consistency.
=end
Associated revisions
- lib/benchmark.rb: Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
- lib/benchmark.rb: Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
- lib/benchmark.rb: Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
- lib/benchmark.rb: Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
- lib/benchmark.rb: Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
History
#1
[ruby-core:45423]
Updated by drbrain (Eric Hodel) almost 6 years ago
Can you drop the around GC.start on 214 like you did on 135 for Benchmark::Tms? This will let it link.
#2
[ruby-core:45457]
Updated by zzak (Zachary Scott) almost 6 years ago
- File 0002-Benchmark-documenation-formatting-bug-and-consistency.patch 0002-Benchmark-documenation-formatting-bug-and-consistency.patch added
Hi Eric,
I've added a new patch with the change you requested for GC.start
Thanks for your feedback!
#3
Updated by drbrain (Eric Hodel) almost 6 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
#4
[ruby-core:45526]
Updated by drbrain (Eric Hodel) almost 6 years ago
I also stripped out the emphasis for the "Generates:" lines entirely since the ri looks better that way, and re-wrapped the comment for Benchmark#bm to fit 80 lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e