rbatch 1.13.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/CHANGELOG +15 -0
  2. data/README.ja.md +81 -49
  3. data/README.md +88 -63
  4. data/Rakefile +2 -31
  5. data/bin/rbatch-init +57 -32
  6. data/{rdocs → doc}/RBatch/Cmd.html +66 -59
  7. data/{rdocs → doc}/RBatch/CmdException.html +9 -3
  8. data/{rdocs → doc}/RBatch/CmdResult.html +40 -34
  9. data/{rdocs → doc}/RBatch/CommonConfig/Exception.html +9 -3
  10. data/{rdocs → doc}/RBatch/CommonConfig.html +22 -17
  11. data/{rdocs → doc}/RBatch/Config/Exception.html +9 -3
  12. data/{rdocs → doc}/RBatch/Config.html +21 -16
  13. data/{rdocs/RBatchException.html → doc/RBatch/DoubleRunCheckException.html} +33 -30
  14. data/doc/RBatch/DoubleRunChecker.html +277 -0
  15. data/{rdocs → doc}/RBatch/Log.html +134 -138
  16. data/doc/RBatch/RunConf/Exception.html +159 -0
  17. data/doc/RBatch/RunConf.html +557 -0
  18. data/doc/RBatch.html +655 -0
  19. data/doc/created.rid +9 -0
  20. data/{rdocs → doc}/index.html +46 -20
  21. data/{rdocs → doc}/lib/rbatch/cmd_rb.html +4 -2
  22. data/{rdocs → doc}/lib/rbatch/common_config_rb.html +2 -2
  23. data/{rdocs → doc}/lib/rbatch/config_rb.html +2 -2
  24. data/doc/lib/rbatch/double_run_checker_rb.html +56 -0
  25. data/{rdocs → doc}/lib/rbatch/log_rb.html +2 -2
  26. data/doc/lib/rbatch/run_conf_rb.html +56 -0
  27. data/{rdocs → doc}/lib/rbatch/version_rb.html +2 -2
  28. data/{rdocs → doc}/lib/rbatch_rb.html +7 -3
  29. data/lib/rbatch/cmd.rb +20 -23
  30. data/lib/rbatch/common_config.rb +2 -3
  31. data/lib/rbatch/config.rb +1 -2
  32. data/lib/rbatch/double_run_checker.rb +24 -0
  33. data/lib/rbatch/log.rb +37 -59
  34. data/lib/rbatch/run_conf.rb +109 -0
  35. data/lib/rbatch/version.rb +1 -1
  36. data/lib/rbatch.rb +37 -56
  37. data/spec/{cmd_test.spec → cmd_spec.rb} +6 -6
  38. data/spec/common_config_spec.rb +54 -0
  39. data/spec/{config_test.spec → config_spec.rb} +2 -1
  40. data/spec/double_run_checker_spec.rb +10 -0
  41. data/spec/{log_test.spec → log_spec.rb} +22 -22
  42. data/spec/rbatch_spec.rb +24 -0
  43. data/spec/run_conf_spec.rb +85 -0
  44. metadata +66 -65
  45. data/rdocs/RBatch.html +0 -713
  46. data/rdocs/created.rid +0 -7
  47. data/spec/rbatch_test.spec +0 -25
  48. data/test/cases/test_cmd.rb +0 -134
  49. data/test/cases/test_common_config.rb +0 -41
  50. data/test/cases/test_config.rb +0 -41
  51. data/test/cases/test_log.rb +0 -613
  52. data/test/mocks/PrintArgs.exe +0 -0
  53. data/test/mocks/win_cmd.exe +0 -0
  54. /data/{rdocs → doc}/images/brick.png +0 -0
  55. /data/{rdocs → doc}/images/brick_link.png +0 -0
  56. /data/{rdocs → doc}/images/bug.png +0 -0
  57. /data/{rdocs → doc}/images/bullet_black.png +0 -0
  58. /data/{rdocs → doc}/images/bullet_toggle_minus.png +0 -0
  59. /data/{rdocs → doc}/images/bullet_toggle_plus.png +0 -0
  60. /data/{rdocs → doc}/images/date.png +0 -0
  61. /data/{rdocs → doc}/images/find.png +0 -0
  62. /data/{rdocs → doc}/images/loadingAnimation.gif +0 -0
  63. /data/{rdocs → doc}/images/macFFBgHack.png +0 -0
  64. /data/{rdocs → doc}/images/package.png +0 -0
  65. /data/{rdocs → doc}/images/page_green.png +0 -0
  66. /data/{rdocs → doc}/images/page_white_text.png +0 -0
  67. /data/{rdocs → doc}/images/page_white_width.png +0 -0
  68. /data/{rdocs → doc}/images/plugin.png +0 -0
  69. /data/{rdocs → doc}/images/ruby.png +0 -0
  70. /data/{rdocs → doc}/images/tag_green.png +0 -0
  71. /data/{rdocs → doc}/images/wrench.png +0 -0
  72. /data/{rdocs → doc}/images/wrench_orange.png +0 -0
  73. /data/{rdocs → doc}/images/zoom.png +0 -0
  74. /data/{rdocs → doc}/js/darkfish.js +0 -0
  75. /data/{rdocs → doc}/js/jquery.js +0 -0
  76. /data/{rdocs → doc}/js/quicksearch.js +0 -0
  77. /data/{rdocs → doc}/js/thickbox-compressed.js +0 -0
  78. /data/{rdocs → doc}/rdoc.css +0 -0
