rbatch 2.1.1 → 2.1.2

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.
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
data/doc/RBatch.html CHANGED
@@ -1,884 +1,410 @@
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>Module: RBatch</title>
8
+ <title>Module: RBatch</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="module">
18
+ <body id="top" class="module">
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/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-add_log">#add_log</a></li>
112
-
113
- <li><a href="#method-i-cmd">#cmd</a></li>
114
-
115
- <li><a href="#method-i-common_config">#common_config</a></li>
116
-
117
- <li><a href="#method-i-conf_dir">#conf_dir</a></li>
118
-
119
- <li><a href="#method-i-config">#config</a></li>
120
-
121
- <li><a href="#method-i-home_dir">#home_dir</a></li>
122
-
123
- <li><a href="#method-i-init">#init</a></li>
124
-
125
- <li><a href="#method-i-journal">#journal</a></li>
126
-
127
- <li><a href="#method-i-journals">#journals</a></li>
128
-
129
- <li><a href="#method-i-lib_dir">#lib_dir</a></li>
130
-
131
- <li><a href="#method-i-log_dir">#log_dir</a></li>
132
-
133
- <li><a href="#method-i-program_base">#program_base</a></li>
134
-
135
- <li><a href="#method-i-program_name">#program_name</a></li>
136
-
137
- <li><a href="#method-i-program_path">#program_path</a></li>
138
-
139
- <li><a href="#method-i-reload_common_config">#reload_common_config</a></li>
140
-
141
- <li><a href="#method-i-reload_config">#reload_config</a></li>
142
-
143
- <li><a href="#method-i-run_conf">#run_conf</a></li>
144
-
145
- <li><a href="#method-i-run_conf_path">#run_conf_path</a></li>
146
-
147
- </ul>
148
- </div>
149
-
150
-
151
- <!-- Included Modules -->
152
-
153
- </div>
154
-
155
- <div id="project-metadata">
156
-
157
-
158
-
159
- <div id="classindex-section" class="section project-section">
160
- <h3 class="section-header">Class Index
161
- <span class="search-toggle"><img src="./images/find.png"
162
- height="16" width="16" alt="[+]"
163
- title="show/hide quicksearch" /></span></h3>
164
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
165
- <fieldset>
166
- <legend>Quicksearch</legend>
167
- <input type="text" name="quicksearch" value=""
168
- class="quicksearch-field" />
169
- </fieldset>
170
- </form>
171
-
172
- <ul class="link-list">
173
-
174
- <li><a href="./RBatch.html">RBatch</a></li>
175
-
176
- <li><a href="./RBatch/Cmd.html">RBatch::Cmd</a></li>
177
-
178
- <li><a href="./RBatch/CmdException.html">RBatch::CmdException</a></li>
179
-
180
- <li><a href="./RBatch/CmdResult.html">RBatch::CmdResult</a></li>
181
-
182
- <li><a href="./RBatch/CommonConfig.html">RBatch::CommonConfig</a></li>
183
-
184
- <li><a href="./RBatch/CommonConfig/Exception.html">RBatch::CommonConfig::Exception</a></li>
185
-
186
- <li><a href="./RBatch/Config.html">RBatch::Config</a></li>
187
-
188
- <li><a href="./RBatch/Config/Exception.html">RBatch::Config::Exception</a></li>
189
-
190
- <li><a href="./RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
191
-
192
- <li><a href="./RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
193
-
194
- <li><a href="./RBatch/Log.html">RBatch::Log</a></li>
195
-
196
- <li><a href="./RBatch/RunConf.html">RBatch::RunConf</a></li>
197
-
198
- <li><a href="./RBatch/RunConf/Exception.html">RBatch::RunConf::Exception</a></li>
199
-
200
- </ul>
201
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
202
- </div>
203
-
204
-
205
- </div>
206
- </div>
207
-
208
- <div id="documentation">
209
- <h1 class="module">RBatch</h1>
210
-
211
- <div id="description">
212
-
213
- </div>
214
-
215
- <!-- Constants -->
216
-
217
- <div id="constants-list" class="section">
218
- <h3 class="section-header">Constants</h3>
219
- <dl>
220
-
221
- <dt><a name="VERSION">VERSION</a></dt>
222
-
223
- <dd class="description"></dd>
224
-
225
-
226
- </dl>
227
- </div>
228
-
229
-
230
- <!-- Attributes -->
231
-
232
-
233
- <!-- Methods -->
234
-
235
- <div id="public-instance-method-details" class="method-section section">
236
- <h3 class="section-header">Public Instance Methods</h3>
237
-
238
-
239
- <div id="add-log-method" class="method-detail ">
240
- <a name="method-i-add_log"></a>
241
-
242
- <div class="method-heading">
243
-
244
- <span class="method-name">add_log</span><span
245
- class="method-args">(log)</span>
246
- <span class="method-click-advice">click to toggle source</span>
247
-
248
- </div>
249
-
250
- <div class="method-description">
251
-
252
-
253
-
254
-
255
-
256
- <div class="method-source-code"
257
- id="add-log-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_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/rbatch.rb">lib/rbatch.rb</a></li>
39
+
40
+ <li><a href="./lib/rbatch/cmd_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
41
+ class="thickbox" title="lib/rbatch/cmd.rb">lib/rbatch/cmd.rb</a></li>
42
+
43
+ <li><a href="./lib/rbatch/journal_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
44
+ class="thickbox" title="lib/rbatch/journal.rb">lib/rbatch/journal.rb</a></li>
45
+
46
+ <li><a href="./lib/rbatch/log_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
47
+ class="thickbox" title="lib/rbatch/log.rb">lib/rbatch/log.rb</a></li>
48
+
49
+ <li><a href="./lib/rbatch/config_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
50
+ class="thickbox" title="lib/rbatch/config.rb">lib/rbatch/config.rb</a></li>
51
+
52
+ <li><a href="./lib/rbatch/run_conf_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
53
+ class="thickbox" title="lib/rbatch/run_conf.rb">lib/rbatch/run_conf.rb</a></li>
54
+
55
+ <li><a href="./lib/rbatch/controller_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
56
+ class="thickbox" title="lib/rbatch/controller.rb">lib/rbatch/controller.rb</a></li>
57
+
58
+ <li><a href="./lib/rbatch/variables_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
59
+ class="thickbox" title="lib/rbatch/variables.rb">lib/rbatch/variables.rb</a></li>
60
+
61
+ <li><a href="./lib/rbatch/version_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
62
+ class="thickbox" title="lib/rbatch/version.rb">lib/rbatch/version.rb</a></li>
63
+
64
+ <li><a href="./lib/rbatch/double_run_checker_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
65
+ class="thickbox" title="lib/rbatch/double_run_checker.rb">lib/rbatch/double_run_checker.rb</a></li>
66
+
67
+ </ul>
68
+ </div>
69
+ </div>
70
+
71
+
72
+ </div>
73
+
74
+ <div id="class-metadata">
75
+
76
+
77
+
78
+
79
+
80
+ <!-- Namespace Contents -->
81
+ <div id="namespace-list-section" class="section">
82
+ <h3 class="section-header">Namespace</h3>
83
+ <ul class="link-list">
84
+
85
+ <li><span class="type">MODULE</span> <a href="RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
86
+
87
+ <li><span class="type">MODULE</span> <a href="RBatch/RBatch.html">RBatch::RBatch</a></li>
88
+
89
+ <li><span class="type">CLASS</span> <a href="RBatch/Cmd.html">RBatch::Cmd</a></li>
90
+
91
+ <li><span class="type">CLASS</span> <a href="RBatch/CmdException.html">RBatch::CmdException</a></li>
92
+
93
+ <li><span class="type">CLASS</span> <a href="RBatch/CmdResult.html">RBatch::CmdResult</a></li>
94
+
95
+ <li><span class="type">CLASS</span> <a href="RBatch/Config.html">RBatch::Config</a></li>
96
+
97
+ <li><span class="type">CLASS</span> <a href="RBatch/Controller.html">RBatch::Controller</a></li>
98
+
99
+ <li><span class="type">CLASS</span> <a href="RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
100
+
101
+ <li><span class="type">CLASS</span> <a href="RBatch/Journal.html">RBatch::Journal</a></li>
102
+
103
+ <li><span class="type">CLASS</span> <a href="RBatch/Log.html">RBatch::Log</a></li>
104
+
105
+ <li><span class="type">CLASS</span> <a href="RBatch/LogException.html">RBatch::LogException</a></li>
106
+
107
+ <li><span class="type">CLASS</span> <a href="RBatch/RunConf.html">RBatch::RunConf</a></li>
108
+
109
+ <li><span class="type">CLASS</span> <a href="RBatch/Variables.html">RBatch::Variables</a></li>
110
+
111
+ </ul>
112
+ </div>
113
+
114
+
115
+
116
+ <!-- Method Quickref -->
117
+ <div id="method-list-section" class="section">
118
+ <h3 class="section-header">Methods</h3>
119
+ <ul class="link-list">
120
+
121
+ <li><a href="#method-i-cmd">#cmd</a></li>
122
+
123
+ <li><a href="#method-i-common_config">#common_config</a></li>
124
+
125
+ <li><a href="#method-i-config">#config</a></li>
126
+
127
+ <li><a href="#method-i-init">#init</a></li>
128
+
129
+ <li><a href="#method-i-vars">#vars</a></li>
130
+
131
+ </ul>
132
+ </div>
133
+
134
+
135
+
136
+ </div>
137
+
138
+ <div id="project-metadata">
139
+
140
+
141
+
142
+ <div id="classindex-section" class="section project-section">
143
+ <h3 class="section-header">Class/Module Index
144
+ <span class="search-toggle"><img src="./images/find.png"
145
+ height="16" width="16" alt="[+]"
146
+ title="show/hide quicksearch" /></span></h3>
147
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
148
+ <fieldset>
149
+ <legend>Quicksearch</legend>
150
+ <input type="text" name="quicksearch" value=""
151
+ class="quicksearch-field" />
152
+ </fieldset>
153
+ </form>
154
+
155
+ <ul class="link-list">
156
+
157
+ <li><a href="./RBatch.html">RBatch</a></li>
158
+
159
+ <li><a href="./RBatch/Cmd.html">RBatch::Cmd</a></li>
160
+
161
+ <li><a href="./RBatch/CmdException.html">RBatch::CmdException</a></li>
162
+
163
+ <li><a href="./RBatch/CmdResult.html">RBatch::CmdResult</a></li>
164
+
165
+ <li><a href="./RBatch/Config.html">RBatch::Config</a></li>
166
+
167
+ <li><a href="./RBatch/Controller.html">RBatch::Controller</a></li>
168
+
169
+ <li><a href="./RBatch/DoubleRunCheckException.html">RBatch::DoubleRunCheckException</a></li>
170
+
171
+ <li><a href="./RBatch/DoubleRunChecker.html">RBatch::DoubleRunChecker</a></li>
172
+
173
+ <li><a href="./RBatch/Journal.html">RBatch::Journal</a></li>
174
+
175
+ <li><a href="./RBatch/Log.html">RBatch::Log</a></li>
176
+
177
+ <li><a href="./RBatch/LogException.html">RBatch::LogException</a></li>
178
+
179
+ <li><a href="./RBatch/RBatch.html">RBatch::RBatch</a></li>
180
+
181
+ <li><a href="./RBatch/RBatch/RBatch.html">RBatch::RBatch::RBatch</a></li>
182
+
183
+ <li><a href="./RBatch/RBatch/RBatch/ConfigException.html">RBatch::RBatch::RBatch::ConfigException</a></li>
184
+
185
+ <li><a href="./RBatch/RBatch/VariablesException.html">RBatch::RBatch::VariablesException</a></li>
186
+
187
+ <li><a href="./RBatch/RunConf.html">RBatch::RunConf</a></li>
188
+
189
+ <li><a href="./RBatch/RunConf/Exception.html">RBatch::RunConf::Exception</a></li>
190
+
191
+ <li><a href="./RBatch/Variables.html">RBatch::Variables</a></li>
192
+
193
+ </ul>
194
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
195
+ </div>
196
+
197
+
198
+ </div>
199
+ </div>
200
+
201
+ <div id="documentation">
202
+ <h1 class="module">RBatch</h1>
203
+
204
+ <div id="description" class="description">
205
+
206
+ </div><!-- description -->
207
+
208
+
209
+
210
+
211
+ <div id="5Buntitled-5D" class="documentation-section">
212
+
213
+
214
+
215
+
216
+
217
+ <!-- Constants -->
218
+ <div id="constants-list" class="section">
219
+ <h3 class="section-header">Constants</h3>
220
+ <dl>
221
+
222
+ <dt><a name="VERSION">VERSION</a></dt>
223
+
224
+ <dd class="description"></dd>
225
+
226
+
227
+ </dl>
228
+ </div>
229
+
230
+
231
+
232
+
233
+ <!-- Methods -->
234
+
235
+ <div id="public-instance-method-details" class="method-section section">
236
+ <h3 class="section-header">Public Instance Methods</h3>
237
+
238
+
239
+ <div id="cmd-method" class="method-detail ">
240
+ <a name="method-i-cmd"></a>
241
+
242
+
243
+ <div class="method-heading">
244
+ <span class="method-name">cmd</span><span
245
+ class="method-args">(cmd_str,opt=nil)</span>
246
+ <span class="method-click-advice">click to toggle source</span>
247
+ </div>
248
+
249
+
250
+ <div class="method-description">
251
+
252
+
253
+
254
+
255
+
256
+ <div class="method-source-code" id="cmd-source">
258
257
  <pre>
259
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 31</span>
260
- 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_log</span>(<span class="ruby-identifier">log</span>)
261
- 32: <span class="ruby-identifier">@@logs</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">log</span>
262
- 33: <span class="ruby-keyword kw">end</span></pre>
263
- </div>
264
-
265
- </div>
266
-
267
-
268
-
269
-
270
- </div>
271
-
272
-
273
- <div id="cmd-method" class="method-detail ">
274
- <a name="method-i-cmd"></a>
275
-
276
- <div class="method-heading">
277
-
278
- <span class="method-name">cmd</span><span
279
- class="method-args">(cmd_str,opt = nil)</span>
280
- <span class="method-click-advice">click to toggle source</span>
281
-
282
- </div>
283
-
284
- <div class="method-description">
285
-
286
- <p>
287
- shortcut of <a href="RBatch/Cmd.html">RBatch::Cmd</a>
288
- </p>
289
-
290
-
291
-
292
- <div class="method-source-code"
293
- id="cmd-source">
258
+ <span class="ruby-comment"># File lib/rbatch.rb, line 14</span>
259
+ <span class="ruby-keyword">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">nil</span>) ; <span class="ruby-identifier">@@ctrl</span>.<span class="ruby-identifier">cmd</span>(<span class="ruby-identifier">cmd_str</span>,<span class="ruby-identifier">opt</span>) ; <span class="ruby-keyword">end</span></pre>
260
+ </div><!-- cmd-source -->
261
+
262
+ </div>
263
+
264
+
265
+
266
+
267
+ </div><!-- cmd-method -->
268
+
269
+
270
+ <div id="common_config-method" class="method-detail ">
271
+ <a name="method-i-common_config"></a>
272
+
273
+
274
+ <div class="method-heading">
275
+ <span class="method-name">common_config</span><span
276
+ class="method-args">()</span>
277
+ <span class="method-click-advice">click to toggle source</span>
278
+ </div>
279
+
280
+
281
+ <div class="method-description">
282
+
283
+
284
+
285
+
286
+
287
+ <div class="method-source-code" id="common_config-source">
294
288
  <pre>
