rubu 0.0.5 → 0.0.6
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.
- checksums.yaml +5 -5
- data/CHANGELOG.rdoc +2 -0
- data/doc/Array.html +82 -81
- data/doc/Rubu.html +48 -44
- data/doc/Rubu/Fork.html +52 -51
- data/doc/Rubu/Info.html +56 -51
- data/doc/Rubu/Mark.html +90 -89
- data/doc/Rubu/Move.html +75 -70
- data/doc/Rubu/MoveStyles.html +50 -49
- data/doc/Rubu/Order.html +56 -51
- data/doc/Rubu/RubyCommand.html +50 -49
- data/doc/Rubu/ShellCommand.html +51 -50
- data/doc/Rubu/State.html +64 -59
- data/doc/Rubu/Step.html +102 -100
- data/doc/Rubu/StepAged.html +48 -47
- data/doc/Rubu/StepAlways.html +47 -46
- data/doc/Rubu/StepMark.html +48 -47
- data/doc/Rubu/Trail.html +195 -124
- data/doc/Rubu/Var.html +56 -51
- data/doc/Rubu/Walk.html +45 -44
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +250 -93
- data/doc/file.CHANGELOG.html +32 -32
- data/doc/file.README.html +32 -33
- data/doc/file_list.html +29 -31
- data/doc/frames.html +7 -16
- data/doc/index.html +32 -33
- data/doc/js/app.js +147 -74
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +451 -281
- data/doc/top-level-namespace.html +34 -36
- data/example/bin/rubu_example +8 -0
- data/example/build/hello +0 -0
- data/example/build/world.o +0 -0
- data/lib/rubu.rb +5 -0
- data/lib/version.rb +1 -1
- metadata +3 -4
data/doc/Rubu/Order.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Rubu::Order
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.16
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Rubu::Order";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Rubu/Order.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (O)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Rubu.html" title="Rubu (module)">Rubu</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Order</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Rubu::Order
|
62
|
+
<div id="content"><h1>Class: Rubu::Order
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
88
84
|
|
85
|
+
|
89
86
|
|
90
|
-
|
91
87
|
|
92
|
-
|
93
88
|
|
94
89
|
|
95
90
|
|
96
|
-
|
97
|
-
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/rubu.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -124,8 +124,12 @@
|
|
124
124
|
|
125
125
|
|
126
126
|
</div>
|
127
|
-
<h2>Constant Summary</h2>
|
128
127
|
|
128
|
+
<h2>
|
129
|
+
Constant Summary
|
130
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
131
|
+
</h2>
|
132
|
+
|
129
133
|
<dl class="constants">
|
130
134
|
|
131
135
|
<dt id="order-classvariable" class="">@@order =
|
@@ -145,7 +149,7 @@
|
|
145
149
|
|
146
150
|
<h2>
|
147
151
|
Class Method Summary
|
148
|
-
<small
|
152
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
149
153
|
</h2>
|
150
154
|
|
151
155
|
<ul class="summary">
|
@@ -153,7 +157,7 @@
|
|
153
157
|
<li class="public ">
|
154
158
|
<span class="summary_signature">
|
155
159
|
|
156
|
-
<a href="
|
160
|
+
<a href="#[]-class_method" title="[] (class method)">.<strong>[]</strong>(key) ⇒ Object </a>
|
157
161
|
|
158
162
|
|
159
163
|
|
@@ -177,7 +181,7 @@
|
|
177
181
|
<li class="public ">
|
178
182
|
<span class="summary_signature">
|
179
183
|
|
180
|
-
<a href="
|
184
|
+
<a href="#[]=-class_method" title="[]= (class method)">.<strong>[]=</strong>(key, val) ⇒ Object </a>
|
181
185
|
|
182
186
|
|
183
187
|
|
@@ -210,7 +214,7 @@
|
|
210
214
|
<div class="method_details first">
|
211
215
|
<h3 class="signature first" id="[]-class_method">
|
212
216
|
|
213
|
-
|
217
|
+
.<strong>[]</strong>(key) ⇒ <tt>Object</tt>
|
214
218
|
|
215
219
|
|
216
220
|
|
@@ -240,7 +244,7 @@
|
|
240
244
|
<td>
|
241
245
|
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 418</span>
|
242
246
|
|
243
|
-
<span class='kw'>def</span> <span class='const'>Order</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
247
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Order (class)">Order</a></span></span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
244
248
|
<span class='cvar'>@@order</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
245
249
|
<span class='kw'>end</span></pre>
|
246
250
|
</td>
|
@@ -251,7 +255,7 @@
|
|
251
255
|
<div class="method_details ">
|
252
256
|
<h3 class="signature " id="[]=-class_method">
|
253
257
|
|
254
|
-
|
258
|
+
.<strong>[]=</strong>(key, val) ⇒ <tt>Object</tt>
|
255
259
|
|
256
260
|
|
257
261
|
|
@@ -281,7 +285,7 @@
|
|
281
285
|
<td>
|
282
286
|
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 413</span>
|
283
287
|
|
284
|
-
<span class='kw'>def</span> <span class='const'>Order</span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
288
|
+
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::Order (class)">Order</a></span></span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
285
289
|
<span class='cvar'>@@order</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
286
290
|
<span class='kw'>end</span></pre>
|
287
291
|
</td>
|
@@ -293,11 +297,12 @@
|
|
293
297
|
|
294
298
|
</div>
|
295
299
|
|
296
|
-
|
297
|
-
Generated on
|
300
|
+
<div id="footer">
|
301
|
+
Generated on Tue Sep 11 08:02:18 2018 by
|
298
302
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
299
|
-
0.
|
303
|
+
0.9.16 (ruby-2.5.1).
|
300
304
|
</div>
|
301
305
|
|
306
|
+
</div>
|
302
307
|
</body>
|
303
308
|
</html>
|
data/doc/Rubu/RubyCommand.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Rubu::RubyCommand
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.16
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Rubu::RubyCommand";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Rubu/RubyCommand.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (R)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Rubu.html" title="Rubu (module)">Rubu</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">RubyCommand</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Rubu::RubyCommand
|
62
|
+
<div id="content"><h1>Class: Rubu::RubyCommand
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,21 +81,25 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/rubu.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
@@ -127,7 +127,7 @@
|
|
127
127
|
|
128
128
|
<h2>
|
129
129
|
Instance Method Summary
|
130
|
-
<small
|
130
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
131
131
|
</h2>
|
132
132
|
|
133
133
|
<ul class="summary">
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<li class="public ">
|
136
136
|
<span class="summary_signature">
|
137
137
|
|
138
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
138
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(desc = nil, &cmd) ⇒ RubyCommand </a>
|
139
139
|
|
140
140
|
|
141
141
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<li class="public ">
|
162
162
|
<span class="summary_signature">
|
163
163
|
|
164
|
-
<a href="#run-instance_method" title="#run (instance method)"
|
164
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> ⇒ Object </a>
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -202,7 +202,7 @@
|
|
202
202
|
<div class="method_details first">
|
203
203
|
<h3 class="signature first" id="initialize-instance_method">
|
204
204
|
|
205
|
-
|
205
|
+
#<strong>initialize</strong>(desc = nil, &cmd) ⇒ <tt><span class='object_link'><a href="" title="Rubu::RubyCommand (class)">RubyCommand</a></span></tt>
|
206
206
|
|
207
207
|
|
208
208
|
|
@@ -254,7 +254,7 @@
|
|
254
254
|
<div class="method_details first">
|
255
255
|
<h3 class="signature first" id="run-instance_method">
|
256
256
|
|
257
|
-
|
257
|
+
#<strong>run</strong> ⇒ <tt>Object</tt>
|
258
258
|
|
259
259
|
|
260
260
|
|
@@ -299,7 +299,7 @@
|
|
299
299
|
<span class='kw'>begin</span>
|
300
300
|
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='id identifier rubyid_instance_eval'>instance_eval</span><span class='lparen'>(</span> <span class='op'>&</span><span class='ivar'>@cmd</span> <span class='rparen'>)</span>
|
301
301
|
<span class='ivar'>@status</span> <span class='op'>=</span> <span class='symbol'>:success</span>
|
302
|
-
<span class='kw'>if</span> <span class='ivar'>@desc</span> <span class='op'>&&</span> <span class='const'>Order</span><span class='lbracket'>[</span> <span class='symbol'>:verbose</span> <span class='rbracket'>]</span>
|
302
|
+
<span class='kw'>if</span> <span class='ivar'>@desc</span> <span class='op'>&&</span> <span class='const'><span class='object_link'><a href="Order.html" title="Rubu::Order (class)">Order</a></span></span><span class='lbracket'>[</span> <span class='symbol'>:verbose</span> <span class='rbracket'>]</span>
|
303
303
|
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='ivar'>@desc</span>
|
304
304
|
<span class='kw'>end</span>
|
305
305
|
<span class='kw'>rescue</span> <span class='op'>=></span> <span class='id identifier rubyid_f'>f</span>
|
@@ -318,11 +318,12 @@
|
|
318
318
|
|
319
319
|
</div>
|
320
320
|
|
321
|
-
|
322
|
-
Generated on
|
321
|
+
<div id="footer">
|
322
|
+
Generated on Tue Sep 11 08:02:18 2018 by
|
323
323
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
324
|
-
0.
|
324
|
+
0.9.16 (ruby-2.5.1).
|
325
325
|
</div>
|
326
326
|
|
327
|
+
</div>
|
327
328
|
</body>
|
328
329
|
</html>
|
data/doc/Rubu/ShellCommand.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Rubu::ShellCommand
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.16
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Rubu::ShellCommand";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Rubu/ShellCommand.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (S)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Rubu.html" title="Rubu (module)">Rubu</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ShellCommand</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Rubu::ShellCommand
|
62
|
+
<div id="content"><h1>Class: Rubu::ShellCommand
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName"><span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,21 +81,25 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/rubu.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
<h2>Overview</h2><div class="docstring">
|
105
105
|
<div class="discussion">
|
@@ -127,7 +127,7 @@
|
|
127
127
|
|
128
128
|
<h2>
|
129
129
|
Instance Method Summary
|
130
|
-
<small
|
130
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
131
131
|
</h2>
|
132
132
|
|
133
133
|
<ul class="summary">
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<li class="public ">
|
136
136
|
<span class="summary_signature">
|
137
137
|
|
138
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
138
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(cmd) ⇒ ShellCommand </a>
|
139
139
|
|
140
140
|
|
141
141
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<li class="public ">
|
162
162
|
<span class="summary_signature">
|
163
163
|
|
164
|
-
<a href="#run-instance_method" title="#run (instance method)"
|
164
|
+
<a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> ⇒ Object </a>
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -202,7 +202,7 @@
|
|
202
202
|
<div class="method_details first">
|
203
203
|
<h3 class="signature first" id="initialize-instance_method">
|
204
204
|
|
205
|
-
|
205
|
+
#<strong>initialize</strong>(cmd) ⇒ <tt><span class='object_link'><a href="" title="Rubu::ShellCommand (class)">ShellCommand</a></span></tt>
|
206
206
|
|
207
207
|
|
208
208
|
|
@@ -252,7 +252,7 @@
|
|
252
252
|
<div class="method_details first">
|
253
253
|
<h3 class="signature first" id="run-instance_method">
|
254
254
|
|
255
|
-
|
255
|
+
#<strong>run</strong> ⇒ <tt>Object</tt>
|
256
256
|
|
257
257
|
|
258
258
|
|
@@ -310,12 +310,12 @@
|
|
310
310
|
<span class='kw'>begin</span>
|
311
311
|
<span class='id identifier rubyid_stdout'>stdout</span><span class='comma'>,</span> <span class='id identifier rubyid_stderr'>stderr</span><span class='comma'>,</span> <span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='const'>Open3</span><span class='period'>.</span><span class='id identifier rubyid_capture3'>capture3</span><span class='lparen'>(</span> <span class='ivar'>@cmd</span> <span class='rparen'>)</span>
|
312
312
|
|
313
|
-
<span class='kw'>if</span> <span class='const'>Order</span><span class='lbracket'>[</span> <span class='symbol'>:verbose</span> <span class='rbracket'>]</span>
|
313
|
+
<span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Order.html" title="Rubu::Order (class)">Order</a></span></span><span class='lbracket'>[</span> <span class='symbol'>:verbose</span> <span class='rbracket'>]</span>
|
314
314
|
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='ivar'>@cmd</span>
|
315
315
|
<span class='kw'>end</span>
|
316
316
|
|
317
317
|
<span class='kw'>if</span> <span class='id identifier rubyid_status'>status</span><span class='period'>.</span><span class='id identifier rubyid_exitstatus'>exitstatus</span> <span class='op'>==</span> <span class='int'>0</span>
|
318
|
-
<span class='kw'>if</span> <span class='const'>Order</span><span class='lbracket'>[</span> <span class='symbol'>:sh_warn</span> <span class='rbracket'>]</span> <span class='op'>&&</span> <span class='kw'>not</span><span class='lparen'>(</span> <span class='id identifier rubyid_stderr'>stderr</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='rparen'>)</span>
|
318
|
+
<span class='kw'>if</span> <span class='const'><span class='object_link'><a href="Order.html" title="Rubu::Order (class)">Order</a></span></span><span class='lbracket'>[</span> <span class='symbol'>:sh_warn</span> <span class='rbracket'>]</span> <span class='op'>&&</span> <span class='kw'>not</span><span class='lparen'>(</span> <span class='id identifier rubyid_stderr'>stderr</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='rparen'>)</span>
|
319
319
|
<span class='id identifier rubyid_warn'>warn</span><span class='lparen'>(</span> <span class='id identifier rubyid_stderr'>stderr</span> <span class='rparen'>)</span>
|
320
320
|
<span class='kw'>end</span>
|
321
321
|
<span class='ivar'>@status</span> <span class='op'>=</span> <span class='symbol'>:success</span>
|
@@ -342,11 +342,12 @@
|
|
342
342
|
|
343
343
|
</div>
|
344
344
|
|
345
|
-
|
346
|
-
Generated on
|
345
|
+
<div id="footer">
|
346
|
+
Generated on Tue Sep 11 08:02:18 2018 by
|
347
347
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
348
|
-
0.
|
348
|
+
0.9.16 (ruby-2.5.1).
|
349
349
|
</div>
|
350
350
|
|
351
|
+
</div>
|
351
352
|
</body>
|
352
353
|
</html>
|