doc/RubyProf.html in ruby-prof-0.14.1 vs doc/RubyProf.html in ruby-prof-0.14.2
- old
+ new
@@ -119,14 +119,13 @@
module RubyProf
</h1>
<section class="description">
-<p>The call info visitor class does a depth-first traversal across a
-thread's call stack. At each call_info node, the visitor executes the
-block provided in the visit method. The block is passed two parameters,
-the event and the call_info instance. Event will be either :enter or
-:exit.</p>
+<p>The call info visitor class does a depth-first traversal across a thread’s
+call stack. At each call_info node, the visitor executes the block
+provided in the visit method. The block is passed two parameters, the
+event and the call_info instance. Event will be either :enter or :exit.</p>
<pre class="ruby"><span class="ruby-identifier">visitor</span> = <span class="ruby-constant">RubyProf</span><span class="ruby-operator">::</span><span class="ruby-constant">CallInfoVisitor</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">result</span>.<span class="ruby-identifier">threads</span>.<span class="ruby-identifier">first</span>)
<span class="ruby-identifier">method_names</span> = <span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>