cft_smartcloud 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -0
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/bin/cft_smartcloud +37 -0
- data/cft_smartcloud.gemspec +88 -7
- data/lib/smartcloud.rb +12 -2
- data/lib/smartcloud_logger.rb +1 -1
- data/rdoc/classes/ConfigTable/BoolItem.html +172 -0
- data/rdoc/classes/ConfigTable/ExecItem.html +252 -0
- data/rdoc/classes/ConfigTable/Item.html +308 -0
- data/rdoc/classes/ConfigTable/MetaConfigEnvironment.html +445 -0
- data/rdoc/classes/ConfigTable/PackageSelectionItem.html +188 -0
- data/rdoc/classes/ConfigTable/PathItem.html +148 -0
- data/rdoc/classes/ConfigTable/ProgramItem.html +148 -0
- data/rdoc/classes/ConfigTable/SelectItem.html +175 -0
- data/rdoc/classes/ConfigTable.html +724 -0
- data/rdoc/classes/Enumerable.html +157 -0
- data/rdoc/classes/Errno/ENOTEMPTY.html +111 -0
- data/rdoc/classes/Errno.html +111 -0
- data/rdoc/classes/File.html +197 -0
- data/rdoc/classes/FileOperations.html +600 -0
- data/rdoc/classes/Hash.html +163 -0
- data/rdoc/classes/HookScriptAPI.html +413 -0
- data/rdoc/classes/IBMSmartCloud.html +1484 -0
- data/rdoc/classes/Installer/Shebang.html +245 -0
- data/rdoc/classes/Installer.html +1660 -0
- data/rdoc/classes/MIME/InvalidContentType.html +119 -0
- data/rdoc/classes/MIME/Type.html +1366 -0
- data/rdoc/classes/MIME/Types.html +643 -0
- data/rdoc/classes/MIME.html +124 -0
- data/rdoc/classes/MockSmartCloud.html +376 -0
- data/rdoc/classes/Net/HTTP.html +164 -0
- data/rdoc/classes/Net.html +122 -0
- data/rdoc/classes/RestClient/AbstractResponse.html +417 -0
- data/rdoc/classes/RestClient/Exception.html +305 -0
- data/rdoc/classes/RestClient/ExceptionWithResponse.html +119 -0
- data/rdoc/classes/RestClient/Exceptions.html +130 -0
- data/rdoc/classes/RestClient/MaxRedirectsReached.html +113 -0
- data/rdoc/classes/RestClient/Payload/Base.html +422 -0
- data/rdoc/classes/RestClient/Payload/Multipart.html +372 -0
- data/rdoc/classes/RestClient/Payload/Streamed.html +191 -0
- data/rdoc/classes/RestClient/Payload/UrlEncoded.html +202 -0
- data/rdoc/classes/RestClient/Payload.html +192 -0
- data/rdoc/classes/RestClient/RawResponse.html +236 -0
- data/rdoc/classes/RestClient/Redirect.html +168 -0
- data/rdoc/classes/RestClient/Request.html +950 -0
- data/rdoc/classes/RestClient/RequestFailed.html +178 -0
- data/rdoc/classes/RestClient/Resource.html +607 -0
- data/rdoc/classes/RestClient/Response.html +208 -0
- data/rdoc/classes/RestClient/ResponseForException.html +152 -0
- data/rdoc/classes/RestClient/SSLCertificateNotVerified.html +149 -0
- data/rdoc/classes/RestClient/ServerBrokeConnection.html +157 -0
- data/rdoc/classes/RestClient.html +737 -0
- data/rdoc/classes/SetupError.html +111 -0
- data/rdoc/classes/SmartcloudLogger.html +162 -0
- data/rdoc/classes/TestMIME.html +109 -0
- data/rdoc/classes/ToplevelInstaller.html +987 -0
- data/rdoc/classes/ToplevelInstallerMulti.html +593 -0
- data/rdoc/classes/XmlSimple/Cache.html +372 -0
- data/rdoc/classes/XmlSimple.html +475 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/README_rdoc.html +198 -0
- data/rdoc/files/lib/hash_fix_rb.html +115 -0
- data/rdoc/files/lib/mime-types-1_16/lib/mime/types_rb.html +107 -0
- data/rdoc/files/lib/mime-types-1_16/setup_rb.html +157 -0
- data/rdoc/files/lib/mime-types-1_16/test/test_mime_type_rb.html +109 -0
- data/rdoc/files/lib/mime-types-1_16/test/test_mime_types_rb.html +109 -0
- data/rdoc/files/lib/mock_smartcloud_rb.html +115 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/rest-client_rb.html +107 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/rest_client_rb.html +108 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/abstract_response_rb.html +108 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/exceptions_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/net_http_ext_rb.html +113 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/payload_rb.html +110 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/raw_response_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/request_rb.html +110 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/resource_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/response_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient_rb.html +111 -0
- data/rdoc/files/lib/restclient_fix_rb.html +115 -0
- data/rdoc/files/lib/smartcloud_logger_rb.html +115 -0
- data/rdoc/files/lib/smartcloud_rb.html +143 -0
- data/rdoc/files/lib/xml-simple-1_0_12/lib/xmlsimple_rb.html +124 -0
- data/rdoc/fr_class_index.html +79 -0
- data/rdoc/fr_file_index.html +48 -0
- data/rdoc/fr_method_index.html +441 -0
- data/rdoc/index.html +26 -0
- data/rdoc/rdoc-style.css +208 -0
- metadata +90 -6
@@ -0,0 +1,445 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ConfigTable::MetaConfigEnvironment</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ConfigTable::MetaConfigEnvironment</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/mime-types-1_16/setup_rb.html">
|
59
|
+
lib/mime-types-1.16/setup.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000093">add_bool_config</a>
|
90
|
+
<a href="#M000092">add_config</a>
|
91
|
+
<a href="#M000094">add_path_config</a>
|
92
|
+
<a href="#M000089">bool_config?</a>
|
93
|
+
<a href="#M000088">config?</a>
|
94
|
+
<a href="#M000087">config_names</a>
|
95
|
+
<a href="#M000098">declare_packages</a>
|
96
|
+
<a href="#M000086">new</a>
|
97
|
+
<a href="#M000097">packages</a>
|
98
|
+
<a href="#M000090">path_config?</a>
|
99
|
+
<a href="#M000096">remove_config</a>
|
100
|
+
<a href="#M000095">set_config_default</a>
|
101
|
+
<a href="#M000091">value_config?</a>
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
<!-- if includes -->
|
109
|
+
|
110
|
+
<div id="section">
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<!-- if method_list -->
|
120
|
+
<div id="methods">
|
121
|
+
<h3 class="section-bar">Public Class methods</h3>
|
122
|
+
|
123
|
+
<div id="method-M000086" class="method-detail">
|
124
|
+
<a name="M000086"></a>
|
125
|
+
|
126
|
+
<div class="method-heading">
|
127
|
+
<a href="#M000086" class="method-signature">
|
128
|
+
<span class="method-name">new</span><span class="method-args">(config, installer)</span>
|
129
|
+
</a>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<div class="method-description">
|
133
|
+
<p><a class="source-toggle" href="#"
|
134
|
+
onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
|
135
|
+
<div class="method-source-code" id="M000086-source">
|
136
|
+
<pre>
|
137
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 474</span>
|
138
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">config</span>, <span class="ruby-identifier">installer</span>)
|
139
|
+
<span class="ruby-ivar">@config</span> = <span class="ruby-identifier">config</span>
|
140
|
+
<span class="ruby-ivar">@installer</span> = <span class="ruby-identifier">installer</span>
|
141
|
+
<span class="ruby-keyword kw">end</span>
|
142
|
+
</pre>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
148
|
+
|
149
|
+
<div id="method-M000093" class="method-detail">
|
150
|
+
<a name="M000093"></a>
|
151
|
+
|
152
|
+
<div class="method-heading">
|
153
|
+
<a href="#M000093" class="method-signature">
|
154
|
+
<span class="method-name">add_bool_config</span><span class="method-args">(name, default, desc)</span>
|
155
|
+
</a>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
<div class="method-description">
|
159
|
+
<p><a class="source-toggle" href="#"
|
160
|
+
onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
|
161
|
+
<div class="method-source-code" id="M000093-source">
|
162
|
+
<pre>
|
163
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 503</span>
|
164
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_bool_config</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span>, <span class="ruby-identifier">desc</span>)
|
165
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">add</span> <span class="ruby-constant">BoolItem</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>, <span class="ruby-value str">'yes/no'</span>, <span class="ruby-identifier">default</span> <span class="ruby-value">? </span><span class="ruby-value str">'yes'</span> <span class="ruby-operator">:</span> <span class="ruby-value str">'no'</span>, <span class="ruby-identifier">desc</span>)
|
166
|
+
<span class="ruby-keyword kw">end</span>
|
167
|
+
</pre>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<div id="method-M000092" class="method-detail">
|
173
|
+
<a name="M000092"></a>
|
174
|
+
|
175
|
+
<div class="method-heading">
|
176
|
+
<a href="#M000092" class="method-signature">
|
177
|
+
<span class="method-name">add_config</span><span class="method-args">(item)</span>
|
178
|
+
</a>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="method-description">
|
182
|
+
<p><a class="source-toggle" href="#"
|
183
|
+
onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
|
184
|
+
<div class="method-source-code" id="M000092-source">
|
185
|
+
<pre>
|
186
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 499</span>
|
187
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_config</span>(<span class="ruby-identifier">item</span>)
|
188
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">add</span> <span class="ruby-identifier">item</span>
|
189
|
+
<span class="ruby-keyword kw">end</span>
|
190
|
+
</pre>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div id="method-M000094" class="method-detail">
|
196
|
+
<a name="M000094"></a>
|
197
|
+
|
198
|
+
<div class="method-heading">
|
199
|
+
<a href="#M000094" class="method-signature">
|
200
|
+
<span class="method-name">add_path_config</span><span class="method-args">(name, default, desc)</span>
|
201
|
+
</a>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
<div class="method-description">
|
205
|
+
<p><a class="source-toggle" href="#"
|
206
|
+
onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
|
207
|
+
<div class="method-source-code" id="M000094-source">
|
208
|
+
<pre>
|
209
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 507</span>
|
210
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_path_config</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span>, <span class="ruby-identifier">desc</span>)
|
211
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">add</span> <span class="ruby-constant">PathItem</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>, <span class="ruby-value str">'path'</span>, <span class="ruby-identifier">default</span>, <span class="ruby-identifier">desc</span>)
|
212
|
+
<span class="ruby-keyword kw">end</span>
|
213
|
+
</pre>
|
214
|
+
</div>
|
215
|
+
</div>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<div id="method-M000089" class="method-detail">
|
219
|
+
<a name="M000089"></a>
|
220
|
+
|
221
|
+
<div class="method-heading">
|
222
|
+
<a href="#M000089" class="method-signature">
|
223
|
+
<span class="method-name">bool_config?</span><span class="method-args">(name)</span>
|
224
|
+
</a>
|
225
|
+
</div>
|
226
|
+
|
227
|
+
<div class="method-description">
|
228
|
+
<p><a class="source-toggle" href="#"
|
229
|
+
onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000089-source">
|
231
|
+
<pre>
|
232
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 487</span>
|
233
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bool_config?</span>(<span class="ruby-identifier">name</span>)
|
234
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>).<span class="ruby-identifier">config_type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'bool'</span>
|
235
|
+
<span class="ruby-keyword kw">end</span>
|
236
|
+
</pre>
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
|
241
|
+
<div id="method-M000088" class="method-detail">
|
242
|
+
<a name="M000088"></a>
|
243
|
+
|
244
|
+
<div class="method-heading">
|
245
|
+
<a href="#M000088" class="method-signature">
|
246
|
+
<span class="method-name">config?</span><span class="method-args">(name)</span>
|
247
|
+
</a>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div class="method-description">
|
251
|
+
<p><a class="source-toggle" href="#"
|
252
|
+
onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
|
253
|
+
<div class="method-source-code" id="M000088-source">
|
254
|
+
<pre>
|
255
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 483</span>
|
256
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config?</span>(<span class="ruby-identifier">name</span>)
|
257
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
|
258
|
+
<span class="ruby-keyword kw">end</span>
|
259
|
+
</pre>
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
|
264
|
+
<div id="method-M000087" class="method-detail">
|
265
|
+
<a name="M000087"></a>
|
266
|
+
|
267
|
+
<div class="method-heading">
|
268
|
+
<a href="#M000087" class="method-signature">
|
269
|
+
<span class="method-name">config_names</span><span class="method-args">()</span>
|
270
|
+
</a>
|
271
|
+
</div>
|
272
|
+
|
273
|
+
<div class="method-description">
|
274
|
+
<p><a class="source-toggle" href="#"
|
275
|
+
onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
|
276
|
+
<div class="method-source-code" id="M000087-source">
|
277
|
+
<pre>
|
278
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 479</span>
|
279
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_names</span>
|
280
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">names</span>
|
281
|
+
<span class="ruby-keyword kw">end</span>
|
282
|
+
</pre>
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
<div id="method-M000098" class="method-detail">
|
288
|
+
<a name="M000098"></a>
|
289
|
+
|
290
|
+
<div class="method-heading">
|
291
|
+
<a href="#M000098" class="method-signature">
|
292
|
+
<span class="method-name">declare_packages</span><span class="method-args">(list)</span>
|
293
|
+
</a>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
<div class="method-description">
|
297
|
+
<p>
|
298
|
+
For only multipackage
|
299
|
+
</p>
|
300
|
+
<p><a class="source-toggle" href="#"
|
301
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
302
|
+
<div class="method-source-code" id="M000098-source">
|
303
|
+
<pre>
|
304
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 526</span>
|
305
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">declare_packages</span>(<span class="ruby-identifier">list</span>)
|
306
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">'[setup.rb fatal] multi-package metaconfig API declare_packages() called for single-package; contact application package vendor'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@installer</span>
|
307
|
+
<span class="ruby-ivar">@installer</span>.<span class="ruby-identifier">packages</span> = <span class="ruby-identifier">list</span>
|
308
|
+
<span class="ruby-keyword kw">end</span>
|
309
|
+
</pre>
|
310
|
+
</div>
|
311
|
+
</div>
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div id="method-M000097" class="method-detail">
|
315
|
+
<a name="M000097"></a>
|
316
|
+
|
317
|
+
<div class="method-heading">
|
318
|
+
<a href="#M000097" class="method-signature">
|
319
|
+
<span class="method-name">packages</span><span class="method-args">()</span>
|
320
|
+
</a>
|
321
|
+
</div>
|
322
|
+
|
323
|
+
<div class="method-description">
|
324
|
+
<p>
|
325
|
+
For only multipackage
|
326
|
+
</p>
|
327
|
+
<p><a class="source-toggle" href="#"
|
328
|
+
onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
|
329
|
+
<div class="method-source-code" id="M000097-source">
|
330
|
+
<pre>
|
331
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 520</span>
|
332
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">packages</span>
|
333
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">'[setup.rb fatal] multi-package metaconfig API packages() called for single-package; contact application package vendor'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@installer</span>
|
334
|
+
<span class="ruby-ivar">@installer</span>.<span class="ruby-identifier">packages</span>
|
335
|
+
<span class="ruby-keyword kw">end</span>
|
336
|
+
</pre>
|
337
|
+
</div>
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
|
341
|
+
<div id="method-M000090" class="method-detail">
|
342
|
+
<a name="M000090"></a>
|
343
|
+
|
344
|
+
<div class="method-heading">
|
345
|
+
<a href="#M000090" class="method-signature">
|
346
|
+
<span class="method-name">path_config?</span><span class="method-args">(name)</span>
|
347
|
+
</a>
|
348
|
+
</div>
|
349
|
+
|
350
|
+
<div class="method-description">
|
351
|
+
<p><a class="source-toggle" href="#"
|
352
|
+
onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
|
353
|
+
<div class="method-source-code" id="M000090-source">
|
354
|
+
<pre>
|
355
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 491</span>
|
356
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">path_config?</span>(<span class="ruby-identifier">name</span>)
|
357
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>).<span class="ruby-identifier">config_type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'path'</span>
|
358
|
+
<span class="ruby-keyword kw">end</span>
|
359
|
+
</pre>
|
360
|
+
</div>
|
361
|
+
</div>
|
362
|
+
</div>
|
363
|
+
|
364
|
+
<div id="method-M000096" class="method-detail">
|
365
|
+
<a name="M000096"></a>
|
366
|
+
|
367
|
+
<div class="method-heading">
|
368
|
+
<a href="#M000096" class="method-signature">
|
369
|
+
<span class="method-name">remove_config</span><span class="method-args">(name)</span>
|
370
|
+
</a>
|
371
|
+
</div>
|
372
|
+
|
373
|
+
<div class="method-description">
|
374
|
+
<p><a class="source-toggle" href="#"
|
375
|
+
onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
|
376
|
+
<div class="method-source-code" id="M000096-source">
|
377
|
+
<pre>
|
378
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 515</span>
|
379
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_config</span>(<span class="ruby-identifier">name</span>)
|
380
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">remove</span>(<span class="ruby-identifier">name</span>)
|
381
|
+
<span class="ruby-keyword kw">end</span>
|
382
|
+
</pre>
|
383
|
+
</div>
|
384
|
+
</div>
|
385
|
+
</div>
|
386
|
+
|
387
|
+
<div id="method-M000095" class="method-detail">
|
388
|
+
<a name="M000095"></a>
|
389
|
+
|
390
|
+
<div class="method-heading">
|
391
|
+
<a href="#M000095" class="method-signature">
|
392
|
+
<span class="method-name">set_config_default</span><span class="method-args">(name, default)</span>
|
393
|
+
</a>
|
394
|
+
</div>
|
395
|
+
|
396
|
+
<div class="method-description">
|
397
|
+
<p><a class="source-toggle" href="#"
|
398
|
+
onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
|
399
|
+
<div class="method-source-code" id="M000095-source">
|
400
|
+
<pre>
|
401
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 511</span>
|
402
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_config_default</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span>)
|
403
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>).<span class="ruby-identifier">default</span> = <span class="ruby-identifier">default</span>
|
404
|
+
<span class="ruby-keyword kw">end</span>
|
405
|
+
</pre>
|
406
|
+
</div>
|
407
|
+
</div>
|
408
|
+
</div>
|
409
|
+
|
410
|
+
<div id="method-M000091" class="method-detail">
|
411
|
+
<a name="M000091"></a>
|
412
|
+
|
413
|
+
<div class="method-heading">
|
414
|
+
<a href="#M000091" class="method-signature">
|
415
|
+
<span class="method-name">value_config?</span><span class="method-args">(name)</span>
|
416
|
+
</a>
|
417
|
+
</div>
|
418
|
+
|
419
|
+
<div class="method-description">
|
420
|
+
<p><a class="source-toggle" href="#"
|
421
|
+
onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
|
422
|
+
<div class="method-source-code" id="M000091-source">
|
423
|
+
<pre>
|
424
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 495</span>
|
425
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">value_config?</span>(<span class="ruby-identifier">name</span>)
|
426
|
+
<span class="ruby-ivar">@config</span>.<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>).<span class="ruby-identifier">config_type</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'exec'</span>
|
427
|
+
<span class="ruby-keyword kw">end</span>
|
428
|
+
</pre>
|
429
|
+
</div>
|
430
|
+
</div>
|
431
|
+
</div>
|
432
|
+
|
433
|
+
|
434
|
+
</div>
|
435
|
+
|
436
|
+
|
437
|
+
</div>
|
438
|
+
|
439
|
+
|
440
|
+
<div id="validator-badges">
|
441
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
442
|
+
</div>
|
443
|
+
|
444
|
+
</body>
|
445
|
+
</html>
|
@@ -0,0 +1,188 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ConfigTable::PackageSelectionItem</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ConfigTable::PackageSelectionItem</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/mime-types-1_16/setup_rb.html">
|
59
|
+
lib/mime-types-1.16/setup.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Item.html">
|
69
|
+
Item
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="method-list">
|
88
|
+
<h3 class="section-bar">Methods</h3>
|
89
|
+
|
90
|
+
<div class="name-list">
|
91
|
+
<a href="#M000078">config_type</a>
|
92
|
+
<a href="#M000077">new</a>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<!-- if includes -->
|
100
|
+
|
101
|
+
<div id="section">
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<div id="attribute-list">
|
108
|
+
<h3 class="section-bar">Attributes</h3>
|
109
|
+
|
110
|
+
<div class="name-list">
|
111
|
+
<table>
|
112
|
+
<tr class="top-aligned-row context-row">
|
113
|
+
<td class="context-item-name">help_default</td>
|
114
|
+
<td class="context-item-value"> [R] </td>
|
115
|
+
<td class="context-item-desc"></td>
|
116
|
+
</tr>
|
117
|
+
</table>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- if method_list -->
|
124
|
+
<div id="methods">
|
125
|
+
<h3 class="section-bar">Public Class methods</h3>
|
126
|
+
|
127
|
+
<div id="method-M000077" class="method-detail">
|
128
|
+
<a name="M000077"></a>
|
129
|
+
|
130
|
+
<div class="method-heading">
|
131
|
+
<a href="#M000077" class="method-signature">
|
132
|
+
<span class="method-name">new</span><span class="method-args">(name, template, default, help_default, desc)</span>
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="method-description">
|
137
|
+
<p><a class="source-toggle" href="#"
|
138
|
+
onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
|
139
|
+
<div class="method-source-code" id="M000077-source">
|
140
|
+
<pre>
|
141
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 452</span>
|
142
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">template</span>, <span class="ruby-identifier">default</span>, <span class="ruby-identifier">help_default</span>, <span class="ruby-identifier">desc</span>)
|
143
|
+
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">name</span>, <span class="ruby-identifier">template</span>, <span class="ruby-identifier">default</span>, <span class="ruby-identifier">desc</span>
|
144
|
+
<span class="ruby-ivar">@help_default</span> = <span class="ruby-identifier">help_default</span>
|
145
|
+
<span class="ruby-keyword kw">end</span>
|
146
|
+
</pre>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
152
|
+
|
153
|
+
<div id="method-M000078" class="method-detail">
|
154
|
+
<a name="M000078"></a>
|
155
|
+
|
156
|
+
<div class="method-heading">
|
157
|
+
<a href="#M000078" class="method-signature">
|
158
|
+
<span class="method-name">config_type</span><span class="method-args">()</span>
|
159
|
+
</a>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<div class="method-description">
|
163
|
+
<p><a class="source-toggle" href="#"
|
164
|
+
onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
|
165
|
+
<div class="method-source-code" id="M000078-source">
|
166
|
+
<pre>
|
167
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 459</span>
|
168
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_type</span>
|
169
|
+
<span class="ruby-value str">'package'</span>
|
170
|
+
<span class="ruby-keyword kw">end</span>
|
171
|
+
</pre>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
|
183
|
+
<div id="validator-badges">
|
184
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</body>
|
188
|
+
</html>
|