rbatch 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.ja.md +14 -5
- data/README.md +164 -154
- data/bin/rbatch-init +21 -13
- data/doc/RBatch/Cmd.html +300 -316
- data/doc/RBatch/CmdException.html +146 -141
- data/doc/RBatch/CmdResult.html +467 -470
- data/doc/RBatch/Config.html +392 -433
- data/doc/RBatch/Controller.html +374 -0
- data/doc/RBatch/DoubleRunCheckException.html +146 -141
- data/doc/RBatch/DoubleRunChecker.html +258 -256
- data/doc/RBatch/Journal.html +332 -0
- data/doc/RBatch/Log.html +636 -805
- data/doc/RBatch/LogException.html +164 -0
- data/doc/RBatch/RBatch/RBatch/ConfigException.html +164 -0
- data/doc/RBatch/RBatch/RBatch.html +163 -0
- data/doc/RBatch/RBatch/VariablesException.html +164 -0
- data/doc/RBatch/RBatch.html +165 -0
- data/doc/RBatch/RunConf/Exception.html +146 -141
- data/doc/RBatch/RunConf.html +478 -532
- data/doc/RBatch/Variables.html +437 -0
- data/doc/RBatch.html +388 -862
- data/doc/created.rid +11 -9
- data/doc/index.html +178 -184
- data/doc/js/darkfish.js +9 -7
- data/doc/lib/rbatch/cmd_rb.html +46 -44
- data/doc/lib/rbatch/config_rb.html +42 -42
- data/doc/lib/rbatch/controller_rb.html +66 -0
- data/doc/lib/rbatch/double_run_checker_rb.html +42 -42
- data/doc/lib/rbatch/journal_rb.html +52 -0
- data/doc/lib/rbatch/log_rb.html +46 -46
- data/doc/lib/rbatch/run_conf_rb.html +42 -42
- data/doc/lib/rbatch/variables_rb.html +54 -0
- data/doc/lib/rbatch/version_rb.html +38 -38
- data/doc/lib/rbatch_rb.html +40 -52
- data/doc/rdoc.css +365 -308
- data/lib/rbatch/cmd.rb +15 -58
- data/lib/rbatch/config.rb +7 -7
- data/lib/rbatch/controller.rb +37 -61
- data/lib/rbatch/double_run_checker.rb +0 -0
- data/lib/rbatch/journal.rb +40 -0
- data/lib/rbatch/log.rb +71 -129
- data/lib/rbatch/run_conf.rb +13 -24
- data/lib/rbatch/variables.rb +82 -0
- data/lib/rbatch/version.rb +1 -1
- data/lib/rbatch.rb +7 -36
- data/sample/.rbatchrc +41 -7
- data/spec/01_rbach_spec.rb +99 -0
- data/spec/{cmd_spec.rb → rbatch/cmd_spec.rb} +40 -43
- data/spec/rbatch/config_spec.rb +67 -0
- data/spec/rbatch/controller_spec.rb +18 -0
- data/spec/{double_run_checker_spec.rb → rbatch/double_run_checker_spec.rb} +3 -0
- data/spec/rbatch/journal_spec.rb +29 -0
- data/spec/rbatch/log_spec.rb +350 -0
- data/spec/{run_conf_spec.rb → rbatch/run_conf_spec.rb} +13 -5
- data/spec/rbatch/variables_spec.rb +68 -0
- data/spec/spec_helper.rb +4 -5
- metadata +33 -17
- data/lib/rbatch/common_config.rb +0 -0
- data/spec/common_config_spec.rb +0 -85
- data/spec/config_spec.rb +0 -79
- data/spec/log_spec.rb +0 -430
- data/spec/rbatch_spec.rb +0 -22
data/doc/RBatch/CmdResult.html
CHANGED
@@ -1,496 +1,493 @@
|
|
1
|
-
<?xml version="1.0" encoding="
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
|
-
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
7
|
|
8
|
-
|
8
|
+
<title>Class: RBatch::CmdResult</title>
|
9
9
|
|
10
|
-
|
10
|
+
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
<script src="../js/quicksearch.js" type="text/javascript"
|
17
|
-
charset="utf-8"></script>
|
18
|
-
<script src="../js/darkfish.js" type="text/javascript"
|
19
|
-
charset="utf-8"></script>
|
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>
|
20
16
|
|
21
17
|
</head>
|
22
|
-
<body class="class">
|
18
|
+
<body id="top" class="class">
|
23
19
|
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
<div id="metadata">
|
21
|
+
<div id="home-metadata">
|
22
|
+
<div id="home-section" class="section">
|
27
23
|
<h3 class="section-header">
|
28
24
|
<a href="../index.html">Home</a>
|
29
25
|
<a href="../index.html#classes">Classes</a>
|
30
26
|
<a href="../index.html#methods">Methods</a>
|
31
27
|
</h3>
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
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="../lib/rbatch/cmd_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/rbatch/cmd.rb">lib/rbatch/cmd.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="class-metadata">
|
48
|
+
|
49
|
+
<!-- Parent Class -->
|
50
|
+
<div id="parent-class-section" class="section">
|
51
|
+
<h3 class="section-header">Parent</h3>
|
52
|
+
|
53
|
+
<p class="link">Object</p>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Method Quickref -->
|
64
|
+
<div id="method-list-section" class="section">
|
65
|
+
<h3 class="section-header">Methods</h3>
|
66
|
+
<ul class="link-list">
|
67
|
+
|
68
|
+
<li><a href="#method-c-new">::new</a></li>
|
69
|
+
|
70
|
+
<li><a href="#method-i-cmd_str">#cmd_str</a></li>
|
71
|
+
|
72
|
+
<li><a href="#method-i-status">#status</a></li>
|
73
|
+
|
74
|
+
<li><a href="#method-i-stderr">#stderr</a></li>
|
75
|
+
|
76
|
+
<li><a href="#method-i-stderr_file">#stderr_file</a></li>
|
77
|
+
|
78
|
+
<li><a href="#method-i-stdout">#stdout</a></li>
|
79
|
+
|
80
|
+
<li><a href="#method-i-stdout_file">#stdout_file</a></li>
|
81
|
+
|
82
|
+
<li><a href="#method-i-to_h">#to_h</a></li>
|
83
|
+
|
84
|
+
<li><a href="#method-i-to_s">#to_s</a></li>
|
85
|
+
|
86
|
+
</ul>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="project-metadata">
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<div id="classindex-section" class="section project-section">
|
98
|
+
<h3 class="section-header">Class/Module Index
|
99
|
+
<span class="search-toggle"><img src="../images/find.png"
|
100
|
+
height="16" width="16" alt="[+]"
|
101
|
+
title="show/hide quicksearch" /></span></h3>
|
102
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
103
|
+
<fieldset>
|
104
|
+
<legend>Quicksearch</legend>
|
105
|
+
<input type="text" name="quicksearch" value=""
|
106
|
+
class="quicksearch-field" />
|
107
|
+
</fieldset>
|
108
|
+
</form>
|
109
|
+
|
110
|
+
<ul class="link-list">
|
111
|
+
|
112
|
+
<li><a href="../RBatch.html">RBatch</a></li>
|
113
|
+
|
114
|
+
<li><a href="../RBatch/Cmd.html">RBatch::Cmd</a></li>
|
115
|
+
|
116
|
+
<li><a href="../RBatch/CmdException.html">RBatch::CmdException</a></li>
|
117
|
+
|
118
|
+
<li><a href="../RBatch/CmdResult.html">RBatch::CmdResult</a></li>
|
119
|
+
|
120
|
+
<li><a href="../RBatch/Config.html">RBatch::Config</a></li>
|
121
|
+
|
122
|
+
<li><a href="../RBatch/Controller.html">RBatch::Controller</a></li>
|
123
|
+
|
124
|
+
<li><a href="../RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
|
125
|
+
|
126
|
+
<li><a href="../RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
|
127
|
+
|
128
|
+
<li><a href="../RBatch/Journal.html">RBatch::Journal</a></li>
|
129
|
+
|
130
|
+
<li><a href="../RBatch/Log.html">RBatch::Log</a></li>
|
131
|
+
|
132
|
+
<li><a href="../RBatch/LogException.html">RBatch::LogException</a></li>
|
133
|
+
|
134
|
+
<li><a href="../RBatch/RBatch.html">RBatch::RBatch</a></li>
|
135
|
+
|
136
|
+
<li><a href="../RBatch/RBatch/RBatch.html">RBatch::RBatch::RBatch</a></li>
|
137
|
+
|
138
|
+
<li><a href="../RBatch/RBatch/RBatch/ConfigException.html">RBatch::RBatch::RBatch::ConfigException</a></li>
|
139
|
+
|
140
|
+
<li><a href="../RBatch/RBatch/VariablesException.html">RBatch::RBatch::VariablesException</a></li>
|
141
|
+
|
142
|
+
<li><a href="../RBatch/RunConf.html">RBatch::RunConf</a></li>
|
143
|
+
|
144
|
+
<li><a href="../RBatch/RunConf/Exception.html">RBatch::RunConf::Exception</a></li>
|
145
|
+
|
146
|
+
<li><a href="../RBatch/Variables.html">RBatch::Variables</a></li>
|
147
|
+
|
148
|
+
</ul>
|
149
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<div id="documentation">
|
157
|
+
<h1 class="class">RBatch::CmdResult</h1>
|
158
|
+
|
159
|
+
<div id="description" class="description">
|
160
|
+
|
161
|
+
</div><!-- description -->
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<!-- Methods -->
|
176
|
+
|
177
|
+
<div id="public-class-method-details" class="method-section section">
|
178
|
+
<h3 class="section-header">Public Class Methods</h3>
|
179
|
+
|
180
|
+
|
181
|
+
<div id="new-method" class="method-detail ">
|
182
|
+
<a name="method-c-new"></a>
|
183
|
+
|
184
|
+
|
185
|
+
<div class="method-heading">
|
186
|
+
<span class="method-name">new</span><span
|
187
|
+
class="method-args">(stdout_file, stderr_file, status, cmd_str)</span>
|
188
|
+
<span class="method-click-advice">click to toggle source</span>
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
<div class="method-description">
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<div class="method-source-code" id="new-source">
|
189
199
|
<pre>
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
id="cmd-str-source">
|
200
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 61</span>
|
201
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">stdout_file</span>, <span class="ruby-identifier">stderr_file</span>, <span class="ruby-identifier">status</span>, <span class="ruby-identifier">cmd_str</span>)
|
202
|
+
<span class="ruby-ivar">@stdout_file</span> = <span class="ruby-identifier">stdout_file</span>
|
203
|
+
<span class="ruby-ivar">@stderr_file</span> = <span class="ruby-identifier">stderr_file</span>
|
204
|
+
<span class="ruby-ivar">@status</span> = <span class="ruby-identifier">status</span>
|
205
|
+
<span class="ruby-ivar">@cmd_str</span> = <span class="ruby-identifier">cmd_str</span>
|
206
|
+
<span class="ruby-keyword">end</span></pre>
|
207
|
+
</div><!-- new-source -->
|
208
|
+
|
209
|
+
</div>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</div><!-- new-method -->
|
215
|
+
|
216
|
+
|
217
|
+
</div><!-- public-class-method-details -->
|
218
|
+
|
219
|
+
<div id="public-instance-method-details" class="method-section section">
|
220
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
221
|
+
|
222
|
+
|
223
|
+
<div id="cmd_str-method" class="method-detail ">
|
224
|
+
<a name="method-i-cmd_str"></a>
|
225
|
+
|
226
|
+
|
227
|
+
<div class="method-heading">
|
228
|
+
<span class="method-name">cmd_str</span><span
|
229
|
+
class="method-args">()</span>
|
230
|
+
<span class="method-click-advice">click to toggle source</span>
|
231
|
+
</div>
|
232
|
+
|
233
|
+
|
234
|
+
<div class="method-description">
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<div class="method-source-code" id="cmd_str-source">
|
232
241
|
<pre>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
id="status-source">
|
242
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 70</span>
|
243
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">cmd_str</span> ; <span class="ruby-ivar">@cmd_str</span> ; <span class="ruby-keyword">end</span></pre>
|
244
|
+
</div><!-- cmd_str-source -->
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
</div><!-- cmd_str-method -->
|
252
|
+
|
253
|
+
|
254
|
+
<div id="status-method" class="method-detail ">
|
255
|
+
<a name="method-i-status"></a>
|
256
|
+
|
257
|
+
|
258
|
+
<div class="method-heading">
|
259
|
+
<span class="method-name">status</span><span
|
260
|
+
class="method-args">()</span>
|
261
|
+
<span class="method-click-advice">click to toggle source</span>
|
262
|
+
</div>
|
263
|
+
|
264
|
+
|
265
|
+
<div class="method-description">
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
<div class="method-source-code" id="status-source">
|
264
272
|
<pre>
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
id="stderr-source">
|
273
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 69</span>
|
274
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">status</span> ; <span class="ruby-ivar">@status</span> ; <span class="ruby-keyword">end</span></pre>
|
275
|
+
</div><!-- status-source -->
|
276
|
+
|
277
|
+
</div>
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
</div><!-- status-method -->
|
283
|
+
|
284
|
+
|
285
|
+
<div id="stderr-method" class="method-detail ">
|
286
|
+
<a name="method-i-stderr"></a>
|
287
|
+
|
288
|
+
|
289
|
+
<div class="method-heading">
|
290
|
+
<span class="method-name">stderr</span><span
|
291
|
+
class="method-args">()</span>
|
292
|
+
<span class="method-click-advice">click to toggle source</span>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
|
296
|
+
<div class="method-description">
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
<div class="method-source-code" id="stderr-source">
|
296
303
|
<pre>
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
id="stderr-file-source">
|
304
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 74</span>
|
305
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stderr</span>
|
306
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stderr_file</span>)
|
307
|
+
<span class="ruby-keyword">end</span></pre>
|
308
|
+
</div><!-- stderr-source -->
|
309
|
+
|
310
|
+
</div>
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</div><!-- stderr-method -->
|
316
|
+
|
317
|
+
|
318
|
+
<div id="stderr_file-method" class="method-detail ">
|
319
|
+
<a name="method-i-stderr_file"></a>
|
320
|
+
|
321
|
+
|
322
|
+
<div class="method-heading">
|
323
|
+
<span class="method-name">stderr_file</span><span
|
324
|
+
class="method-args">()</span>
|
325
|
+
<span class="method-click-advice">click to toggle source</span>
|
326
|
+
</div>
|
327
|
+
|
328
|
+
|
329
|
+
<div class="method-description">
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
<div class="method-source-code" id="stderr_file-source">
|
330
336
|
<pre>
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
id="stdout-source">
|
337
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 68</span>
|
338
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stderr_file</span> ; <span class="ruby-ivar">@stderr_file</span> ; <span class="ruby-keyword">end</span></pre>
|
339
|
+
</div><!-- stderr_file-source -->
|
340
|
+
|
341
|
+
</div>
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
</div><!-- stderr_file-method -->
|
347
|
+
|
348
|
+
|
349
|
+
<div id="stdout-method" class="method-detail ">
|
350
|
+
<a name="method-i-stdout"></a>
|
351
|
+
|
352
|
+
|
353
|
+
<div class="method-heading">
|
354
|
+
<span class="method-name">stdout</span><span
|
355
|
+
class="method-args">()</span>
|
356
|
+
<span class="method-click-advice">click to toggle source</span>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
|
360
|
+
<div class="method-description">
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
<div class="method-source-code" id="stdout-source">
|
362
367
|
<pre>
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
id="stdout-file-source">
|
368
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 71</span>
|
369
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stdout</span>
|
370
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stdout_file</span>)
|
371
|
+
<span class="ruby-keyword">end</span></pre>
|
372
|
+
</div><!-- stdout-source -->
|
373
|
+
|
374
|
+
</div>
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
</div><!-- stdout-method -->
|
380
|
+
|
381
|
+
|
382
|
+
<div id="stdout_file-method" class="method-detail ">
|
383
|
+
<a name="method-i-stdout_file"></a>
|
384
|
+
|
385
|
+
|
386
|
+
<div class="method-heading">
|
387
|
+
<span class="method-name">stdout_file</span><span
|
388
|
+
class="method-args">()</span>
|
389
|
+
<span class="method-click-advice">click to toggle source</span>
|
390
|
+
</div>
|
391
|
+
|
392
|
+
|
393
|
+
<div class="method-description">
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
<div class="method-source-code" id="stdout_file-source">
|
396
400
|
<pre>
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
id="to-h-source">
|
401
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 67</span>
|
402
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stdout_file</span> ; <span class="ruby-ivar">@stdout_file</span> ; <span class="ruby-keyword">end</span></pre>
|
403
|
+
</div><!-- stdout_file-source -->
|
404
|
+
|
405
|
+
</div>
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</div><!-- stdout_file-method -->
|
411
|
+
|
412
|
+
|
413
|
+
<div id="to_h-method" class="method-detail ">
|
414
|
+
<a name="method-i-to_h"></a>
|
415
|
+
|
416
|
+
|
417
|
+
<div class="method-heading">
|
418
|
+
<span class="method-name">to_h</span><span
|
419
|
+
class="method-args">()</span>
|
420
|
+
<span class="method-click-advice">click to toggle source</span>
|
421
|
+
</div>
|
422
|
+
|
423
|
+
|
424
|
+
<div class="method-description">
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
<div class="method-source-code" id="to_h-source">
|
428
431
|
<pre>
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
id="to-s-source">
|
432
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 77</span>
|
433
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_h</span>
|
434
|
+
{<span class="ruby-value">:cmd_str</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@cmd_str</span>,<span class="ruby-value">:stdout</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">stdout</span>, <span class="ruby-value">:stderr</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">stderr</span>, <span class="ruby-value">:status</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">status</span>}
|
435
|
+
<span class="ruby-keyword">end</span></pre>
|
436
|
+
</div><!-- to_h-source -->
|
437
|
+
|
438
|
+
</div>
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
</div><!-- to_h-method -->
|
444
|
+
|
445
|
+
|
446
|
+
<div id="to_s-method" class="method-detail ">
|
447
|
+
<a name="method-i-to_s"></a>
|
448
|
+
|
449
|
+
|
450
|
+
<div class="method-heading">
|
451
|
+
<span class="method-name">to_s</span><span
|
452
|
+
class="method-args">()</span>
|
453
|
+
<span class="method-click-advice">click to toggle source</span>
|
454
|
+
</div>
|
455
|
+
|
456
|
+
|
457
|
+
<div class="method-description">
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
<div class="method-source-code" id="to_s-source">
|
462
464
|
<pre>
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
<div id="validator-badges">
|
490
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
491
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
492
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
493
|
-
</div>
|
465
|
+
<span class="ruby-comment"># File lib/rbatch/cmd.rb, line 80</span>
|
466
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
467
|
+
<span class="ruby-identifier">to_h</span>.<span class="ruby-identifier">to_s</span>
|
468
|
+
<span class="ruby-keyword">end</span></pre>
|
469
|
+
</div><!-- to_s-source -->
|
470
|
+
|
471
|
+
</div>
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
</div><!-- to_s-method -->
|
477
|
+
|
478
|
+
|
479
|
+
</div><!-- public-instance-method-details -->
|
480
|
+
|
481
|
+
</div><!-- 5Buntitled-5D -->
|
482
|
+
|
483
|
+
|
484
|
+
</div><!-- documentation -->
|
485
|
+
|
486
|
+
<div id="validator-badges">
|
487
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
488
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
489
|
+
Rdoc Generator</a> 2</small>.</p>
|
490
|
+
</div>
|
494
491
|
|
495
492
|
</body>
|
496
493
|
</html>
|