rushcheck 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -3
- data/Rakefile.in +37 -0
- data/data/rushcheck/doc/rushcheck.thtml +20 -0
- data/data/rushcheck/rdoc/classes/FalseClass.html +17 -17
- data/data/rushcheck/rdoc/classes/FalseClass.src/M000006.html +18 -0
- data/data/rushcheck/rdoc/classes/FalseClass.src/M000007.html +18 -0
- data/data/rushcheck/rdoc/classes/FalseClass.src/M000008.html +18 -0
- data/data/rushcheck/rdoc/classes/Float.html +21 -21
- data/data/rushcheck/rdoc/classes/Float.src/M000015.html +21 -0
- data/data/rushcheck/rdoc/classes/Float.src/M000016.html +18 -0
- data/data/rushcheck/rdoc/classes/Float.src/M000017.html +22 -0
- data/data/rushcheck/rdoc/classes/Float.src/M000018.html +20 -0
- data/data/rushcheck/rdoc/classes/Integer.html +28 -29
- data/data/rushcheck/rdoc/classes/Integer.src/M000001.html +18 -0
- data/data/rushcheck/rdoc/classes/Integer.src/M000002.html +18 -0
- data/data/rushcheck/rdoc/classes/Integer.src/M000003.html +25 -0
- data/data/rushcheck/rdoc/classes/Integer.src/M000004.html +19 -0
- data/data/rushcheck/rdoc/classes/NilClass.html +17 -17
- data/data/rushcheck/rdoc/classes/NilClass.src/M000023.html +18 -0
- data/data/rushcheck/rdoc/classes/NilClass.src/M000024.html +18 -0
- data/data/rushcheck/rdoc/classes/NilClass.src/M000025.html +18 -0
- data/data/rushcheck/rdoc/classes/RandomArray.html +16 -16
- data/data/rushcheck/rdoc/classes/RandomArray.src/M000009.html +19 -0
- data/data/rushcheck/rdoc/classes/RandomArray.src/M000010.html +35 -0
- data/data/rushcheck/rdoc/classes/RandomArray.src/M000011.html +22 -0
- data/data/rushcheck/rdoc/classes/RandomHash.html +17 -17
- data/data/rushcheck/rdoc/classes/RandomHash.src/M000012.html +19 -0
- data/data/rushcheck/rdoc/classes/RandomHash.src/M000013.html +26 -0
- data/data/rushcheck/rdoc/classes/RandomHash.src/M000014.html +22 -0
- data/data/rushcheck/rdoc/classes/RandomProc.html +22 -22
- data/data/rushcheck/rdoc/classes/RandomProc.src/M000019.html +18 -0
- data/data/rushcheck/rdoc/classes/RandomProc.src/M000020.html +30 -0
- data/data/rushcheck/rdoc/classes/RandomProc.src/M000021.html +26 -0
- data/data/rushcheck/rdoc/classes/RandomProc.src/M000022.html +20 -0
- data/data/rushcheck/rdoc/classes/RushCheck.html +218 -0
- data/data/rushcheck/rdoc/classes/RushCheck.src/M000033.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck.src/M000034.html +27 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Arbitrary.html +136 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Arbitrary.src/M000035.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Assertion.html +187 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000073.html +20 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000074.html +50 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.html +135 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.src/M000058.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.html +270 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000066.html +23 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000067.html +22 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000068.html +22 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000069.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000070.html +38 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000071.html +55 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000072.html +50 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.html +558 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000075.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000076.html +41 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000077.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000078.html +20 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000079.html +28 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000080.html +24 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000081.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000082.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000083.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000084.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000085.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000086.html +24 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000087.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000088.html +21 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000089.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000090.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000091.html +23 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000092.html +19 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000093.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000094.html +24 -0
- data/data/rushcheck/rdoc/classes/RushCheck/GuardException.html +111 -0
- data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.html +201 -0
- data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000041.html +22 -0
- data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000042.html +32 -0
- data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000043.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Property.html +174 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Property.src/M000105.html +26 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Property.src/M000106.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.html +146 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000039.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000040.html +19 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.html +196 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000036.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000037.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000038.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Result.html +214 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000095.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000096.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000097.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.html +252 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000061.html +23 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000062.html +21 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000063.html +21 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000064.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000065.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestExausted.html +113 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestFailed.html +155 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestFailed.src/M000099.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestOk.html +113 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.html +172 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000059.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000060.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestResult.html +160 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TestResult.src/M000100.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.html +326 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000044.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000045.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000048.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000049.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000050.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000052.html +19 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000053.html +21 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000054.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000056.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000057.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.html +200 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000101.html +18 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000102.html +20 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000103.html +21 -0
- data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000104.html +18 -0
- data/data/rushcheck/rdoc/classes/SpecialString.html +5 -5
- data/data/rushcheck/rdoc/classes/SpecialString.src/M000005.html +37 -0
- data/data/rushcheck/rdoc/classes/String.html +21 -21
- data/data/rushcheck/rdoc/classes/String.src/M000026.html +24 -0
- data/data/rushcheck/rdoc/classes/String.src/M000027.html +18 -0
- data/data/rushcheck/rdoc/classes/String.src/M000028.html +25 -0
- data/data/rushcheck/rdoc/classes/String.src/M000029.html +22 -0
- data/data/rushcheck/rdoc/classes/TrueClass.html +17 -17
- data/data/rushcheck/rdoc/classes/TrueClass.src/M000030.html +18 -0
- data/data/rushcheck/rdoc/classes/TrueClass.src/M000031.html +18 -0
- data/data/rushcheck/rdoc/classes/TrueClass.src/M000032.html +18 -0
- data/data/rushcheck/rdoc/created.rid +1 -1
- data/data/rushcheck/rdoc/files/rushcheck/arbitrary_rb.html +5 -8
- data/data/rushcheck/rdoc/files/rushcheck/array_rb.html +1 -1
- data/data/rushcheck/rdoc/files/rushcheck/assertion_rb.html +2 -3
- data/data/rushcheck/rdoc/files/rushcheck/bool_rb.html +3 -2
- data/data/rushcheck/rdoc/files/rushcheck/config_rb.html +3 -4
- data/data/rushcheck/rdoc/files/rushcheck/float_rb.html +3 -3
- data/data/rushcheck/rdoc/files/rushcheck/gen_rb.html +5 -5
- data/data/rushcheck/rdoc/files/rushcheck/guard_rb.html +2 -2
- data/data/rushcheck/rdoc/files/rushcheck/hash_rb.html +1 -1
- data/data/rushcheck/rdoc/files/rushcheck/integer_rb.html +2 -2
- data/data/rushcheck/rdoc/files/rushcheck/proc_rb.html +1 -1
- data/data/rushcheck/rdoc/files/rushcheck/property_rb.html +3 -4
- data/data/rushcheck/rdoc/files/rushcheck/random_rb.html +3 -6
- data/data/rushcheck/rdoc/files/rushcheck/result_rb.html +3 -4
- data/data/rushcheck/rdoc/files/rushcheck/string_rb.html +4 -4
- data/data/rushcheck/rdoc/files/rushcheck/testable_rb.html +2 -3
- data/data/rushcheck/rdoc/files/rushcheck/testoptions_rb.html +3 -3
- data/data/rushcheck/rdoc/files/rushcheck/testresult_rb.html +1 -1
- data/data/rushcheck/rdoc/files/rushcheck_rb.html +5 -4
- data/data/rushcheck/rdoc/fr_class_index.html +20 -20
- data/data/rushcheck/rdoc/fr_method_index.html +106 -105
- data/lib/rushcheck.rb +1 -0
- data/lib/rushcheck/assertion.rb +9 -4
- data/lib/rushcheck/gen.rb +1 -1
- data/lib/rushcheck/version.rb +8 -0
- data/lib/rushcheck/version.rb.in +8 -0
- metadata +144 -2
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>split (RushCheck::RandomGen)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rushcheck/random.rb, line 36</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">split</span>
|
15
|
+
<span class="ruby-identifier">raise_not_implemented_error</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>gen_range (RushCheck::RandomGen)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rushcheck/random.rb, line 47</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gen_range</span>
|
15
|
+
<span class="ruby-identifier">raise_not_implemented_error</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,214 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: RushCheck::Result</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">RushCheck::Result</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rushcheck/result_rb.html">
|
59
|
+
rushcheck/result.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000096">new</a>
|
90
|
+
<a href="#M000095">nothing</a>
|
91
|
+
<a href="#M000098">property</a>
|
92
|
+
<a href="#M000097">result</a>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<!-- if includes -->
|
100
|
+
<div id="includes">
|
101
|
+
<h3 class="section-bar">Included Modules</h3>
|
102
|
+
|
103
|
+
<div id="includes-list">
|
104
|
+
<span class="include-name"><a href="Testable.html">RushCheck::Testable</a></span>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div id="section">
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<div id="attribute-list">
|
115
|
+
<h3 class="section-bar">Attributes</h3>
|
116
|
+
|
117
|
+
<div class="name-list">
|
118
|
+
<table>
|
119
|
+
<tr class="top-aligned-row context-row">
|
120
|
+
<td class="context-item-name">arguments</td>
|
121
|
+
<td class="context-item-value"> [R] </td>
|
122
|
+
<td class="context-item-desc"></td>
|
123
|
+
</tr>
|
124
|
+
<tr class="top-aligned-row context-row">
|
125
|
+
<td class="context-item-name">ok</td>
|
126
|
+
<td class="context-item-value"> [R] </td>
|
127
|
+
<td class="context-item-desc"></td>
|
128
|
+
</tr>
|
129
|
+
<tr class="top-aligned-row context-row">
|
130
|
+
<td class="context-item-name">stamp</td>
|
131
|
+
<td class="context-item-value"> [R] </td>
|
132
|
+
<td class="context-item-desc"></td>
|
133
|
+
</tr>
|
134
|
+
</table>
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<!-- if method_list -->
|
141
|
+
<div id="methods">
|
142
|
+
<h3 class="section-bar">Public Class methods</h3>
|
143
|
+
|
144
|
+
<div id="method-M000096" class="method-detail">
|
145
|
+
<a name="M000096"></a>
|
146
|
+
|
147
|
+
<div class="method-heading">
|
148
|
+
<a href="Result.src/M000096.html" target="Code" class="method-signature"
|
149
|
+
onclick="popupCode('Result.src/M000096.html');return false;">
|
150
|
+
<span class="method-name">new</span><span class="method-args">(ok=nil, stamp=[], arguments=[])</span>
|
151
|
+
</a>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
<div class="method-description">
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
<div id="method-M000095" class="method-detail">
|
159
|
+
<a name="M000095"></a>
|
160
|
+
|
161
|
+
<div class="method-heading">
|
162
|
+
<a href="Result.src/M000095.html" target="Code" class="method-signature"
|
163
|
+
onclick="popupCode('Result.src/M000095.html');return false;">
|
164
|
+
<span class="method-name">nothing</span><span class="method-args">()</span>
|
165
|
+
</a>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<div class="method-description">
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
173
|
+
|
174
|
+
<div id="method-M000098" class="method-detail">
|
175
|
+
<a name="M000098"></a>
|
176
|
+
|
177
|
+
<div class="method-heading">
|
178
|
+
<span class="method-name">property</span><span class="method-args">()</span>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="method-description">
|
182
|
+
<p>
|
183
|
+
Alias for <a href="Result.html#M000097">result</a>
|
184
|
+
</p>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
|
188
|
+
<div id="method-M000097" class="method-detail">
|
189
|
+
<a name="M000097"></a>
|
190
|
+
|
191
|
+
<div class="method-heading">
|
192
|
+
<a href="Result.src/M000097.html" target="Code" class="method-signature"
|
193
|
+
onclick="popupCode('Result.src/M000097.html');return false;">
|
194
|
+
<span class="method-name">result</span><span class="method-args">()</span>
|
195
|
+
</a>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
<div class="method-description">
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
|
206
|
+
</div>
|
207
|
+
|
208
|
+
|
209
|
+
<div id="validator-badges">
|
210
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</body>
|
214
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>nothing (RushCheck::Result)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rushcheck/result.rb, line 14</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">nothing</span>
|
15
|
+
<span class="ruby-constant">RushCheck</span><span class="ruby-operator">::</span><span class="ruby-constant">Result</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">false</span>)
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>new (RushCheck::Result)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rushcheck/result.rb, line 19</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ok</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">stamp</span>=[], <span class="ruby-identifier">arguments</span>=[])
|
15
|
+
<span class="ruby-ivar">@ok</span>, <span class="ruby-ivar">@stamp</span>, <span class="ruby-ivar">@arguments</span> = <span class="ruby-identifier">ok</span>, <span class="ruby-identifier">stamp</span>, <span class="ruby-identifier">arguments</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>result (RushCheck::Result)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File rushcheck/result.rb, line 23</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">result</span>
|
15
|
+
<span class="ruby-constant">RushCheck</span><span class="ruby-operator">::</span><span class="ruby-constant">Property</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@ok</span>, <span class="ruby-ivar">@stamp</span>, <span class="ruby-ivar">@arguments</span>)
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,252 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: RushCheck::StdGen</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">RushCheck::StdGen</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/rushcheck/random_rb.html">
|
59
|
+
rushcheck/random.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
<a href="StdGen.html">StdGen</a> is a class (and the unique class) which
|
84
|
+
includes <a href="RandomGen.html">RandomGen</a>. This class provides a
|
85
|
+
functional random number generator.
|
86
|
+
</p>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="method-list">
|
94
|
+
<h3 class="section-bar">Methods</h3>
|
95
|
+
|
96
|
+
<div class="name-list">
|
97
|
+
<a href="#M000062">gen_next</a>
|
98
|
+
<a href="#M000064">gen_range</a>
|
99
|
+
<a href="#M000061">new</a>
|
100
|
+
<a href="#M000063">split</a>
|
101
|
+
<a href="#M000065">to_s</a>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
<!-- if includes -->
|
109
|
+
<div id="includes">
|
110
|
+
<h3 class="section-bar">Included Modules</h3>
|
111
|
+
|
112
|
+
<div id="includes-list">
|
113
|
+
<span class="include-name"><a href="RandomGen.html">RushCheck::RandomGen</a></span>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
<div id="section">
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<div id="attribute-list">
|
124
|
+
<h3 class="section-bar">Attributes</h3>
|
125
|
+
|
126
|
+
<div class="name-list">
|
127
|
+
<table>
|
128
|
+
<tr class="top-aligned-row context-row">
|
129
|
+
<td class="context-item-name">left</td>
|
130
|
+
<td class="context-item-value"> [R] </td>
|
131
|
+
<td class="context-item-desc">
|
132
|
+
left and right are two seeds of random number generator.
|
133
|
+
|
134
|
+
</td>
|
135
|
+
</tr>
|
136
|
+
<tr class="top-aligned-row context-row">
|
137
|
+
<td class="context-item-name">right</td>
|
138
|
+
<td class="context-item-value"> [R] </td>
|
139
|
+
<td class="context-item-desc">
|
140
|
+
left and right are two seeds of random number generator.
|
141
|
+
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
</table>
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
<!-- if method_list -->
|
151
|
+
<div id="methods">
|
152
|
+
<h3 class="section-bar">Public Class methods</h3>
|
153
|
+
|
154
|
+
<div id="method-M000061" class="method-detail">
|
155
|
+
<a name="M000061"></a>
|
156
|
+
|
157
|
+
<div class="method-heading">
|
158
|
+
<a href="StdGen.src/M000061.html" target="Code" class="method-signature"
|
159
|
+
onclick="popupCode('StdGen.src/M000061.html');return false;">
|
160
|
+
<span class="method-name">new</span><span class="method-args">(left=nil, right=nil)</span>
|
161
|
+
</a>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div class="method-description">
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
169
|
+
|
170
|
+
<div id="method-M000062" class="method-detail">
|
171
|
+
<a name="M000062"></a>
|
172
|
+
|
173
|
+
<div class="method-heading">
|
174
|
+
<a href="StdGen.src/M000062.html" target="Code" class="method-signature"
|
175
|
+
onclick="popupCode('StdGen.src/M000062.html');return false;">
|
176
|
+
<span class="method-name">gen_next</span><span class="method-args">()</span>
|
177
|
+
</a>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div class="method-description">
|
181
|
+
<p>
|
182
|
+
<a href="StdGen.html#M000062">gen_next</a> returns an array with length 2.
|
183
|
+
The first component of result is a random integer. The last component is a
|
184
|
+
new <a href="StdGen.html">StdGen</a> object as a new random number
|
185
|
+
generator. See also <a href="RandomGen.html">RandomGen</a>.
|
186
|
+
</p>
|
187
|
+
</div>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<div id="method-M000064" class="method-detail">
|
191
|
+
<a name="M000064"></a>
|
192
|
+
|
193
|
+
<div class="method-heading">
|
194
|
+
<a href="StdGen.src/M000064.html" target="Code" class="method-signature"
|
195
|
+
onclick="popupCode('StdGen.src/M000064.html');return false;">
|
196
|
+
<span class="method-name">gen_range</span><span class="method-args">()</span>
|
197
|
+
</a>
|
198
|
+
</div>
|
199
|
+
|
200
|
+
<div class="method-description">
|
201
|
+
<p>
|
202
|
+
<a href="StdGen.html#M000064">gen_range</a> returns an array with length 2
|
203
|
+
which represents a bound of generated random numbers.
|
204
|
+
</p>
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div id="method-M000063" class="method-detail">
|
209
|
+
<a name="M000063"></a>
|
210
|
+
|
211
|
+
<div class="method-heading">
|
212
|
+
<a href="StdGen.src/M000063.html" target="Code" class="method-signature"
|
213
|
+
onclick="popupCode('StdGen.src/M000063.html');return false;">
|
214
|
+
<span class="method-name">split</span><span class="method-args">()</span>
|
215
|
+
</a>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<div class="method-description">
|
219
|
+
<p>
|
220
|
+
split returns an array with length 2. The components are two new <a
|
221
|
+
href="StdGen.html">StdGen</a> objects as two new random number generators.
|
222
|
+
</p>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div id="method-M000065" class="method-detail">
|
227
|
+
<a name="M000065"></a>
|
228
|
+
|
229
|
+
<div class="method-heading">
|
230
|
+
<a href="StdGen.src/M000065.html" target="Code" class="method-signature"
|
231
|
+
onclick="popupCode('StdGen.src/M000065.html');return false;">
|
232
|
+
<span class="method-name">to_s</span><span class="method-args">()</span>
|
233
|
+
</a>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class="method-description">
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
|
244
|
+
</div>
|
245
|
+
|
246
|
+
|
247
|
+
<div id="validator-badges">
|
248
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
249
|
+
</div>
|
250
|
+
|
251
|
+
</body>
|
252
|
+
</html>
|