doc/RubyProf/DotPrinter.html in ruby-prof-0.15.5 vs doc/RubyProf/DotPrinter.html in ruby-prof-0.15.6

- old
+ new

@@ -206,11 +206,11 @@ <p>output - Any IO object, including STDOUT or a file. The default value is STDOUT.</p> <p>options - Hash of print options. See <a -href="AbstractPrinter.html#method-i-setup_options">setup_options</a> for +href="AbstractPrinter.html#method-i-setup_options">setup_options</a> for more information.</p> <p>When profiling results that cover a large number of method calls it helps to use the :min_percent option, for example:</p> @@ -223,10 +223,10 @@ <div class="method-source-code" id="print-source"> <pre><span class="ruby-comment"># File lib/ruby-prof/printers/dot_printer.rb, line 43</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">print</span>(<span class="ruby-identifier">output</span> = <span class="ruby-constant">STDOUT</span>, <span class="ruby-identifier">options</span> = {}) <span class="ruby-ivar">@output</span> = <span class="ruby-identifier">output</span> <span class="ruby-identifier">setup_options</span>(<span class="ruby-identifier">options</span>) - + <span class="ruby-identifier">puts</span> <span class="ruby-string">&#39;digraph &quot;Profile&quot; {&#39;</span> <span class="ruby-comment">#puts &quot;label=\&quot;#{mode_name} &gt;=#{min_percent}%\\nTotal: #{total_time}\&quot;;&quot;</span> <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;labelloc=t;&quot;</span> <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;labeljust=l;&quot;</span> <span class="ruby-identifier">print_threads</span>