doc/rdoc/classes/RFuzz/Sampler.src/M000079.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/Sampler.src/M000079.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>mean (RFuzz::Sampler)</title> + <title>to_hash (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 74</span> -74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mean</span> -75: <span class="ruby-ivar">@sum</span> <span class="ruby-operator">/</span> <span class="ruby-ivar">@n</span> -76: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/stats.rb, line 68</span> +68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span> +69: {<span class="ruby-value str">&quot;name&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@name</span>, <span class="ruby-value str">&quot;sum&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@sum</span>, <span class="ruby-value str">&quot;sumsq&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@sumsq</span>, <span class="ruby-value str">&quot;mean&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mean</span>, +70: <span class="ruby-value str">&quot;sd&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sd</span>, <span class="ruby-value str">&quot;min&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@min</span>, <span class="ruby-value str">&quot;max&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@max</span>} +71: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file