doc/RubyProf/MethodInfo.html in ruby-prof-0.14.1 vs doc/RubyProf/MethodInfo.html in ruby-prof-0.14.2

- old
+ new

@@ -208,11 +208,11 @@ <div class="method-source-code" id="aggregate_children-source"> <pre><span class="ruby-comment"># File lib/ruby-prof/method_info.rb, line 105</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">aggregate_children</span> - <span class="ruby-comment"># Group call info&#39;s based on their targets</span> + <span class="ruby-comment"># Group call info's based on their targets</span> <span class="ruby-identifier">groups</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">children</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span> <span class="ruby-identifier">key</span> = <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">target</span> (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">||=</span> []) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">call_info</span> <span class="ruby-identifier">hash</span> <span class="ruby-keyword">end</span> @@ -250,10 +250,10 @@ <div class="method-source-code" id="aggregate_parents-source"> <pre><span class="ruby-comment"># File lib/ruby-prof/method_info.rb, line 92</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">aggregate_parents</span> - <span class="ruby-comment"># Group call info&#39;s based on their parents</span> + <span class="ruby-comment"># Group call info's based on their parents</span> <span class="ruby-identifier">groups</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">call_infos</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">call_info</span><span class="ruby-operator">|</span> <span class="ruby-identifier">key</span> = <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">call_info</span>.<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">target</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">self</span> (<span class="ruby-identifier">hash</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">||=</span> []) <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">call_info</span> <span class="ruby-identifier">hash</span> <span class="ruby-keyword">end</span>