rbatch 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -5
- data/doc/rdoc/CHANGELOG.html +182 -0
- data/doc/rdoc/LICENSE.html +98 -0
- data/doc/rdoc/RBatch/Cmd.html +333 -0
- data/doc/rdoc/RBatch/CmdException.html +158 -0
- data/doc/rdoc/RBatch/CmdResult.html +496 -0
- data/doc/rdoc/RBatch/Config/Exception.html +158 -0
- data/doc/rdoc/RBatch/Config.html +355 -0
- data/doc/rdoc/RBatch/Log.html +743 -0
- data/doc/rdoc/RBatch.html +457 -0
- data/doc/rdoc/created.rid +8 -0
- data/doc/rdoc/images/brick.png +0 -0
- data/doc/rdoc/images/brick_link.png +0 -0
- data/doc/rdoc/images/bug.png +0 -0
- data/doc/rdoc/images/bullet_black.png +0 -0
- data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
- data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
- data/doc/rdoc/images/date.png +0 -0
- data/doc/rdoc/images/find.png +0 -0
- data/doc/rdoc/images/loadingAnimation.gif +0 -0
- data/doc/rdoc/images/macFFBgHack.png +0 -0
- data/doc/rdoc/images/package.png +0 -0
- data/doc/rdoc/images/page_green.png +0 -0
- data/doc/rdoc/images/page_white_text.png +0 -0
- data/doc/rdoc/images/page_white_width.png +0 -0
- data/doc/rdoc/images/plugin.png +0 -0
- data/doc/rdoc/images/ruby.png +0 -0
- data/doc/rdoc/images/tag_green.png +0 -0
- data/doc/rdoc/images/wrench.png +0 -0
- data/doc/rdoc/images/wrench_orange.png +0 -0
- data/doc/rdoc/images/zoom.png +0 -0
- data/doc/rdoc/index.html +136 -0
- data/doc/rdoc/js/darkfish.js +116 -0
- data/doc/rdoc/js/jquery.js +32 -0
- data/doc/rdoc/js/quicksearch.js +114 -0
- data/doc/rdoc/js/thickbox-compressed.js +10 -0
- data/doc/rdoc/lib/rbatch/cmd_rb.html +56 -0
- data/doc/rdoc/lib/rbatch/config_rb.html +56 -0
- data/doc/rdoc/lib/rbatch/log_rb.html +58 -0
- data/doc/rdoc/lib/rbatch_rb.html +58 -0
- data/doc/rdoc/rdoc.css +706 -0
- data/sample/bin/apache_log_insert.rb +108 -0
- data/sample/bin/file_batch_copy.rb +13 -0
- data/sample/bin/mysql_data_backup.rb +42 -0
- data/sample/bin/openam_log_insert.rb +105 -0
- data/sample/bin/openldap_backup.rb +7 -0
- data/sample/bin/webagent_log_insert.rb +108 -0
- data/sample/conf/apache_log_insert.yaml +8 -0
- data/sample/conf/file_batch_copy.yaml +5 -0
- data/sample/conf/mysql_data_backup.yaml +5 -0
- data/sample/conf/openam_log_insert.yaml +35 -0
- data/sample/conf/openldap_backup.yaml +2 -0
- data/sample/conf/rbatch.yaml +68 -0
- data/sample/conf/test.yaml +5 -0
- data/sample/conf/webagent_log_insert.yaml +16 -0
- data/sample/data/access_log.1 +50 -0
- data/sample/data/access_log.2012-07-10 +50 -0
- data/sample/data/amAgent_localhost_80.log.1 +39 -0
- data/sample/data/amAgent_localhost_80.log.2012-07-10 +40 -0
- data/sample/data/amAuthentication.access.1 +30 -0
- data/sample/data/amAuthentication.access.2012-07-10 +30 -0
- data/sample/data/amAuthentication.error.1 +10 -0
- data/sample/data/amAuthentication.error.2012-07-10 +6 -0
- data/sample/log/20130120_apache_log_insert.log +171 -0
- data/sample/log/20130120_openam_log_insert.log +143 -0
- data/sample/log/20130121_apache_log_insert.log +103 -0
- data/sample/log/20130121_file_batch_copy.log +15 -0
- data/sample/log/20130121_openam_log_insert.log +39 -0
- data/sample/log/20130121_webagent_log_insert.log +432 -0
- data/sample/log/empty +0 -0
- data/sample/moto/README +16 -0
- data/sample/moto/auditlog.src.zip +0 -0
- data/sample/moto/build.gradle +106 -0
- data/sample/moto/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/sample/moto/gradle/wrapper/gradle-wrapper.properties +7 -0
- data/sample/moto/gradle.properties +12 -0
- data/sample/moto/gradlew +164 -0
- data/sample/moto/gradlew.bat +90 -0
- data/sample/moto/settings.gradle +1 -0
- data/sample/moto/src/main/bin/delete_auditlog.sh +176 -0
- data/sample/moto/src/main/bin/delete_workflowinstances.sh +315 -0
- data/sample/moto/src/main/bin/import_auth_log.sh +23 -0
- data/sample/moto/src/main/etc/delete_auditlog.param +39 -0
- data/sample/moto/src/main/etc/delete_workflowinstances.param +30 -0
- data/sample/moto/src/main/etc/log4j.xml +28 -0
- data/sample/moto/src/main/etc/status.properties +27 -0
- data/sample/moto/src/main/etc/sysparam.properties +54 -0
- data/sample/moto/src/main/java/jp/ossc/imortAuditlog/DateUtil.java +48 -0
- data/sample/moto/src/main/java/jp/ossc/imortAuditlog/ImportAuthLogMain.java +36 -0
- data/sample/moto/src/main/java/jp/ossc/imortAuditlog/LogReader.java +521 -0
- data/sample/moto/src/main/java/jp/ossc/imortAuditlog/MysqlController.java +315 -0
- data/sample/moto/src/main/logrotate/delete_auditlog +6 -0
- data/sample/moto/src/main/logrotate/delete_workflowinstanceslog +6 -0
- data/sample/moto/src/main/sql/tables.sql +36 -0
- data/test/cases/test_cmd.rb +120 -0
- data/test/cases/test_config.rb +41 -0
- data/test/cases/test_log.rb +599 -0
- data/test/conf/rbatch.yaml +0 -0
- data/test/mocks/PrintArgs.exe +0 -0
- data/test/mocks/win_cmd.exe +0 -0
- metadata +100 -1
@@ -0,0 +1,158 @@
|
|
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>Class: RBatch::CmdException</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="class">
|
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/cmd_rb.html?TB_iframe=true&height=550&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"><a href="Config.html">RBatch::Config</a></p>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Namespace Contents -->
|
64
|
+
|
65
|
+
|
66
|
+
<!-- Method Quickref -->
|
67
|
+
|
68
|
+
|
69
|
+
<!-- Included Modules -->
|
70
|
+
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<div id="project-metadata">
|
74
|
+
|
75
|
+
|
76
|
+
<div id="fileindex-section" class="section project-section">
|
77
|
+
<h3 class="section-header">Files</h3>
|
78
|
+
<ul>
|
79
|
+
|
80
|
+
<li class="file"><a href="../CHANGELOG.html">CHANGELOG</a></li>
|
81
|
+
|
82
|
+
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
|
83
|
+
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
<div id="classindex-section" class="section project-section">
|
89
|
+
<h3 class="section-header">Class Index
|
90
|
+
<span class="search-toggle"><img src="../images/find.png"
|
91
|
+
height="16" width="16" alt="[+]"
|
92
|
+
title="show/hide quicksearch" /></span></h3>
|
93
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
94
|
+
<fieldset>
|
95
|
+
<legend>Quicksearch</legend>
|
96
|
+
<input type="text" name="quicksearch" value=""
|
97
|
+
class="quicksearch-field" />
|
98
|
+
</fieldset>
|
99
|
+
</form>
|
100
|
+
|
101
|
+
<ul class="link-list">
|
102
|
+
|
103
|
+
<li><a href="../RBatch.html">RBatch</a></li>
|
104
|
+
|
105
|
+
<li><a href="../RBatch/Cmd.html">RBatch::Cmd</a></li>
|
106
|
+
|
107
|
+
<li><a href="../RBatch/CmdException.html">RBatch::CmdException</a></li>
|
108
|
+
|
109
|
+
<li><a href="../RBatch/CmdResult.html">RBatch::CmdResult</a></li>
|
110
|
+
|
111
|
+
<li><a href="../RBatch/Config.html">RBatch::Config</a></li>
|
112
|
+
|
113
|
+
<li><a href="../RBatch/Config/Exception.html">RBatch::Config::Exception</a></li>
|
114
|
+
|
115
|
+
<li><a href="../RBatch/Log.html">RBatch::Log</a></li>
|
116
|
+
|
117
|
+
</ul>
|
118
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div id="documentation">
|
126
|
+
<h1 class="class">RBatch::CmdException</h1>
|
127
|
+
|
128
|
+
<div id="description">
|
129
|
+
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<!-- Constants -->
|
133
|
+
|
134
|
+
|
135
|
+
<!-- Attributes -->
|
136
|
+
|
137
|
+
|
138
|
+
<!-- Methods -->
|
139
|
+
|
140
|
+
|
141
|
+
</div>
|
142
|
+
|
143
|
+
|
144
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
145
|
+
|
146
|
+
<p>Disabled; run with --debug to generate this.</p>
|
147
|
+
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<div id="validator-badges">
|
151
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
152
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
153
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
</body>
|
157
|
+
</html>
|
158
|
+
|
@@ -0,0 +1,496 @@
|
|
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>Class: RBatch::CmdResult</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="class">
|
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/cmd_rb.html?TB_iframe=true&height=550&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
|
+
<div id="fileindex-section" class="section project-section">
|
102
|
+
<h3 class="section-header">Files</h3>
|
103
|
+
<ul>
|
104
|
+
|
105
|
+
<li class="file"><a href="../CHANGELOG.html">CHANGELOG</a></li>
|
106
|
+
|
107
|
+
<li class="file"><a href="../LICENSE.html">LICENSE</a></li>
|
108
|
+
|
109
|
+
</ul>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
|
113
|
+
<div id="classindex-section" class="section project-section">
|
114
|
+
<h3 class="section-header">Class Index
|
115
|
+
<span class="search-toggle"><img src="../images/find.png"
|
116
|
+
height="16" width="16" alt="[+]"
|
117
|
+
title="show/hide quicksearch" /></span></h3>
|
118
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
119
|
+
<fieldset>
|
120
|
+
<legend>Quicksearch</legend>
|
121
|
+
<input type="text" name="quicksearch" value=""
|
122
|
+
class="quicksearch-field" />
|
123
|
+
</fieldset>
|
124
|
+
</form>
|
125
|
+
|
126
|
+
<ul class="link-list">
|
127
|
+
|
128
|
+
<li><a href="../RBatch.html">RBatch</a></li>
|
129
|
+
|
130
|
+
<li><a href="../RBatch/Cmd.html">RBatch::Cmd</a></li>
|
131
|
+
|
132
|
+
<li><a href="../RBatch/CmdException.html">RBatch::CmdException</a></li>
|
133
|
+
|
134
|
+
<li><a href="../RBatch/CmdResult.html">RBatch::CmdResult</a></li>
|
135
|
+
|
136
|
+
<li><a href="../RBatch/Config.html">RBatch::Config</a></li>
|
137
|
+
|
138
|
+
<li><a href="../RBatch/Config/Exception.html">RBatch::Config::Exception</a></li>
|
139
|
+
|
140
|
+
<li><a href="../RBatch/Log.html">RBatch::Log</a></li>
|
141
|
+
|
142
|
+
</ul>
|
143
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<div id="documentation">
|
151
|
+
<h1 class="class">RBatch::CmdResult</h1>
|
152
|
+
|
153
|
+
<div id="description">
|
154
|
+
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<!-- Constants -->
|
158
|
+
|
159
|
+
|
160
|
+
<!-- Attributes -->
|
161
|
+
|
162
|
+
|
163
|
+
<!-- Methods -->
|
164
|
+
|
165
|
+
<div id="public-class-method-details" class="method-section section">
|
166
|
+
<h3 class="section-header">Public Class Methods</h3>
|
167
|
+
|
168
|
+
|
169
|
+
<div id="new-method" class="method-detail ">
|
170
|
+
<a name="method-c-new"></a>
|
171
|
+
|
172
|
+
<div class="method-heading">
|
173
|
+
|
174
|
+
<span class="method-name">new</span><span
|
175
|
+
class="method-args">(stdout_file, stderr_file, status, cmd_str)</span>
|
176
|
+
<span class="method-click-advice">click to toggle source</span>
|
177
|
+
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div class="method-description">
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
<div class="method-source-code"
|
187
|
+
id="new-source">
|
188
|
+
<pre>
|
189
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 85</span>
|
190
|
+
85: <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>)
|
191
|
+
86: <span class="ruby-ivar">@stdout_file</span> = <span class="ruby-identifier">stdout_file</span>
|
192
|
+
87: <span class="ruby-ivar">@stderr_file</span> = <span class="ruby-identifier">stderr_file</span>
|
193
|
+
88: <span class="ruby-ivar">@status</span> = <span class="ruby-identifier">status</span>
|
194
|
+
89: <span class="ruby-ivar">@cmd_str</span> = <span class="ruby-identifier">cmd_str</span>
|
195
|
+
90: <span class="ruby-keyword kw">end</span></pre>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<div id="public-instance-method-details" class="method-section section">
|
209
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
210
|
+
|
211
|
+
|
212
|
+
<div id="cmd-str-method" class="method-detail ">
|
213
|
+
<a name="method-i-cmd_str"></a>
|
214
|
+
|
215
|
+
<div class="method-heading">
|
216
|
+
|
217
|
+
<span class="method-name">cmd_str</span><span
|
218
|
+
class="method-args">()</span>
|
219
|
+
<span class="method-click-advice">click to toggle source</span>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div class="method-description">
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<div class="method-source-code"
|
230
|
+
id="cmd-str-source">
|
231
|
+
<pre>
|
232
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 94</span>
|
233
|
+
94: <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>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
</div>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
|
244
|
+
<div id="status-method" class="method-detail ">
|
245
|
+
<a name="method-i-status"></a>
|
246
|
+
|
247
|
+
<div class="method-heading">
|
248
|
+
|
249
|
+
<span class="method-name">status</span><span
|
250
|
+
class="method-args">()</span>
|
251
|
+
<span class="method-click-advice">click to toggle source</span>
|
252
|
+
|
253
|
+
</div>
|
254
|
+
|
255
|
+
<div class="method-description">
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
<div class="method-source-code"
|
262
|
+
id="status-source">
|
263
|
+
<pre>
|
264
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 93</span>
|
265
|
+
93: <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>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
</div>
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
|
276
|
+
<div id="stderr-method" class="method-detail ">
|
277
|
+
<a name="method-i-stderr"></a>
|
278
|
+
|
279
|
+
<div class="method-heading">
|
280
|
+
|
281
|
+
<span class="method-name">stderr</span><span
|
282
|
+
class="method-args">()</span>
|
283
|
+
<span class="method-click-advice">click to toggle source</span>
|
284
|
+
|
285
|
+
</div>
|
286
|
+
|
287
|
+
<div class="method-description">
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<div class="method-source-code"
|
294
|
+
id="stderr-source">
|
295
|
+
<pre>
|
296
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 98</span>
|
297
|
+
98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stderr</span>
|
298
|
+
99: <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stderr_file</span>)
|
299
|
+
100: <span class="ruby-keyword kw">end</span></pre>
|
300
|
+
</div>
|
301
|
+
|
302
|
+
</div>
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
</div>
|
308
|
+
|
309
|
+
|
310
|
+
<div id="stderr-file-method" class="method-detail ">
|
311
|
+
<a name="method-i-stderr_file"></a>
|
312
|
+
|
313
|
+
<div class="method-heading">
|
314
|
+
|
315
|
+
<span class="method-name">stderr_file</span><span
|
316
|
+
class="method-args">()</span>
|
317
|
+
<span class="method-click-advice">click to toggle source</span>
|
318
|
+
|
319
|
+
</div>
|
320
|
+
|
321
|
+
<div class="method-description">
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
<div class="method-source-code"
|
328
|
+
id="stderr-file-source">
|
329
|
+
<pre>
|
330
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 92</span>
|
331
|
+
92: <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>
|
332
|
+
</div>
|
333
|
+
|
334
|
+
</div>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
</div>
|
340
|
+
|
341
|
+
|
342
|
+
<div id="stdout-method" class="method-detail ">
|
343
|
+
<a name="method-i-stdout"></a>
|
344
|
+
|
345
|
+
<div class="method-heading">
|
346
|
+
|
347
|
+
<span class="method-name">stdout</span><span
|
348
|
+
class="method-args">()</span>
|
349
|
+
<span class="method-click-advice">click to toggle source</span>
|
350
|
+
|
351
|
+
</div>
|
352
|
+
|
353
|
+
<div class="method-description">
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
<div class="method-source-code"
|
360
|
+
id="stdout-source">
|
361
|
+
<pre>
|
362
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 95</span>
|
363
|
+
95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stdout</span>
|
364
|
+
96: <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stdout_file</span>)
|
365
|
+
97: <span class="ruby-keyword kw">end</span></pre>
|
366
|
+
</div>
|
367
|
+
|
368
|
+
</div>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
</div>
|
374
|
+
|
375
|
+
|
376
|
+
<div id="stdout-file-method" class="method-detail ">
|
377
|
+
<a name="method-i-stdout_file"></a>
|
378
|
+
|
379
|
+
<div class="method-heading">
|
380
|
+
|
381
|
+
<span class="method-name">stdout_file</span><span
|
382
|
+
class="method-args">()</span>
|
383
|
+
<span class="method-click-advice">click to toggle source</span>
|
384
|
+
|
385
|
+
</div>
|
386
|
+
|
387
|
+
<div class="method-description">
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
<div class="method-source-code"
|
394
|
+
id="stdout-file-source">
|
395
|
+
<pre>
|
396
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 91</span>
|
397
|
+
91: <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>
|
398
|
+
</div>
|
399
|
+
|
400
|
+
</div>
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
</div>
|
406
|
+
|
407
|
+
|
408
|
+
<div id="to-h-method" class="method-detail ">
|
409
|
+
<a name="method-i-to_h"></a>
|
410
|
+
|
411
|
+
<div class="method-heading">
|
412
|
+
|
413
|
+
<span class="method-name">to_h</span><span
|
414
|
+
class="method-args">()</span>
|
415
|
+
<span class="method-click-advice">click to toggle source</span>
|
416
|
+
|
417
|
+
</div>
|
418
|
+
|
419
|
+
<div class="method-description">
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
<div class="method-source-code"
|
426
|
+
id="to-h-source">
|
427
|
+
<pre>
|
428
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 101</span>
|
429
|
+
101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
|
430
|
+
102: {<span class="ruby-value">:cmd_str</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@cmd_str</span>,<span class="ruby-value">:stdout</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">stdout</span>, <span class="ruby-value">:stderr</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">stderr</span>, <span class="ruby-value">:status</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">status</span>}
|
431
|
+
103: <span class="ruby-keyword kw">end</span></pre>
|
432
|
+
</div>
|
433
|
+
|
434
|
+
</div>
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
</div>
|
440
|
+
|
441
|
+
|
442
|
+
<div id="to-s-method" class="method-detail ">
|
443
|
+
<a name="method-i-to_s"></a>
|
444
|
+
|
445
|
+
<div class="method-heading">
|
446
|
+
|
447
|
+
<span class="method-name">to_s</span><span
|
448
|
+
class="method-args">()</span>
|
449
|
+
<span class="method-click-advice">click to toggle source</span>
|
450
|
+
|
451
|
+
</div>
|
452
|
+
|
453
|
+
<div class="method-description">
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
<div class="method-source-code"
|
460
|
+
id="to-s-source">
|
461
|
+
<pre>
|
462
|
+
<span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 104</span>
|
463
|
+
104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
464
|
+
105: <span class="ruby-identifier">to_h</span>.<span class="ruby-identifier">to_s</span>
|
465
|
+
106: <span class="ruby-keyword kw">end</span></pre>
|
466
|
+
</div>
|
467
|
+
|
468
|
+
</div>
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
</div>
|
474
|
+
|
475
|
+
|
476
|
+
</div>
|
477
|
+
|
478
|
+
|
479
|
+
</div>
|
480
|
+
|
481
|
+
|
482
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
483
|
+
|
484
|
+
<p>Disabled; run with --debug to generate this.</p>
|
485
|
+
|
486
|
+
</div>
|
487
|
+
|
488
|
+
<div id="validator-badges">
|
489
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
490
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
491
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
492
|
+
</div>
|
493
|
+
|
494
|
+
</body>
|
495
|
+
</html>
|
496
|
+
|