doc/rdoc/classes/RFuzz/Sampler.src/M000072.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/Sampler.src/M000072.html in rfuzz-0.9

- old
+ new

@@ -3,21 +3,17 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>reset (RFuzz::Sampler)</title> + <title>new (RFuzz::Sampler)</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 25</span> -25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span> -26: <span class="ruby-ivar">@sum</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span> -27: <span class="ruby-ivar">@sumsq</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span> -28: <span class="ruby-ivar">@last_time</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">new</span> -29: <span class="ruby-ivar">@n</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span> -30: <span class="ruby-ivar">@min</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span> -31: <span class="ruby-ivar">@max</span> = <span class="ruby-value">0</span><span class="ruby-value">.0</span> -32: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/stats.rb, line 19</span> +19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>) +20: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span> +21: <span class="ruby-identifier">reset</span> +22: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file