ariete 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +3 -2
- data/README_jp.md +3 -2
- data/Rakefile +3 -3
- data/doc/Ariete.html +172 -190
- data/doc/CaptureStdTest.html +191 -214
- data/doc/LICENSE.html +74 -77
- data/doc/Rakefile.html +77 -80
- data/doc/created.rid +4 -4
- data/doc/images/add.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/index.html +65 -53
- data/doc/js/darkfish.js +99 -62
- data/doc/js/jquery.js +15 -29
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +119 -339
- data/doc/table_of_contents.html +69 -0
- data/lib/ariete.rb +3 -3
- metadata +41 -36
- data/doc/js/quicksearch.js +0 -114
- data/doc/js/thickbox-compressed.js +0 -10
- data/doc/lib/ariete_rb.html +0 -54
- data/doc/test/tb_capture_std_rb.html +0 -54
data/doc/CaptureStdTest.html
CHANGED
@@ -1,277 +1,254 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
5
4
|
<head>
|
6
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class CaptureStdTest - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
7
10
|
|
8
|
-
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
9
14
|
|
10
|
-
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
11
21
|
|
12
|
-
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
13
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
14
|
-
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
15
|
-
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
16
22
|
|
17
|
-
</head>
|
18
23
|
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>test/tb_capture_std.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
19
53
|
|
20
|
-
|
21
|
-
|
22
|
-
<div id="home-section" class="section">
|
23
|
-
<h3 class="section-header">
|
24
|
-
<a href="./index.html">Home</a>
|
25
|
-
<a href="./index.html#classes">Classes</a>
|
26
|
-
<a href="./index.html#methods">Methods</a>
|
27
|
-
</h3>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div id="file-metadata">
|
32
|
-
<div id="file-list-section" class="section">
|
33
|
-
<h3 class="section-header">In Files</h3>
|
34
|
-
<div class="section-body">
|
35
|
-
<ul>
|
36
|
-
|
37
|
-
<li><a href="./test/tb_capture_std_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
-
class="thickbox" title="test/tb_capture_std.rb">test/tb_capture_std.rb</a></li>
|
39
|
-
|
40
|
-
</ul>
|
41
|
-
</div>
|
42
|
-
</div>
|
54
|
+
|
55
|
+
</div>
|
43
56
|
|
44
|
-
|
45
|
-
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Test::Unit::TestCase
|
63
|
+
|
64
|
+
</nav>
|
46
65
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
<div id="parent-class-section" class="section">
|
51
|
-
<h3 class="section-header">Parent</h3>
|
52
|
-
|
53
|
-
<p class="link">Test::Unit::TestCase</p>
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
66
|
+
<!-- Included Modules -->
|
67
|
+
<nav id="includes-section" class="section">
|
68
|
+
<h3 class="section-header">Included Modules</h3>
|
57
69
|
|
58
|
-
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
|
73
|
+
<li><a class="include" href="Ariete.html">Ariete</a>
|
74
|
+
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
</nav>
|
59
78
|
|
60
|
-
|
79
|
+
<!-- Method Quickref -->
|
80
|
+
<nav id="method-list-section" class="section">
|
81
|
+
<h3 class="section-header">Methods</h3>
|
61
82
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<li><a href="#method-i-test_stdout">#test_stdout</a></li>
|
73
|
-
|
74
|
-
</ul>
|
75
|
-
</div>
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<!-- Included Modules -->
|
80
|
-
<div id="includes-section" class="section">
|
81
|
-
<h3 class="section-header">Included Modules</h3>
|
82
|
-
<ul class="link-list">
|
83
|
-
|
84
|
-
|
85
|
-
<li><a class="include" href="Ariete.html">Ariete</a></li>
|
86
|
-
|
87
|
-
|
88
|
-
</ul>
|
89
|
-
</div>
|
90
|
-
|
91
|
-
</div>
|
92
|
-
|
93
|
-
<div id="project-metadata">
|
94
|
-
|
95
|
-
|
96
|
-
<div id="fileindex-section" class="section project-section">
|
97
|
-
<h3 class="section-header">Files</h3>
|
98
|
-
<ul>
|
99
|
-
|
100
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
101
|
-
|
102
|
-
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
103
|
-
|
104
|
-
</ul>
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
<div id="classindex-section" class="section project-section">
|
109
|
-
<h3 class="section-header">Class/Module Index
|
110
|
-
<span class="search-toggle"><img src="./images/find.png"
|
111
|
-
height="16" width="16" alt="[+]"
|
112
|
-
title="show/hide quicksearch" /></span></h3>
|
113
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
114
|
-
<fieldset>
|
115
|
-
<legend>Quicksearch</legend>
|
116
|
-
<input type="text" name="quicksearch" value=""
|
117
|
-
class="quicksearch-field" />
|
118
|
-
</fieldset>
|
119
|
-
</form>
|
120
|
-
|
121
|
-
<ul class="link-list">
|
122
|
-
|
123
|
-
<li><a href="./Ariete.html">Ariete</a></li>
|
124
|
-
|
125
|
-
<li><a href="./CaptureStdTest.html">CaptureStdTest</a></li>
|
126
|
-
|
127
|
-
</ul>
|
128
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
129
|
-
</div>
|
83
|
+
<ul class="link-list">
|
84
|
+
|
85
|
+
<li><a href="#method-i-output">#output</a>
|
86
|
+
|
87
|
+
<li><a href="#method-i-test_stderr">#test_stderr</a>
|
88
|
+
|
89
|
+
<li><a href="#method-i-test_stdout">#test_stdout</a>
|
90
|
+
|
91
|
+
</ul>
|
92
|
+
</nav>
|
130
93
|
|
131
|
-
|
132
|
-
</div>
|
133
94
|
</div>
|
134
95
|
|
135
|
-
<div id="
|
136
|
-
<
|
96
|
+
<div id="project-metadata">
|
97
|
+
<nav id="fileindex-section" class="section project-section">
|
98
|
+
<h3 class="section-header">Pages</h3>
|
99
|
+
|
100
|
+
<ul>
|
101
|
+
|
102
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
103
|
+
|
104
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
105
|
+
|
106
|
+
</ul>
|
107
|
+
</nav>
|
137
108
|
|
138
|
-
<
|
139
|
-
|
140
|
-
</div><!-- description -->
|
109
|
+
<nav id="classindex-section" class="section project-section">
|
110
|
+
<h3 class="section-header">Class and Module Index</h3>
|
141
111
|
|
112
|
+
<ul class="link-list">
|
113
|
+
|
114
|
+
<li><a href="./Ariete.html">Ariete</a>
|
115
|
+
|
116
|
+
<li><a href="./CaptureStdTest.html">CaptureStdTest</a>
|
117
|
+
|
118
|
+
</ul>
|
119
|
+
</nav>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
</nav>
|
123
|
+
|
124
|
+
<div id="documentation">
|
125
|
+
<h1 class="class">class CaptureStdTest</h1>
|
126
|
+
|
127
|
+
<div id="description" class="description">
|
142
128
|
|
129
|
+
</div><!-- description -->
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
143
135
|
|
144
|
-
|
145
|
-
<div id="5Buntitled-5D" class="documentation-section">
|
146
|
-
|
147
136
|
|
148
|
-
|
137
|
+
|
149
138
|
|
150
|
-
|
139
|
+
|
151
140
|
|
152
|
-
|
141
|
+
|
153
142
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
143
|
+
<!-- Methods -->
|
144
|
+
|
145
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
146
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
158
147
|
|
159
|
-
|
160
|
-
|
161
|
-
|
148
|
+
|
149
|
+
<div id="method-i-output" class="method-detail ">
|
150
|
+
|
151
|
+
<div class="method-heading">
|
152
|
+
<span class="method-name">output</span><span
|
153
|
+
class="method-args">(str)</span>
|
154
|
+
<span class="method-click-advice">click to toggle source</span>
|
155
|
+
</div>
|
156
|
+
|
162
157
|
|
158
|
+
<div class="method-description">
|
159
|
+
|
163
160
|
|
164
|
-
<div class="method-heading">
|
165
|
-
<span class="method-name">output</span><span
|
166
|
-
class="method-args">(str)</span>
|
167
|
-
<span class="method-click-advice">click to toggle source</span>
|
168
|
-
</div>
|
169
161
|
|
170
162
|
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
<div class="method-source-code" id="output-source">
|
178
|
-
<pre>
|
179
|
-
<span class="ruby-comment"># File test/tb_capture_std.rb, line 18</span>
|
163
|
+
|
164
|
+
<div class="method-source-code" id="output-source">
|
165
|
+
<pre><span class="ruby-comment"># File test/tb_capture_std.rb, line 18</span>
|
180
166
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">output</span>(<span class="ruby-identifier">str</span>)
|
181
167
|
<span class="ruby-identifier">puts</span> <span class="ruby-node">"#{str} is a kind of rabbit."</span>
|
182
168
|
<span class="ruby-identifier">warn</span> <span class="ruby-node">"#{str} means 'Lop' in Italian"</span>
|
183
169
|
<span class="ruby-keyword">end</span></pre>
|
184
|
-
|
185
|
-
|
186
|
-
</div>
|
187
|
-
|
170
|
+
</div><!-- output-source -->
|
188
171
|
|
172
|
+
</div>
|
189
173
|
|
190
|
-
|
191
|
-
</div><!-- output-method -->
|
174
|
+
|
192
175
|
|
193
|
-
|
194
|
-
|
195
|
-
|
176
|
+
|
177
|
+
</div><!-- output-method -->
|
178
|
+
|
179
|
+
|
180
|
+
<div id="method-i-test_stderr" class="method-detail ">
|
181
|
+
|
182
|
+
<div class="method-heading">
|
183
|
+
<span class="method-name">test_stderr</span><span
|
184
|
+
class="method-args">()</span>
|
185
|
+
<span class="method-click-advice">click to toggle source</span>
|
186
|
+
</div>
|
187
|
+
|
196
188
|
|
189
|
+
<div class="method-description">
|
190
|
+
|
197
191
|
|
198
|
-
<div class="method-heading">
|
199
|
-
<span class="method-name">test_stderr</span><span
|
200
|
-
class="method-args">()</span>
|
201
|
-
<span class="method-click-advice">click to toggle source</span>
|
202
|
-
</div>
|
203
192
|
|
204
193
|
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
<div class="method-source-code" id="test_stderr-source">
|
212
|
-
<pre>
|
213
|
-
<span class="ruby-comment"># File test/tb_capture_std.rb, line 13</span>
|
194
|
+
|
195
|
+
<div class="method-source-code" id="test_stderr-source">
|
196
|
+
<pre><span class="ruby-comment"># File test/tb_capture_std.rb, line 13</span>
|
214
197
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">test_stderr</span>
|
215
198
|
<span class="ruby-identifier">result</span> = <span class="ruby-identifier">capture_stderr</span> {<span class="ruby-identifier">output</span>(<span class="ruby-string">"Ariete"</span>)}
|
216
199
|
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">"Ariete means 'Lop' in Italian\n"</span>, <span class="ruby-identifier">result</span>)
|
217
200
|
<span class="ruby-keyword">end</span></pre>
|
218
|
-
|
219
|
-
|
220
|
-
</div>
|
221
|
-
|
201
|
+
</div><!-- test_stderr-source -->
|
222
202
|
|
203
|
+
</div>
|
223
204
|
|
224
|
-
|
225
|
-
</div><!-- test_stderr-method -->
|
205
|
+
|
226
206
|
|
227
|
-
|
228
|
-
|
229
|
-
<a name="method-i-test_stdout"></a>
|
207
|
+
|
208
|
+
</div><!-- test_stderr-method -->
|
230
209
|
|
210
|
+
|
211
|
+
<div id="method-i-test_stdout" class="method-detail ">
|
212
|
+
|
213
|
+
<div class="method-heading">
|
214
|
+
<span class="method-name">test_stdout</span><span
|
215
|
+
class="method-args">()</span>
|
216
|
+
<span class="method-click-advice">click to toggle source</span>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
|
220
|
+
<div class="method-description">
|
221
|
+
|
231
222
|
|
232
|
-
<div class="method-heading">
|
233
|
-
<span class="method-name">test_stdout</span><span
|
234
|
-
class="method-args">()</span>
|
235
|
-
<span class="method-click-advice">click to toggle source</span>
|
236
|
-
</div>
|
237
223
|
|
238
224
|
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<div class="method-source-code" id="test_stdout-source">
|
246
|
-
<pre>
|
247
|
-
<span class="ruby-comment"># File test/tb_capture_std.rb, line 8</span>
|
225
|
+
|
226
|
+
<div class="method-source-code" id="test_stdout-source">
|
227
|
+
<pre><span class="ruby-comment"># File test/tb_capture_std.rb, line 8</span>
|
248
228
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">test_stdout</span>
|
249
229
|
<span class="ruby-identifier">result</span> = <span class="ruby-identifier">capture_stdout</span> {<span class="ruby-identifier">output</span>(<span class="ruby-string">"Ariete"</span>)}
|
250
230
|
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-string">"Ariete is a kind of rabbit.\n"</span>, <span class="ruby-identifier">result</span>)
|
251
231
|
<span class="ruby-keyword">end</span></pre>
|
252
|
-
|
253
|
-
|
254
|
-
</div>
|
255
|
-
|
232
|
+
</div><!-- test_stdout-source -->
|
256
233
|
|
234
|
+
</div>
|
257
235
|
|
258
|
-
|
259
|
-
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
</div><!-- test_stdout-method -->
|
260
240
|
|
261
|
-
|
262
|
-
</div><!-- public-instance-method-details -->
|
263
241
|
|
264
|
-
</
|
242
|
+
</section><!-- public-instance-method-details -->
|
265
243
|
|
244
|
+
</section><!-- 5Buntitled-5D -->
|
266
245
|
|
267
|
-
|
246
|
+
</div><!-- documentation -->
|
268
247
|
|
269
|
-
<div id="validator-badges">
|
270
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
271
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
272
|
-
Rdoc Generator</a> 2</small>.</p>
|
273
|
-
</div>
|
274
248
|
|
275
|
-
|
276
|
-
</
|
249
|
+
<footer id="validator-badges">
|
250
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
251
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
252
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
253
|
+
</footer>
|
277
254
|
|