rbatch 2.1.1 → 2.1.2

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