doc/rdoc/classes/RFuzz/RandomGenerator.src/M000054.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/RandomGenerator.src/M000054.html in rfuzz-0.9
- old
+ new
@@ -3,16 +3,18 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>bytes (RFuzz::RandomGenerator)</title>
+ <title>byte_array (RFuzz::RandomGenerator)</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/random.rb, line 83</span>
-83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>(<span class="ruby-identifier">count</span>)
-84: <span class="ruby-ivar">@rnd</span>.<span class="ruby-identifier">data</span>(<span class="ruby-identifier">count</span>)
-85: <span class="ruby-keyword kw">end</span></pre>
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/random.rb, line 76</span>
+76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">byte_array</span>(<span class="ruby-identifier">count</span>,<span class="ruby-identifier">length</span>=<span class="ruby-value">100</span>)
+77: <span class="ruby-identifier">list</span> = []
+78: <span class="ruby-identifier">count</span>.<span class="ruby-identifier">times</span> { <span class="ruby-identifier">list</span> <span class="ruby-operator"><<</span> <span class="ruby-ivar">@rnd</span>.<span class="ruby-identifier">data</span>(<span class="ruby-identifier">num</span>(<span class="ruby-identifier">length</span>)) }
+79: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">list</span>
+80: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file