295
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 125</span>
296
- 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>)
297
- 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>
298
- 127: <span class="ruby-keyword kw">end</span></pre>
299
- </div>
300
-
301
- </div>
302
-
303
-
304
-
305
-
306
- </div>
307
-
308
-
309
- <div id="common-config-method" class="method-detail ">
310
- <a name="method-i-common_config"></a>
311
-
312
- <div class="method-heading">
313
-
314
- <span class="method-name">common_config</span><span
315
- class="method-args">()</span>
316
- <span class="method-click-advice">click to toggle source</span>
317
-
318
- </div>
319
-
320
- <div class="method-description">
321
-
322
-
323
-
324
-
325
-
326
- <div class="method-source-code"
327
- id="common-config-source">
289
+ <span class="ruby-comment"># File lib/rbatch.rb, line 13</span>
290
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">common_config</span> ; <span class="ruby-identifier">@@ctrl</span>.<span class="ruby-identifier">common_config</span> ; <span class="ruby-keyword">end</span></pre>
291
+ </div><!-- common_config-source -->
292
+
293
+ </div>
294
+
295
+
296
+
297
+
298
+ </div><!-- common_config-method -->
299
+
300
+
301
+ <div id="config-method" class="method-detail ">
302
+ <a name="method-i-config"></a>
303
+
304
+
305
+ <div class="method-heading">
306
+ <span class="method-name">config</span><span
307
+ class="method-args">()</span>
308
+ <span class="method-click-advice">click to toggle source</span>
309
+ </div>
310
+
311
+
312
+ <div class="method-description">
313
+
314
+
315
+
316
+
317
+
318
+ <div class="method-source-code" id="config-source">
328
319
  <pre>
329
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 29</span>
330
- 29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">common_config</span> ; <span class="ruby-identifier">@@common_config</span> ; <span class="ruby-keyword kw">end</span></pre>
331
- </div>
332
-
333
- </div>
334
-
335
-
336
-
337
-
338
- </div>
339
-
340
-
341
- <div id="conf-dir-method" class="method-detail ">
342
- <a name="method-i-conf_dir"></a>
343
-
344
- <div class="method-heading">
345
-
346
- <span class="method-name">conf_dir</span><span
347
- class="method-args">()</span>
348
- <span class="method-click-advice">click to toggle source</span>
349
-
350
- </div>
351
-
352
- <div class="method-description">
353
-
354
-
355
-
356
-
357
-
358
- <div class="method-source-code"
359
- id="conf-dir-source">
320
+ <span class="ruby-comment"># File lib/rbatch.rb, line 12</span>
321
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">config</span> ; <span class="ruby-identifier">@@ctrl</span>.<span class="ruby-identifier">config</span> ; <span class="ruby-keyword">end</span></pre>
322
+ </div><!-- config-source -->
323
+
324
+ </div>
325
+
326
+
327
+
328
+
329
+ </div><!-- config-method -->
330
+
331
+
332
+ <div id="init-method" class="method-detail ">
333
+ <a name="method-i-init"></a>
334
+
335
+
336
+ <div class="method-heading">
337
+ <span class="method-name">init</span><span
338
+ class="method-args">()</span>
339
+ <span class="method-click-advice">click to toggle source</span>
340
+ </div>
341
+
342
+
343
+ <div class="method-description">
344
+
345
+
346
+
347
+
348
+
349
+ <div class="method-source-code" id="init-source">
360
350
  <pre>
361
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 25</span>
362
- 25: <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>
363
- </div>
364
-
365
- </div>
366
-
367
-
368
-
369
-
370
- </div>
371
-
372
-
373
- <div id="config-method" class="method-detail ">
374
- <a name="method-i-config"></a>
375
-
376
- <div class="method-heading">
377
-
378
- <span class="method-name">config</span><span
379
- class="method-args">()</span>
380
- <span class="method-click-advice">click to toggle source</span>
381
-
382
- </div>
383
-
384
- <div class="method-description">
385
-
386
-
387
-
388
-
389
-
390
- <div class="method-source-code"
391
- id="config-source">
351
+ <span class="ruby-comment"># File lib/rbatch.rb, line 8</span>
352
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">init</span>
353
+ <span class="ruby-identifier">@@ctrl</span> = <span class="ruby-constant">RBatch</span><span class="ruby-operator">::</span><span class="ruby-constant">Controller</span>.<span class="ruby-identifier">new</span>
354
+ <span class="ruby-keyword">end</span></pre>
355
+ </div><!-- init-source -->
356
+
357
+ </div>
358
+
359
+
360
+
361
+
362
+ </div><!-- init-method -->
363
+
364
+
365
+ <div id="vars-method" class="method-detail ">
366
+ <a name="method-i-vars"></a>
367
+
368
+
369
+ <div class="method-heading">
370
+ <span class="method-name">vars</span><span
371
+ class="method-args">()</span>
372
+ <span class="method-click-advice">click to toggle source</span>
373
+ </div>
374
+
375
+
376
+ <div class="method-description">
377
+
378
+
379
+
380
+
381
+
382
+ <div class="method-source-code" id="vars-source">
392
383
  <pre>
393
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 28</span>
394
- 28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config</span> ; <span class="ruby-identifier">@@config</span> ; <span class="ruby-keyword kw">end</span></pre>
395
- </div>
396
-
397
- </div>
398
-
399
-
400
-
401
-
402
- </div>
403
-
404
-
405
- <div id="home-dir-method" class="method-detail ">
406
- <a name="method-i-home_dir"></a>
407
-
408
- <div class="method-heading">
409
-
410
- <span class="method-name">home_dir</span><span
411
- class="method-args">()</span>
412
- <span class="method-click-advice">click to toggle source</span>
413
-
414
- </div>
415
-
416
- <div class="method-description">
417
-
418
-
419
-
420
-
421
-
422
- <div class="method-source-code"
423
- id="home-dir-source">
424
- <pre>
425
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 22</span>
426
- 22: <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>
427
- </div>
428
-
429
- </div>
430
-
431
-
432
-
433
-
434
- </div>
435
-
436
-
437
- <div id="init-method" class="method-detail ">
438
- <a name="method-i-init"></a>
439
-
440
- <div class="method-heading">
441
-
442
- <span class="method-name">init</span><span
443
- class="method-args">()</span>
444
- <span class="method-click-advice">click to toggle source</span>
445
-
446
- </div>
447
-
448
- <div class="method-description">
449
-
450
-
451
-
452
-
453
-
454
- <div class="method-source-code"
455
- id="init-source">
456
- <pre>
457
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 46</span>
458
- 46: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
459
- 47: <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>]
460
- 48: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;=== START RBatch === (PID=#{$$.to_s})&quot;</span>
461
- 49: <span class="ruby-identifier">@@program_name</span> = <span class="ruby-identifier">$PROGRAM_NAME</span>
462
- 50: <span class="ruby-identifier">@@program_base</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">$PROGRAM_NAME</span>)
463
- 51: <span class="ruby-identifier">@@program_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">@@program_name</span>)
464
- 52: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_HOME&quot;</span>]
465
- 53: <span class="ruby-identifier">@@home_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RB_HOME&quot;</span>])
466
- 54: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:debug</span>,<span class="ruby-node">&quot;RB_HOME : \&quot;#{@@home_dir}\&quot; (defined by $RB_HOME)&quot;</span>
467
- 55: <span class="ruby-keyword kw">else</span>
468
- 56: <span class="ruby-identifier">@@home_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</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>))
469
- 57: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:debug</span>,<span class="ruby-node">&quot;RB_HOME : \&quot;#{@@home_dir}\&quot; (default)&quot;</span>
470
- 58: <span class="ruby-keyword kw">end</span>
471
- 59: <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>)
472
- 60: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;Load Run-Conf: \&quot;#{@@run_conf_path}\&quot;&quot;</span>
473
- 61: <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>)
474
- 62: <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>
475
- 63: <span class="ruby-identifier">@@common_config</span> = <span class="ruby-constant">RBatch</span><span class="ruby-operator">::</span><span class="ruby-constant">CommonConfig</span>.<span class="ruby-identifier">new</span>
476
- 64: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;Load Config : \&quot;#{@@common_config.path}\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">@@common_config</span>.<span class="ruby-identifier">exist?</span>
477
- 65: <span class="ruby-identifier">@@config</span> = <span class="ruby-constant">RBatch</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
478
- 66: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;Load Config : \&quot;#{@@config.path}\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">@@config</span>.<span class="ruby-identifier">exist?</span>
479
- 67: <span class="ruby-keyword kw">end</span></pre>
480
- </div>
481
-
482
- </div>
483
-
484
-
485
-
486
-
487
- </div>
488
-
489
-
490
- <div id="journal-method" class="method-detail ">
491
- <a name="method-i-journal"></a>
492
-
493
- <div class="method-heading">
494
-
495
- <span class="method-name">journal</span><span
496
- class="method-args">(level,str)</span>
497
- <span class="method-click-advice">click to toggle source</span>
498
-
499
- </div>
500
-
501
- <div class="method-description">
502
-
503
-
504
-
505
-
506
-
507
- <div class="method-source-code"
508
- id="journal-source">
509
- <pre>
510
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 34</span>
511
- 34: <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>)
512
- 35: <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>
513
- 36: <span class="ruby-identifier">str</span> = <span class="ruby-value str">&quot;[RBatch] &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">str</span>
514
- 37: <span class="ruby-identifier">puts</span> <span class="ruby-identifier">str</span>
515
- 38: <span class="ruby-identifier">@@journals</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">str</span>
516
- 39: <span class="ruby-identifier">@@logs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">log</span><span class="ruby-operator">|</span>
517
- 40: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">run_conf</span>[<span class="ruby-value">:mix_rbatch_msg_to_log</span>]
518
- 41: <span class="ruby-identifier">log</span>.<span class="ruby-identifier">journal</span>(<span class="ruby-identifier">str</span>)
519
- 42: <span class="ruby-keyword kw">end</span>
520
- 43: <span class="ruby-keyword kw">end</span>
521
- 44: <span class="ruby-keyword kw">end</span>
522
- 45: <span class="ruby-keyword kw">end</span></pre>
523
- </div>
524
-
525
- </div>
526
-
527
-
528
-
529
-
530
- </div>
531
-
532
-
533
- <div id="journals-method" class="method-detail ">
534
- <a name="method-i-journals"></a>
535
-
536
- <div class="method-heading">
537
-
538
- <span class="method-name">journals</span><span
539
- class="method-args">()</span>
540
- <span class="method-click-advice">click to toggle source</span>
541
-
542
- </div>
543
-
544
- <div class="method-description">
545
-
546
-
547
-
548
-
549
-
550
- <div class="method-source-code"
551
- id="journals-source">
552
- <pre>
553
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 30</span>
554
- 30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">journals</span> ; <span class="ruby-identifier">@@journals</span> ; <span class="ruby-keyword kw">end</span></pre>
555
- </div>
556
-
557
- </div>
558
-
559
-
560
-
561
-
562
- </div>
563
-
564
-
565
- <div id="lib-dir-method" class="method-detail ">
566
- <a name="method-i-lib_dir"></a>
567
-
568
- <div class="method-heading">
569
-
570
- <span class="method-name">lib_dir</span><span
571
- class="method-args">()</span>
572
- <span class="method-click-advice">click to toggle source</span>
573
-
574
- </div>
575
-
576
- <div class="method-description">
577
-
578
-
579
-
580
-
581
-
582
- <div class="method-source-code"
583
- id="lib-dir-source">
584
- <pre>
585
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 27</span>
586
- 27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lib_dir</span> ; <span class="ruby-identifier">@@run_conf</span>[<span class="ruby-value">:lib_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>
587
- </div>
588
-
589
- </div>
590
-
591
-
592
-
593
-
594
- </div>
595
-
596
-
597
- <div id="log-dir-method" class="method-detail ">
598
- <a name="method-i-log_dir"></a>
599
-
600
- <div class="method-heading">
601
-
602
- <span class="method-name">log_dir</span><span
603
- class="method-args">()</span>
604
- <span class="method-click-advice">click to toggle source</span>
605
-
606
- </div>
607
-
608
- <div class="method-description">
609
-
610
-
611
-
612
-
613
-
614
- <div class="method-source-code"
615
- id="log-dir-source">
616
- <pre>
617
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 26</span>
618
- 26: <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>
619
- </div>
620
-
621
- </div>
622
-
623
-
624
-
625
-
626
- </div>
627
-
628
-
629
- <div id="program-base-method" class="method-detail ">
630
- <a name="method-i-program_base"></a>
631
-
632
- <div class="method-heading">
633
-
634
- <span class="method-name">program_base</span><span
635
- class="method-args">()</span>
636
- <span class="method-click-advice">click to toggle source</span>
637
-
638
- </div>
639
-
640
- <div class="method-description">
641
-
642
-
643
-
644
-
645
-
646
- <div class="method-source-code"
647
- id="program-base-source">
648
- <pre>
649
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 20</span>
650
- 20: <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>
651
- </div>
652
-
653
- </div>
654
-
655
-
656
-
657
-
658
- </div>
659
-
660
-
661
- <div id="program-name-method" class="method-detail ">
662
- <a name="method-i-program_name"></a>
663
-
664
- <div class="method-heading">
665
-
666
- <span class="method-name">program_name</span><span
667
- class="method-args">()</span>
668
- <span class="method-click-advice">click to toggle source</span>
669
-
670
- </div>
671
-
672
- <div class="method-description">
673
-
674
-
675
-
676
-
677
-
678
- <div class="method-source-code"
679
- id="program-name-source">
680
- <pre>
681
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 19</span>
682
- 19: <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>
683
- </div>
684
-
685
- </div>
686
-
687
-
688
-
689
-
690
- </div>
691
-
692
-
693
- <div id="program-path-method" class="method-detail ">
694
- <a name="method-i-program_path"></a>
695
-
696
- <div class="method-heading">
697
-
698
- <span class="method-name">program_path</span><span
699
- class="method-args">()</span>
700
- <span class="method-click-advice">click to toggle source</span>
701
-
702
- </div>
703
-
704
- <div class="method-description">
705
-
706
-
707
-
708
-
709
-
710
- <div class="method-source-code"
711
- id="program-path-source">
712
- <pre>
713
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 21</span>
714
- 21: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">program_path</span> ; <span class="ruby-identifier">@@program_path</span> ; <span class="ruby-keyword kw">end</span></pre>
715
- </div>
716
-
717
- </div>
718
-
719
-
720
-
721
-
722
- </div>
723
-
724
-
725
- <div id="reload-common-config-method" class="method-detail ">
726
- <a name="method-i-reload_common_config"></a>
727
-
728
- <div class="method-heading">
729
-
730
- <span class="method-name">reload_common_config</span><span
731
- class="method-args">()</span>
732
- <span class="method-click-advice">click to toggle source</span>
733
-
734
- </div>
735
-
736
- <div class="method-description">
737
-
738
-
739
-
740
-
741
-
742
- <div class="method-source-code"
743
- id="reload-common-config-source">
744
- <pre>
745
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 75</span>
746
- 75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reload_common_config</span>
747
- 76: <span class="ruby-keyword kw">begin</span>
748
- 77: <span class="ruby-identifier">@@common_config</span> = <span class="ruby-constant">RBatch</span><span class="ruby-operator">::</span><span class="ruby-constant">CommonConfig</span>.<span class="ruby-identifier">new</span>
749
- 78: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>,<span class="ruby-node">&quot;Load Config : \&quot;#{@@common_config.path}\&quot;&quot;</span>
750
- 79: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
751
- 80: <span class="ruby-keyword kw">end</span>
752
- 81: <span class="ruby-keyword kw">end</span></pre>
753
- </div>
754
-
755
- </div>
756
-
757
-
758
-
759
-
760
- </div>
761
-
762
-
763
- <div id="reload-config-method" class="method-detail ">
764
- <a name="method-i-reload_config"></a>
765
-
766
- <div class="method-heading">
767
-
768
- <span class="method-name">reload_config</span><span
769
- class="method-args">()</span>
770
- <span class="method-click-advice">click to toggle source</span>
771
-
772
- </div>
773
-
774
- <div class="method-description">
775
-
776
-
777
-
778
-
779
-
780
- <div class="method-source-code"
781
- id="reload-config-source">
782
- <pre>
783
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 68</span>
784
- 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reload_config</span>
785
- 69: <span class="ruby-keyword kw">begin</span>
786
- 70: <span class="ruby-identifier">@@config</span> = <span class="ruby-constant">RBatch</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
787
- 71: <span class="ruby-constant">RBatch</span>.<span class="ruby-identifier">journal</span> <span class="ruby-value">:info</span>, <span class="ruby-node">&quot;Load Config : \&quot;#{@@config.path}\&quot;&quot;</span>
788
- 72: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
789
- 73: <span class="ruby-keyword kw">end</span>
790
- 74: <span class="ruby-keyword kw">end</span></pre>
791
- </div>
792
-
793
- </div>
794
-
795
-
796
-
797
-
798
- </div>
799
-
800
-
801
- <div id="run-conf-method" class="method-detail ">
802
- <a name="method-i-run_conf"></a>
803
-
804
- <div class="method-heading">
805
-
806
- <span class="method-name">run_conf</span><span
807
- class="method-args">()</span>
808
- <span class="method-click-advice">click to toggle source</span>
809
-
810
- </div>
811
-
812
- <div class="method-description">
813
-
814
-
815
-
816
-
817
-
818
- <div class="method-source-code"
819
- id="run-conf-source">
820
- <pre>
821
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 24</span>
822
- 24: <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>
823
- </div>
824
-
825
- </div>
826
-
827
-
828
-
829
-
830
- </div>
831
-
832
-
833
- <div id="run-conf-path-method" class="method-detail ">
834
- <a name="method-i-run_conf_path"></a>
835
-
836
- <div class="method-heading">
837
-
838
- <span class="method-name">run_conf_path</span><span
839
- class="method-args">()</span>
840
- <span class="method-click-advice">click to toggle source</span>
841
-
842
- </div>
843
-
844
- <div class="method-description">
845
-
846
-
847
-
848
-
849
-
850
- <div class="method-source-code"
851
- id="run-conf-path-source">
852
- <pre>
853
- <span class="ruby-comment cmt"># File lib/rbatch.rb, line 23</span>
854
- 23: <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>
855
- </div>
856
-
857
- </div>
858
-
859
-
860
-
861
-
862
- </div>
863
-
864
-
865
- </div>
866
-
867
-
868
- </div>
869
-
870
-
871
- <div id="rdoc-debugging-section-dump" class="debugging-section">
872
-
873
- <p>Disabled; run with --debug to generate this.</p>
874
-
875
- </div>
876
-
877
- <div id="validator-badges">
878
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
879
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
880
- Rdoc Generator</a> 1.1.6</small>.</p>
881
- </div>
384
+ <span class="ruby-comment"># File lib/rbatch.rb, line 11</span>
385
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">vars</span> ; <span class="ruby-identifier">@@ctrl</span>.<span class="ruby-identifier">vars</span> ; <span class="ruby-keyword">end</span></pre>
386
+ </div><!-- vars-source -->
387
+
388
+ </div>
389
+
390
+
391
+
392
+
393
+ </div><!-- vars-method -->
394
+
395
+
396
+ </div><!-- public-instance-method-details -->
397
+
398
+ </div><!-- 5Buntitled-5D -->
399
+
400
+
401
+ </div><!-- documentation -->
402
+
403
+ <div id="validator-badges">
404
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
405
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
406
+ Rdoc Generator</a> 2</small>.</p>
407
+ </div>
882
408
 
883
409
  </body>
884
410
  </html>