data/doc/RBatch.html ADDED
@@ -0,0 +1,655 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: RBatch</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
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>
20
+
21
+ </head>
22
+ <body class="module">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="./index.html">Home</a>
29
+ <a href="./index.html#classes">Classes</a>
30
+ <a href="./index.html#methods">Methods</a>
31
+ </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/config_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/rbatch/config.rb">lib/rbatch/config.rb</a></li>
43
+
44
+ <li><a href="./lib/rbatch/version_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
45
+ class="thickbox" title="lib/rbatch/version.rb">lib/rbatch/version.rb</a></li>
46
+
47
+ <li><a href="./lib/rbatch/run_conf_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
48
+ class="thickbox" title="lib/rbatch/run_conf.rb">lib/rbatch/run_conf.rb</a></li>
49
+
50
+ <li><a href="./lib/rbatch/cmd_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
51
+ class="thickbox" title="lib/rbatch/cmd.rb">lib/rbatch/cmd.rb</a></li>
52
+
53
+ <li><a href="./lib/rbatch/common_config_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
54
+ class="thickbox" title="lib/rbatch/common_config.rb">lib/rbatch/common_config.rb</a></li>
55
+
56
+ <li><a href="./lib/rbatch/log_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
57
+ class="thickbox" title="lib/rbatch/log.rb">lib/rbatch/log.rb</a></li>
58
+
59
+ <li><a href="./lib/rbatch/double_run_checker_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
60
+ class="thickbox" title="lib/rbatch/double_run_checker.rb">lib/rbatch/double_run_checker.rb</a></li>
61
+
62
+ <li><a href="./lib/rbatch_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
63
+ class="thickbox" title="lib/rbatch.rb">lib/rbatch.rb</a></li>
64
+
65
+ </ul>
66
+ </div>
67
+ </div>
68
+
69
+
70
+ </div>
71
+
72
+ <div id="class-metadata">
73
+
74
+ <!-- Parent Class -->
75
+
76
+
77
+ <!-- Namespace Contents -->
78
+
79
+ <div id="namespace-list-section" class="section">
80
+ <h3 class="section-header">Namespace</h3>
81
+ <ul class="link-list">
82
+
83
+ <li><span class="type">MODULE</span> <a href="RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
84
+
85
+ <li><span class="type">CLASS</span> <a href="RBatch/Cmd.html">RBatch::Cmd</a></li>
86
+
87
+ <li><span class="type">CLASS</span> <a href="RBatch/CmdException.html">RBatch::CmdException</a></li>
88
+
89
+ <li><span class="type">CLASS</span> <a href="RBatch/CmdResult.html">RBatch::CmdResult</a></li>
90
+
91
+ <li><span class="type">CLASS</span> <a href="RBatch/CommonConfig.html">RBatch::CommonConfig</a></li>
92
+
93
+ <li><span class="type">CLASS</span> <a href="RBatch/Config.html">RBatch::Config</a></li>
94
+
95
+ <li><span class="type">CLASS</span> <a href="RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
96
+
97
+ <li><span class="type">CLASS</span> <a href="RBatch/Log.html">RBatch::Log</a></li>
98
+
99
+ <li><span class="type">CLASS</span> <a href="RBatch/RunConf.html">RBatch::RunConf</a></li>
100
+
101
+ </ul>
102
+ </div>
103
+
104
+
105
+ <!-- Method Quickref -->
106
+
107
+ <div id="method-list-section" class="section">
108
+ <h3 class="section-header">Methods</h3>
109
+ <ul class="link-list">
110
+
111
+ <li><a href="#method-i-cmd">#cmd</a></li>
112
+
113
+ <li><a href="#method-i-common_config">#common_config</a></li>
114
+
115
+ <li><a href="#method-i-conf_dir">#conf_dir</a></li>
116
+
117
+ <li><a href="#method-i-config">#config</a></li>
118
+
119
+ <li><a href="#method-i-home_dir">#home_dir</a></li>
120
+
121
+ <li><a href="#method-i-init">#init</a></li>
122
+
123
+ <li><a href="#method-i-journal">#journal</a></li>
124
+
125
+ <li><a href="#method-i-log_dir">#log_dir</a></li>
126
+
127
+ <li><a href="#method-i-program_base">#program_base</a></li>
128
+
129
+ <li><a href="#method-i-program_name">#program_name</a></li>
130
+
131
+ <li><a href="#method-i-run_conf">#run_conf</a></li>
132
+
133
+ <li><a href="#method-i-run_conf_path">#run_conf_path</a></li>
134
+
135
+ </ul>
136
+ </div>
137
+
138
+
139
+ <!-- Included Modules -->
140
+
141
+ </div>
142
+
143
+ <div id="project-metadata">
144
+
145
+
146
+
147
+ <div id="classindex-section" class="section project-section">
148
+ <h3 class="section-header">Class Index
149
+ <span class="search-toggle"><img src="./images/find.png"
150
+ height="16" width="16" alt="[+]"
151
+ title="show/hide quicksearch" /></span></h3>
152
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
153
+ <fieldset>
154
+ <legend>Quicksearch</legend>
155
+ <input type="text" name="quicksearch" value=""
156
+ class="quicksearch-field" />
157
+ </fieldset>
158
+ </form>
159
+
160
+ <ul class="link-list">
161
+
162
+ <li><a href="./RBatch.html">RBatch</a></li>
163
+
164
+ <li><a href="./RBatch/Cmd.html">RBatch::Cmd</a></li>
165
+
166
+ <li><a href="./RBatch/CmdException.html">RBatch::CmdException</a></li>
167
+
168
+ <li><a href="./RBatch/CmdResult.html">RBatch::CmdResult</a></li>
169
+
170
+ <li><a href="./RBatch/CommonConfig.html">RBatch::CommonConfig</a></li>
171
+
172
+ <li><a href="./RBatch/CommonConfig/Exception.html">RBatch::CommonConfig::Exception</a></li>
173
+
174
+ <li><a href="./RBatch/Config.html">RBatch::Config</a></li>
175
+
176
+ <li><a href="./RBatch/Config/Exception.html">RBatch::Config::Exception</a></li>
177
+
178
+ <li><a href="./RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
179
+
180
+ <li><a href="./RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
181
+
182
+ <li><a href="./RBatch/Log.html">RBatch::Log</a></li>
183
+
184
+ <li><a href="./RBatch/RunConf.html">RBatch::RunConf</a></li>
185
+
186
+ <li><a href="./RBatch/RunConf/Exception.html">RBatch::RunConf::Exception</a></li>
187
+
188
+ </ul>
189
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
190
+ </div>
191
+
192
+
193
+ </div>
194
+ </div>
195
+
196
+ <div id="documentation">
197
+ <h1 class="module">RBatch</h1>
198
+
199
+ <div id="description">
200
+
201
+ </div>
202
+
203
+ <!-- Constants -->
204
+
205
+ <div id="constants-list" class="section">
206
+ <h3 class="section-header">Constants</h3>
207
+ <dl>
208
+
209
+ <dt><a name="VERSION">VERSION</a></dt>
210
+
211
+ <dd class="description"></dd>
212
+
213
+
214
+ </dl>
215
+ </div>
216
+
217
+
218
+ <!-- Attributes -->
219
+
220
+
221
+ <!-- Methods -->
222
+
223
+ <div id="public-instance-method-details" class="method-section section">
224
+ <h3 class="section-header">Public Instance Methods</h3>
225
+
226
+
227
+ <div id="cmd-method" class="method-detail ">
228
+ <a name="method-i-cmd"></a>
229
+
230
+ <div class="method-heading">
231
+
232
+ <span class="method-name">cmd</span><span
233
+ class="method-args">(cmd_str,opt = nil)</span>
234
+ <span class="method-click-advice">click to toggle source</span>
235
+
236
+ </div>
237
+
238
+ <div class="method-description">
239
+
240
+ <p>
241
+ shortcut of <a href="RBatch/Cmd.html">RBatch::Cmd</a>
242
+ </p>
243
+
244
+
245
+
246
+ <div class="method-source-code"
247
+ id="cmd-source">
248
+ <pre>
249
+ <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 125</span>
250
+ 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmd</span>(<span class="ruby-identifier">cmd_str</span>,<span class="ruby-identifier">opt</span> = <span class="ruby-keyword kw">nil</span>)
251
+ 126: <span class="ruby-constant">Cmd</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">cmd_str</span>,<span class="ruby-identifier">opt</span>).<span class="ruby-identifier">run</span>
252
+ 127: <span class="ruby-keyword kw">end</span></pre>
253
+ </div>
254
+
255
+ </div>
256
+
257
+
258
+
259
+
260
+ </div>
261
+
262
+
263
+ <div id="common-config-method" class="method-detail ">
264
+ <a name="method-i-common_config"></a>
265
+
266
+ <div class="method-heading">
267
+
268
+ <span class="method-name">common_config</span><span
269
+ class="method-args">()</span>
270
+ <span class="method-click-advice">click to toggle source</span>
271
+
272
+ </div>
273
+
274
+ <div class="method-description">
275
+
276
+ <p>
277
+ Alias of RBatch::CommonConfig.new
278
+ </p>
279
+
280
+
281
+
282
+ <div class="method-source-code"
283
+ id="common-config-source">
284
+ <pre>
285
+ <span class="ruby-comment cmt"># File lib/rbatch/common_config.rb, line 9</span>
286
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">common_config</span> ; <span class="ruby-constant">CommonConfig</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">end</span></pre>
287
+ </div>
288
+
289
+ </div>
290
+
291
+
292
+
293
+
294
+ </div>
295
+
296
+
297
+ <div id="conf-dir-method" class="method-detail ">
298
+ <a name="method-i-conf_dir"></a>
299
+
300
+ <div class="method-heading">
301
+
302
+ <span class="method-name">conf_dir</span><span
303
+ class="method-args">()</span>
304
+ <span class="method-click-advice">click to toggle source</span>
305
+
306
+ </div>
307
+
308
+ <div class="method-description">
309
+
310
+
311
+
312
+
313
+
314
+ <div class="method-source-code"
315
+ id="conf-dir-source">
316
+ <pre>
317
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 18</span>
318
+ 18: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">conf_dir</span> ; <span class="ruby-identifier">@@run_conf</span>[<span class="ruby-value">:conf_dir</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quot;&lt;home&gt;&quot;</span>,<span class="ruby-identifier">@@home_dir</span>) ; <span class="ruby-keyword kw">end</span></pre>
319
+ </div>
320
+
321
+ </div>
322
+
323
+
324
+
325
+
326
+ </div>
327
+
328
+
329
+ <div id="config-method" class="method-detail ">
330
+ <a name="method-i-config"></a>
331
+
332
+ <div class="method-heading">
333
+
334
+ <span class="method-name">config</span><span
335
+ class="method-args">()</span>
336
+ <span class="method-click-advice">click to toggle source</span>
337
+
338
+ </div>
339
+
340
+ <div class="method-description">
341
+
342
+ <p>
343
+ Alias of RBatch::Config.new
344
+ </p>
345
+
346
+
347
+
348
+ <div class="method-source-code"
349
+ id="config-source">
350
+ <pre>
351
+ <span class="ruby-comment cmt"># File lib/rbatch/config.rb, line 9</span>
352
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config</span> ; <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">end</span></pre>
353
+ </div>
354
+
355
+ </div>
356
+
357
+
358
+
359
+
360
+ </div>
361
+
362
+
363
+ <div id="home-dir-method" class="method-detail ">
364
+ <a name="method-i-home_dir"></a>
365
+
366
+ <div class="method-heading">
367
+
368
+ <span class="method-name">home_dir</span><span
369
+ class="method-args">()</span>
370
+ <span class="method-click-advice">click to toggle source</span>
371
+
372
+ </div>
373
+
374
+ <div class="method-description">
375
+
376
+
377
+
378
+
379
+
380
+ <div class="method-source-code"
381
+ id="home-dir-source">
382
+ <pre>
383
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 15</span>
384
+ 15: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">home_dir</span> ; <span class="ruby-identifier">@@home_dir</span> ; <span class="ruby-keyword kw">end</span></pre>
385
+ </div>
386
+
387
+ </div>
388
+
389
+
390
+
391
+
392
+ </div>
393
+
394
+
395
+ <div id="init-method" class="method-detail ">
396
+ <a name="method-i-init"></a>
397
+
398
+ <div class="method-heading">
399
+
400
+ <span class="method-name">init</span><span
401
+ class="method-args">()</span>
402
+ <span class="method-click-advice">click to toggle source</span>
403
+
404
+ </div>
405
+
406
+ <div class="method-description">
407
+
408
+
409
+
410
+
411
+
412
+ <div class="method-source-code"
413
+ id="init-source">
414
+ <pre>
415
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 23</span>
416
+ 23: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
417
+ 24: <span class="ruby-identifier">@@journal_verbose</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_VERBOSE&quot;</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_VERBOSE&quot;</span>]
418
+ 25: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_HOME&quot;</span>]
419
+ 26: <span class="ruby-identifier">@@home_dir</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_HOME&quot;</span>]
420
+ 27: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;RB_HOME : \&quot;#{@@home_dir}\&quot; (defined by $RB_HOME)&quot;</span>
421
+ 28: <span class="ruby-keyword kw">else</span>
422
+ 29: <span class="ruby-identifier">@@home_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">@@program_name</span>) , <span class="ruby-value str">&quot;..&quot;</span>)
423
+ 30: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;RB_HOME : \&quot;#{@@home_dir}\&quot; (default)&quot;</span>
424
+ 31: <span class="ruby-keyword kw">end</span>
425
+ 32: <span class="ruby-identifier">@@run_conf_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">@@home_dir</span>,<span class="ruby-value str">&quot;.rbatchrc&quot;</span>)
426
+ 33: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;Run-Conf: \&quot;#{@@run_conf_path}\&quot;&quot;</span>
427
+ 34:
428
+ 35: <span class="ruby-identifier">@@run_conf</span> = <span class="ruby-constant">RunConf</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">@@run_conf_path</span>,<span class="ruby-identifier">@@home_dir</span>)
429
+ 36: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:debug</span>,<span class="ruby-node">&quot;RBatch option : #{@@run_conf.inspect}&quot;</span>
430
+ 37: <span class="ruby-keyword kw">end</span></pre>
431
+ </div>
432
+
433
+ </div>
434
+
435
+
436
+
437
+
438
+ </div>
439
+
440
+
441
+ <div id="journal-method" class="method-detail ">
442
+ <a name="method-i-journal"></a>
443
+
444
+ <div class="method-heading">
445
+
446
+ <span class="method-name">journal</span><span
447
+ class="method-args">(level,str)</span>
448
+ <span class="method-click-advice">click to toggle source</span>
449
+
450
+ </div>
451
+
452
+ <div class="method-description">
453
+
454
+
455
+
456
+
457
+
458
+ <div class="method-source-code"
459
+ id="journal-source">
460
+ <pre>
461
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 20</span>
462
+ 20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">journal</span>(<span class="ruby-identifier">level</span>,<span class="ruby-identifier">str</span>)
463
+ 21: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;[RBatch] &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">@@journal_verbose_map</span>[<span class="ruby-identifier">level</span>] <span class="ruby-operator">&lt;=</span> <span class="ruby-identifier">@@journal_verbose</span>
464
+ 22: <span class="ruby-keyword kw">end</span></pre>
465
+ </div>
466
+
467
+ </div>
468
+
469
+
470
+
471
+
472
+ </div>
473
+
474
+
475
+ <div id="log-dir-method" class="method-detail ">
476
+ <a name="method-i-log_dir"></a>
477
+
478
+ <div class="method-heading">
479
+
480
+ <span class="method-name">log_dir</span><span
481
+ class="method-args">()</span>
482
+ <span class="method-click-advice">click to toggle source</span>
483
+
484
+ </div>
485
+
486
+ <div class="method-description">
487
+
488
+
489
+
490
+
491
+
492
+ <div class="method-source-code"
493
+ id="log-dir-source">
494
+ <pre>
495
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 19</span>
496
+ 19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log_dir</span> ; <span class="ruby-identifier">@@run_conf</span>[<span class="ruby-value">:log_dir</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quot;&lt;home&gt;&quot;</span>,<span class="ruby-identifier">@@home_dir</span>) ; <span class="ruby-keyword kw">end</span></pre>
497
+ </div>
498
+
499
+ </div>
500
+
501
+
502
+
503
+
504
+ </div>
505
+
506
+
507
+ <div id="program-base-method" class="method-detail ">
508
+ <a name="method-i-program_base"></a>
509
+
510
+ <div class="method-heading">
511
+
512
+ <span class="method-name">program_base</span><span
513
+ class="method-args">()</span>
514
+ <span class="method-click-advice">click to toggle source</span>
515
+
516
+ </div>
517
+
518
+ <div class="method-description">
519
+
520
+
521
+
522
+
523
+
524
+ <div class="method-source-code"
525
+ id="program-base-source">
526
+ <pre>
527
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 14</span>
528
+ 14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">program_base</span> ; <span class="ruby-identifier">@@program_base</span> ; <span class="ruby-keyword kw">end</span></pre>
529
+ </div>
530
+
531
+ </div>
532
+
533
+
534
+
535
+
536
+ </div>
537
+
538
+
539
+ <div id="program-name-method" class="method-detail ">
540
+ <a name="method-i-program_name"></a>
541
+
542
+ <div class="method-heading">
543
+
544
+ <span class="method-name">program_name</span><span
545
+ class="method-args">()</span>
546
+ <span class="method-click-advice">click to toggle source</span>
547
+
548
+ </div>
549
+
550
+ <div class="method-description">
551
+
552
+
553
+
554
+
555
+
556
+ <div class="method-source-code"
557
+ id="program-name-source">
558
+ <pre>
559
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 13</span>
560
+ 13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">program_name</span> ; <span class="ruby-identifier">@@program_name</span> ; <span class="ruby-keyword kw">end</span></pre>
561
+ </div>
562
+
563
+ </div>
564
+
565
+
566
+
567
+
568
+ </div>
569
+
570
+
571
+ <div id="run-conf-method" class="method-detail ">
572
+ <a name="method-i-run_conf"></a>
573
+
574
+ <div class="method-heading">
575
+
576
+ <span class="method-name">run_conf</span><span
577
+ class="method-args">()</span>
578
+ <span class="method-click-advice">click to toggle source</span>
579
+
580
+ </div>
581
+
582
+ <div class="method-description">
583
+
584
+
585
+
586
+
587
+
588
+ <div class="method-source-code"
589
+ id="run-conf-source">
590
+ <pre>
591
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 17</span>
592
+ 17: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run_conf</span> ; <span class="ruby-identifier">@@run_conf</span> ; <span class="ruby-keyword kw">end</span></pre>
593
+ </div>
594
+
595
+ </div>
596
+
597
+
598
+
599
+
600
+ </div>
601
+
602
+
603
+ <div id="run-conf-path-method" class="method-detail ">
604
+ <a name="method-i-run_conf_path"></a>
605
+
606
+ <div class="method-heading">
607
+
608
+ <span class="method-name">run_conf_path</span><span
609
+ class="method-args">()</span>
610
+ <span class="method-click-advice">click to toggle source</span>
611
+
612
+ </div>
613
+
614
+ <div class="method-description">
615
+
616
+
617
+
618
+
619
+
620
+ <div class="method-source-code"
621
+ id="run-conf-path-source">
622
+ <pre>
623
+ <span class="ruby-comment cmt"># File lib/rbatch.rb, line 16</span>
624
+ 16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run_conf_path</span> ; <span class="ruby-identifier">@@run_conf_path</span> ; <span class="ruby-keyword kw">end</span></pre>
625
+ </div>
626
+
627
+ </div>
628
+
629
+
630
+
631
+
632
+ </div>
633
+
634
+
635
+ </div>
636
+
637
+
638
+ </div>
639
+
640
+
641
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
642
+
643
+ <p>Disabled; run with --debug to generate this.</p>
644
+
645
+ </div>
646
+
647
+ <div id="validator-badges">
648
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
649
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
650
+ Rdoc Generator</a> 1.1.6</small>.</p>
651
+ </div>
652
+
653
+ </body>
654
+ </html>
655
+
data/doc/created.rid ADDED
@@ -0,0 +1,9 @@
1
+ Sat, 28 Dec 2013 14:22:21 +0900
2
+ lib/rbatch/config.rb Sat, 28 Dec 2013 10:39:24 +0900
3
+ lib/rbatch/version.rb Sat, 28 Dec 2013 02:25:41 +0900
4
+ lib/rbatch/run_conf.rb Sat, 28 Dec 2013 14:13:02 +0900
5
+ lib/rbatch/cmd.rb Sat, 28 Dec 2013 11:15:50 +0900
6
+ lib/rbatch/common_config.rb Sat, 28 Dec 2013 03:00:00 +0900
7
+ lib/rbatch/log.rb Sat, 28 Dec 2013 14:15:39 +0900
8
+ lib/rbatch/double_run_checker.rb Sat, 28 Dec 2013 03:15:22 +0900
9
+ lib/rbatch.rb Sat, 28 Dec 2013 14:03:07 +0900