Sha256: 6243c8e5069b987d6807f4d5a5e91ea73e306438cd1878facb367aa3597ce05d
Contents?: true
Size: 1.6 KB
Versions: 4
Compression:
Stored size: 1.6 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <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 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_hash</span> 69: {<span class="ruby-value str">"name"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@name</span>, <span class="ruby-value str">"sum"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@sum</span>, <span class="ruby-value str">"sumsq"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@sumsq</span>, <span class="ruby-value str">"mean"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">mean</span>, 70: <span class="ruby-value str">"sd"</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">sd</span>, <span class="ruby-value str">"min"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@min</span>, <span class="ruby-value str">"max"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@max</span>} 71: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems