doc/rdoc/classes/RFuzz/StatsTracker.src/M000067.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/StatsTracker.src/M000067.html in rfuzz-0.9
- old
+ new
@@ -3,16 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>sample (RFuzz::StatsTracker)</title>
+ <title>mark (RFuzz::StatsTracker)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/stats.rb, line 133</span>
-133: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sample</span>(<span class="ruby-identifier">event</span>)
-134: <span class="ruby-ivar">@stats</span>[<span class="ruby-identifier">event</span>].<span class="ruby-identifier">tick</span>
-135: <span class="ruby-keyword kw">end</span></pre>
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/stats.rb, line 128</span>
+128: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mark</span>(<span class="ruby-identifier">event</span>)
+129: <span class="ruby-ivar">@stats</span>[<span class="ruby-identifier">event</span>] <span class="ruby-operator">||=</span> <span class="ruby-constant">RFuzz</span><span class="ruby-operator">::</span><span class="ruby-constant">Sampler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">event</span>)
+130: <span class="ruby-ivar">@stats</span>[<span class="ruby-identifier">event</span>].<span class="ruby-identifier">mark</span>
+131: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file