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,724 @@
|
|
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</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</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="#M000058">[]</a>
|
90
|
+
<a href="#M000059">[]=</a>
|
91
|
+
<a href="#M000064">add</a>
|
92
|
+
<a href="#M000074">dllext</a>
|
93
|
+
<a href="#M000061">each</a>
|
94
|
+
<a href="#M000072">fixup</a>
|
95
|
+
<a href="#M000062">key?</a>
|
96
|
+
<a href="#M000071">load_multipackage_entries</a>
|
97
|
+
<a href="#M000068">load_savefile</a>
|
98
|
+
<a href="#M000066">load_script</a>
|
99
|
+
<a href="#M000070">load_standard_entries</a>
|
100
|
+
<a href="#M000063">lookup</a>
|
101
|
+
<a href="#M000060">names</a>
|
102
|
+
<a href="#M000055">new</a>
|
103
|
+
<a href="#M000057">no_harm?</a>
|
104
|
+
<a href="#M000073">parse_opt</a>
|
105
|
+
<a href="#M000065">remove</a>
|
106
|
+
<a href="#M000069">save</a>
|
107
|
+
<a href="#M000067">savefile</a>
|
108
|
+
<a href="#M000075">value_config?</a>
|
109
|
+
<a href="#M000056">verbose?</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
|
116
|
+
<!-- if includes -->
|
117
|
+
<div id="includes">
|
118
|
+
<h3 class="section-bar">Included Modules</h3>
|
119
|
+
|
120
|
+
<div id="includes-list">
|
121
|
+
<span class="include-name"><a href="Enumerable.html">Enumerable</a></span>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div id="section">
|
126
|
+
|
127
|
+
<div id="class-list">
|
128
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
129
|
+
|
130
|
+
Class <a href="ConfigTable/BoolItem.html" class="link">ConfigTable::BoolItem</a><br />
|
131
|
+
Class <a href="ConfigTable/ExecItem.html" class="link">ConfigTable::ExecItem</a><br />
|
132
|
+
Class <a href="ConfigTable/Item.html" class="link">ConfigTable::Item</a><br />
|
133
|
+
Class <a href="ConfigTable/MetaConfigEnvironment.html" class="link">ConfigTable::MetaConfigEnvironment</a><br />
|
134
|
+
Class <a href="ConfigTable/PackageSelectionItem.html" class="link">ConfigTable::PackageSelectionItem</a><br />
|
135
|
+
Class <a href="ConfigTable/PathItem.html" class="link">ConfigTable::PathItem</a><br />
|
136
|
+
Class <a href="ConfigTable/ProgramItem.html" class="link">ConfigTable::ProgramItem</a><br />
|
137
|
+
Class <a href="ConfigTable/SelectItem.html" class="link">ConfigTable::SelectItem</a><br />
|
138
|
+
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div id="constants-list">
|
142
|
+
<h3 class="section-bar">Constants</h3>
|
143
|
+
|
144
|
+
<div class="name-list">
|
145
|
+
<table summary="Constants">
|
146
|
+
<tr class="top-aligned-row context-row">
|
147
|
+
<td class="context-item-name">ALIASES</td>
|
148
|
+
<td>=</td>
|
149
|
+
<td class="context-item-value">{ 'std-ruby' => 'librubyver', 'stdruby' => 'librubyver', 'rubylibdir' => 'librubyver', 'archdir' => 'librubyverarch', 'site-ruby-common' => 'siteruby', # For backward compatibility 'site-ruby' => 'siterubyver', # For backward compatibility 'bin-dir' => 'bindir', 'bin-dir' => 'bindir', 'rb-dir' => 'rbdir', 'so-dir' => 'sodir', 'data-dir' => 'datadir', 'ruby-path' => 'rubypath', 'ruby-prog' => 'rubyprog', 'ruby' => 'rubyprog', 'make-prog' => 'makeprog', 'make' => 'makeprog'</td>
|
150
|
+
</tr>
|
151
|
+
</table>
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
<div id="attribute-list">
|
158
|
+
<h3 class="section-bar">Attributes</h3>
|
159
|
+
|
160
|
+
<div class="name-list">
|
161
|
+
<table>
|
162
|
+
<tr class="top-aligned-row context-row">
|
163
|
+
<td class="context-item-name">config_opt</td>
|
164
|
+
<td class="context-item-value"> [RW] </td>
|
165
|
+
<td class="context-item-desc"></td>
|
166
|
+
</tr>
|
167
|
+
<tr class="top-aligned-row context-row">
|
168
|
+
<td class="context-item-name">install_prefix</td>
|
169
|
+
<td class="context-item-value"> [RW] </td>
|
170
|
+
<td class="context-item-desc"></td>
|
171
|
+
</tr>
|
172
|
+
<tr class="top-aligned-row context-row">
|
173
|
+
<td class="context-item-name">no_harm</td>
|
174
|
+
<td class="context-item-value"> [W] </td>
|
175
|
+
<td class="context-item-desc"></td>
|
176
|
+
</tr>
|
177
|
+
<tr class="top-aligned-row context-row">
|
178
|
+
<td class="context-item-name">verbose</td>
|
179
|
+
<td class="context-item-value"> [W] </td>
|
180
|
+
<td class="context-item-desc"></td>
|
181
|
+
</tr>
|
182
|
+
</table>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
<!-- if method_list -->
|
189
|
+
<div id="methods">
|
190
|
+
<h3 class="section-bar">Public Class methods</h3>
|
191
|
+
|
192
|
+
<div id="method-M000055" class="method-detail">
|
193
|
+
<a name="M000055"></a>
|
194
|
+
|
195
|
+
<div class="method-heading">
|
196
|
+
<a href="#M000055" class="method-signature">
|
197
|
+
<span class="method-name">new</span><span class="method-args">(rbconfig)</span>
|
198
|
+
</a>
|
199
|
+
</div>
|
200
|
+
|
201
|
+
<div class="method-description">
|
202
|
+
<p><a class="source-toggle" href="#"
|
203
|
+
onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
|
204
|
+
<div class="method-source-code" id="M000055-source">
|
205
|
+
<pre>
|
206
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 49</span>
|
207
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">rbconfig</span>)
|
208
|
+
<span class="ruby-ivar">@rbconfig</span> = <span class="ruby-identifier">rbconfig</span>
|
209
|
+
<span class="ruby-ivar">@items</span> = []
|
210
|
+
<span class="ruby-ivar">@table</span> = {}
|
211
|
+
<span class="ruby-comment cmt"># options</span>
|
212
|
+
<span class="ruby-ivar">@install_prefix</span> = <span class="ruby-keyword kw">nil</span>
|
213
|
+
<span class="ruby-ivar">@config_opt</span> = <span class="ruby-keyword kw">nil</span>
|
214
|
+
<span class="ruby-ivar">@verbose</span> = <span class="ruby-keyword kw">true</span>
|
215
|
+
<span class="ruby-ivar">@no_harm</span> = <span class="ruby-keyword kw">false</span>
|
216
|
+
<span class="ruby-keyword kw">end</span>
|
217
|
+
</pre>
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
223
|
+
|
224
|
+
<div id="method-M000058" class="method-detail">
|
225
|
+
<a name="M000058"></a>
|
226
|
+
|
227
|
+
<div class="method-heading">
|
228
|
+
<a href="#M000058" class="method-signature">
|
229
|
+
<span class="method-name">[]</span><span class="method-args">(key)</span>
|
230
|
+
</a>
|
231
|
+
</div>
|
232
|
+
|
233
|
+
<div class="method-description">
|
234
|
+
<p><a class="source-toggle" href="#"
|
235
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
236
|
+
<div class="method-source-code" id="M000058-source">
|
237
|
+
<pre>
|
238
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 75</span>
|
239
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">key</span>)
|
240
|
+
<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">key</span>).<span class="ruby-identifier">resolve</span>(<span class="ruby-keyword kw">self</span>)
|
241
|
+
<span class="ruby-keyword kw">end</span>
|
242
|
+
</pre>
|
243
|
+
</div>
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
<div id="method-M000059" class="method-detail">
|
248
|
+
<a name="M000059"></a>
|
249
|
+
|
250
|
+
<div class="method-heading">
|
251
|
+
<a href="#M000059" class="method-signature">
|
252
|
+
<span class="method-name">[]=</span><span class="method-args">(key, val)</span>
|
253
|
+
</a>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div class="method-description">
|
257
|
+
<p><a class="source-toggle" href="#"
|
258
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
259
|
+
<div class="method-source-code" id="M000059-source">
|
260
|
+
<pre>
|
261
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 79</span>
|
262
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">val</span>)
|
263
|
+
<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">key</span>).<span class="ruby-identifier">set</span> <span class="ruby-identifier">val</span>
|
264
|
+
<span class="ruby-keyword kw">end</span>
|
265
|
+
</pre>
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
|
270
|
+
<div id="method-M000064" class="method-detail">
|
271
|
+
<a name="M000064"></a>
|
272
|
+
|
273
|
+
<div class="method-heading">
|
274
|
+
<a href="#M000064" class="method-signature">
|
275
|
+
<span class="method-name">add</span><span class="method-args">(item)</span>
|
276
|
+
</a>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<div class="method-description">
|
280
|
+
<p><a class="source-toggle" href="#"
|
281
|
+
onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
|
282
|
+
<div class="method-source-code" id="M000064-source">
|
283
|
+
<pre>
|
284
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 99</span>
|
285
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">item</span>)
|
286
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">push</span> <span class="ruby-identifier">item</span>
|
287
|
+
<span class="ruby-ivar">@table</span>[<span class="ruby-identifier">item</span>.<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">item</span>
|
288
|
+
<span class="ruby-keyword kw">end</span>
|
289
|
+
</pre>
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
|
294
|
+
<div id="method-M000074" class="method-detail">
|
295
|
+
<a name="M000074"></a>
|
296
|
+
|
297
|
+
<div class="method-heading">
|
298
|
+
<a href="#M000074" class="method-signature">
|
299
|
+
<span class="method-name">dllext</span><span class="method-args">()</span>
|
300
|
+
</a>
|
301
|
+
</div>
|
302
|
+
|
303
|
+
<div class="method-description">
|
304
|
+
<p><a class="source-toggle" href="#"
|
305
|
+
onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
|
306
|
+
<div class="method-source-code" id="M000074-source">
|
307
|
+
<pre>
|
308
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 309</span>
|
309
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dllext</span>
|
310
|
+
<span class="ruby-ivar">@rbconfig</span>[<span class="ruby-value str">'DLEXT'</span>]
|
311
|
+
<span class="ruby-keyword kw">end</span>
|
312
|
+
</pre>
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
</div>
|
316
|
+
|
317
|
+
<div id="method-M000061" class="method-detail">
|
318
|
+
<a name="M000061"></a>
|
319
|
+
|
320
|
+
<div class="method-heading">
|
321
|
+
<a href="#M000061" class="method-signature">
|
322
|
+
<span class="method-name">each</span><span class="method-args">(&block)</span>
|
323
|
+
</a>
|
324
|
+
</div>
|
325
|
+
|
326
|
+
<div class="method-description">
|
327
|
+
<p><a class="source-toggle" href="#"
|
328
|
+
onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
|
329
|
+
<div class="method-source-code" id="M000061-source">
|
330
|
+
<pre>
|
331
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 87</span>
|
332
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
333
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
334
|
+
<span class="ruby-keyword kw">end</span>
|
335
|
+
</pre>
|
336
|
+
</div>
|
337
|
+
</div>
|
338
|
+
</div>
|
339
|
+
|
340
|
+
<div id="method-M000072" class="method-detail">
|
341
|
+
<a name="M000072"></a>
|
342
|
+
|
343
|
+
<div class="method-heading">
|
344
|
+
<a href="#M000072" class="method-signature">
|
345
|
+
<span class="method-name">fixup</span><span class="method-args">()</span>
|
346
|
+
</a>
|
347
|
+
</div>
|
348
|
+
|
349
|
+
<div class="method-description">
|
350
|
+
<p><a class="source-toggle" href="#"
|
351
|
+
onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
|
352
|
+
<div class="method-source-code" id="M000072-source">
|
353
|
+
<pre>
|
354
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 295</span>
|
355
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fixup</span>
|
356
|
+
<span class="ruby-constant">ALIASES</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ali</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
357
|
+
<span class="ruby-ivar">@table</span>[<span class="ruby-identifier">ali</span>] = <span class="ruby-ivar">@table</span>[<span class="ruby-identifier">name</span>]
|
358
|
+
<span class="ruby-keyword kw">end</span>
|
359
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">freeze</span>
|
360
|
+
<span class="ruby-ivar">@table</span>.<span class="ruby-identifier">freeze</span>
|
361
|
+
<span class="ruby-ivar">@options_re</span> = <span class="ruby-node">/\A--(#{@table.keys.join('|')})(?:=(.*))?\z/</span>
|
362
|
+
<span class="ruby-keyword kw">end</span>
|
363
|
+
</pre>
|
364
|
+
</div>
|
365
|
+
</div>
|
366
|
+
</div>
|
367
|
+
|
368
|
+
<div id="method-M000062" class="method-detail">
|
369
|
+
<a name="M000062"></a>
|
370
|
+
|
371
|
+
<div class="method-heading">
|
372
|
+
<a href="#M000062" class="method-signature">
|
373
|
+
<span class="method-name">key?</span><span class="method-args">(name)</span>
|
374
|
+
</a>
|
375
|
+
</div>
|
376
|
+
|
377
|
+
<div class="method-description">
|
378
|
+
<p><a class="source-toggle" href="#"
|
379
|
+
onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
|
380
|
+
<div class="method-source-code" id="M000062-source">
|
381
|
+
<pre>
|
382
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 91</span>
|
383
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
|
384
|
+
<span class="ruby-ivar">@table</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-identifier">name</span>)
|
385
|
+
<span class="ruby-keyword kw">end</span>
|
386
|
+
</pre>
|
387
|
+
</div>
|
388
|
+
</div>
|
389
|
+
</div>
|
390
|
+
|
391
|
+
<div id="method-M000071" class="method-detail">
|
392
|
+
<a name="M000071"></a>
|
393
|
+
|
394
|
+
<div class="method-heading">
|
395
|
+
<a href="#M000071" class="method-signature">
|
396
|
+
<span class="method-name">load_multipackage_entries</span><span class="method-args">()</span>
|
397
|
+
</a>
|
398
|
+
</div>
|
399
|
+
|
400
|
+
<div class="method-description">
|
401
|
+
<p><a class="source-toggle" href="#"
|
402
|
+
onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
|
403
|
+
<div class="method-source-code" id="M000071-source">
|
404
|
+
<pre>
|
405
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 260</span>
|
406
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_multipackage_entries</span>
|
407
|
+
<span class="ruby-identifier">multipackage_entries</span>().<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ent</span><span class="ruby-operator">|</span>
|
408
|
+
<span class="ruby-identifier">add</span> <span class="ruby-identifier">ent</span>
|
409
|
+
<span class="ruby-keyword kw">end</span>
|
410
|
+
<span class="ruby-keyword kw">end</span>
|
411
|
+
</pre>
|
412
|
+
</div>
|
413
|
+
</div>
|
414
|
+
</div>
|
415
|
+
|
416
|
+
<div id="method-M000068" class="method-detail">
|
417
|
+
<a name="M000068"></a>
|
418
|
+
|
419
|
+
<div class="method-heading">
|
420
|
+
<a href="#M000068" class="method-signature">
|
421
|
+
<span class="method-name">load_savefile</span><span class="method-args">()</span>
|
422
|
+
</a>
|
423
|
+
</div>
|
424
|
+
|
425
|
+
<div class="method-description">
|
426
|
+
<p><a class="source-toggle" href="#"
|
427
|
+
onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
|
428
|
+
<div class="method-source-code" id="M000068-source">
|
429
|
+
<pre>
|
430
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 121</span>
|
431
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_savefile</span>
|
432
|
+
<span class="ruby-keyword kw">begin</span>
|
433
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">foreach</span>(<span class="ruby-identifier">savefile</span>()) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
434
|
+
<span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span> = <span class="ruby-operator">*</span><span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/=/</span>, <span class="ruby-value">2</span>)
|
435
|
+
<span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-identifier">v</span>.<span class="ruby-identifier">strip</span>
|
436
|
+
<span class="ruby-keyword kw">end</span>
|
437
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span>
|
438
|
+
<span class="ruby-identifier">setup_rb_error</span> <span class="ruby-identifier">$!</span>.<span class="ruby-identifier">message</span> <span class="ruby-operator">+</span> <span class="ruby-node">"\n#{File.basename($0)} config first"</span>
|
439
|
+
<span class="ruby-keyword kw">end</span>
|
440
|
+
<span class="ruby-keyword kw">end</span>
|
441
|
+
</pre>
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
</div>
|
445
|
+
|
446
|
+
<div id="method-M000066" class="method-detail">
|
447
|
+
<a name="M000066"></a>
|
448
|
+
|
449
|
+
<div class="method-heading">
|
450
|
+
<a href="#M000066" class="method-signature">
|
451
|
+
<span class="method-name">load_script</span><span class="method-args">(path, inst = nil)</span>
|
452
|
+
</a>
|
453
|
+
</div>
|
454
|
+
|
455
|
+
<div class="method-description">
|
456
|
+
<p><a class="source-toggle" href="#"
|
457
|
+
onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
|
458
|
+
<div class="method-source-code" id="M000066-source">
|
459
|
+
<pre>
|
460
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 111</span>
|
461
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_script</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">inst</span> = <span class="ruby-keyword kw">nil</span>)
|
462
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-identifier">path</span>)
|
463
|
+
<span class="ruby-constant">MetaConfigEnvironment</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">inst</span>).<span class="ruby-identifier">instance_eval</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">path</span>), <span class="ruby-identifier">path</span>
|
464
|
+
<span class="ruby-keyword kw">end</span>
|
465
|
+
<span class="ruby-keyword kw">end</span>
|
466
|
+
</pre>
|
467
|
+
</div>
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
|
471
|
+
<div id="method-M000070" class="method-detail">
|
472
|
+
<a name="M000070"></a>
|
473
|
+
|
474
|
+
<div class="method-heading">
|
475
|
+
<a href="#M000070" class="method-signature">
|
476
|
+
<span class="method-name">load_standard_entries</span><span class="method-args">()</span>
|
477
|
+
</a>
|
478
|
+
</div>
|
479
|
+
|
480
|
+
<div class="method-description">
|
481
|
+
<p><a class="source-toggle" href="#"
|
482
|
+
onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
|
483
|
+
<div class="method-source-code" id="M000070-source">
|
484
|
+
<pre>
|
485
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 141</span>
|
486
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_standard_entries</span>
|
487
|
+
<span class="ruby-identifier">standard_entries</span>(<span class="ruby-ivar">@rbconfig</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ent</span><span class="ruby-operator">|</span>
|
488
|
+
<span class="ruby-identifier">add</span> <span class="ruby-identifier">ent</span>
|
489
|
+
<span class="ruby-keyword kw">end</span>
|
490
|
+
<span class="ruby-keyword kw">end</span>
|
491
|
+
</pre>
|
492
|
+
</div>
|
493
|
+
</div>
|
494
|
+
</div>
|
495
|
+
|
496
|
+
<div id="method-M000063" class="method-detail">
|
497
|
+
<a name="M000063"></a>
|
498
|
+
|
499
|
+
<div class="method-heading">
|
500
|
+
<a href="#M000063" class="method-signature">
|
501
|
+
<span class="method-name">lookup</span><span class="method-args">(name)</span>
|
502
|
+
</a>
|
503
|
+
</div>
|
504
|
+
|
505
|
+
<div class="method-description">
|
506
|
+
<p><a class="source-toggle" href="#"
|
507
|
+
onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
|
508
|
+
<div class="method-source-code" id="M000063-source">
|
509
|
+
<pre>
|
510
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 95</span>
|
511
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>)
|
512
|
+
<span class="ruby-ivar">@table</span>[<span class="ruby-identifier">name</span>] <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">setup_rb_error</span> <span class="ruby-node">"no such config item: #{name}"</span>
|
513
|
+
<span class="ruby-keyword kw">end</span>
|
514
|
+
</pre>
|
515
|
+
</div>
|
516
|
+
</div>
|
517
|
+
</div>
|
518
|
+
|
519
|
+
<div id="method-M000060" class="method-detail">
|
520
|
+
<a name="M000060"></a>
|
521
|
+
|
522
|
+
<div class="method-heading">
|
523
|
+
<a href="#M000060" class="method-signature">
|
524
|
+
<span class="method-name">names</span><span class="method-args">()</span>
|
525
|
+
</a>
|
526
|
+
</div>
|
527
|
+
|
528
|
+
<div class="method-description">
|
529
|
+
<p><a class="source-toggle" href="#"
|
530
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
531
|
+
<div class="method-source-code" id="M000060-source">
|
532
|
+
<pre>
|
533
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 83</span>
|
534
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">names</span>
|
535
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">name</span> }
|
536
|
+
<span class="ruby-keyword kw">end</span>
|
537
|
+
</pre>
|
538
|
+
</div>
|
539
|
+
</div>
|
540
|
+
</div>
|
541
|
+
|
542
|
+
<div id="method-M000057" class="method-detail">
|
543
|
+
<a name="M000057"></a>
|
544
|
+
|
545
|
+
<div class="method-heading">
|
546
|
+
<a href="#M000057" class="method-signature">
|
547
|
+
<span class="method-name">no_harm?</span><span class="method-args">()</span>
|
548
|
+
</a>
|
549
|
+
</div>
|
550
|
+
|
551
|
+
<div class="method-description">
|
552
|
+
<p><a class="source-toggle" href="#"
|
553
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
554
|
+
<div class="method-source-code" id="M000057-source">
|
555
|
+
<pre>
|
556
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 71</span>
|
557
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">no_harm?</span>
|
558
|
+
<span class="ruby-ivar">@no_harm</span>
|
559
|
+
<span class="ruby-keyword kw">end</span>
|
560
|
+
</pre>
|
561
|
+
</div>
|
562
|
+
</div>
|
563
|
+
</div>
|
564
|
+
|
565
|
+
<div id="method-M000073" class="method-detail">
|
566
|
+
<a name="M000073"></a>
|
567
|
+
|
568
|
+
<div class="method-heading">
|
569
|
+
<a href="#M000073" class="method-signature">
|
570
|
+
<span class="method-name">parse_opt</span><span class="method-args">(opt)</span>
|
571
|
+
</a>
|
572
|
+
</div>
|
573
|
+
|
574
|
+
<div class="method-description">
|
575
|
+
<p><a class="source-toggle" href="#"
|
576
|
+
onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
|
577
|
+
<div class="method-source-code" id="M000073-source">
|
578
|
+
<pre>
|
579
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 304</span>
|
580
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_opt</span>(<span class="ruby-identifier">opt</span>)
|
581
|
+
<span class="ruby-identifier">m</span> = <span class="ruby-ivar">@options_re</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">opt</span>) <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">setup_rb_error</span> <span class="ruby-node">"config: unknown option #{opt}"</span>
|
582
|
+
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_a</span>[<span class="ruby-value">1</span>,<span class="ruby-value">2</span>]
|
583
|
+
<span class="ruby-keyword kw">end</span>
|
584
|
+
</pre>
|
585
|
+
</div>
|
586
|
+
</div>
|
587
|
+
</div>
|
588
|
+
|
589
|
+
<div id="method-M000065" class="method-detail">
|
590
|
+
<a name="M000065"></a>
|
591
|
+
|
592
|
+
<div class="method-heading">
|
593
|
+
<a href="#M000065" class="method-signature">
|
594
|
+
<span class="method-name">remove</span><span class="method-args">(name)</span>
|
595
|
+
</a>
|
596
|
+
</div>
|
597
|
+
|
598
|
+
<div class="method-description">
|
599
|
+
<p><a class="source-toggle" href="#"
|
600
|
+
onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
|
601
|
+
<div class="method-source-code" id="M000065-source">
|
602
|
+
<pre>
|
603
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 104</span>
|
604
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">name</span>)
|
605
|
+
<span class="ruby-identifier">item</span> = <span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>)
|
606
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">delete_if</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span> }
|
607
|
+
<span class="ruby-ivar">@table</span>.<span class="ruby-identifier">delete_if</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span> }
|
608
|
+
<span class="ruby-identifier">item</span>
|
609
|
+
<span class="ruby-keyword kw">end</span>
|
610
|
+
</pre>
|
611
|
+
</div>
|
612
|
+
</div>
|
613
|
+
</div>
|
614
|
+
|
615
|
+
<div id="method-M000069" class="method-detail">
|
616
|
+
<a name="M000069"></a>
|
617
|
+
|
618
|
+
<div class="method-heading">
|
619
|
+
<a href="#M000069" class="method-signature">
|
620
|
+
<span class="method-name">save</span><span class="method-args">()</span>
|
621
|
+
</a>
|
622
|
+
</div>
|
623
|
+
|
624
|
+
<div class="method-description">
|
625
|
+
<p><a class="source-toggle" href="#"
|
626
|
+
onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
|
627
|
+
<div class="method-source-code" id="M000069-source">
|
628
|
+
<pre>
|
629
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 132</span>
|
630
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>
|
631
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">value</span> }
|
632
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">savefile</span>(), <span class="ruby-value str">'w'</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
633
|
+
<span class="ruby-ivar">@items</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span>
|
634
|
+
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">printf</span> <span class="ruby-value str">"%s=%s\n"</span>, <span class="ruby-identifier">i</span>.<span class="ruby-identifier">name</span>, <span class="ruby-identifier">i</span>.<span class="ruby-identifier">value</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">value?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">value</span>
|
635
|
+
<span class="ruby-keyword kw">end</span>
|
636
|
+
}
|
637
|
+
<span class="ruby-keyword kw">end</span>
|
638
|
+
</pre>
|
639
|
+
</div>
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
|
643
|
+
<div id="method-M000067" class="method-detail">
|
644
|
+
<a name="M000067"></a>
|
645
|
+
|
646
|
+
<div class="method-heading">
|
647
|
+
<a href="#M000067" class="method-signature">
|
648
|
+
<span class="method-name">savefile</span><span class="method-args">()</span>
|
649
|
+
</a>
|
650
|
+
</div>
|
651
|
+
|
652
|
+
<div class="method-description">
|
653
|
+
<p><a class="source-toggle" href="#"
|
654
|
+
onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
|
655
|
+
<div class="method-source-code" id="M000067-source">
|
656
|
+
<pre>
|
657
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 117</span>
|
658
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">savefile</span>
|
659
|
+
<span class="ruby-value str">'.config'</span>
|
660
|
+
<span class="ruby-keyword kw">end</span>
|
661
|
+
</pre>
|
662
|
+
</div>
|
663
|
+
</div>
|
664
|
+
</div>
|
665
|
+
|
666
|
+
<div id="method-M000075" class="method-detail">
|
667
|
+
<a name="M000075"></a>
|
668
|
+
|
669
|
+
<div class="method-heading">
|
670
|
+
<a href="#M000075" class="method-signature">
|
671
|
+
<span class="method-name">value_config?</span><span class="method-args">(name)</span>
|
672
|
+
</a>
|
673
|
+
</div>
|
674
|
+
|
675
|
+
<div class="method-description">
|
676
|
+
<p><a class="source-toggle" href="#"
|
677
|
+
onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
|
678
|
+
<div class="method-source-code" id="M000075-source">
|
679
|
+
<pre>
|
680
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 313</span>
|
681
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">value_config?</span>(<span class="ruby-identifier">name</span>)
|
682
|
+
<span class="ruby-identifier">lookup</span>(<span class="ruby-identifier">name</span>).<span class="ruby-identifier">value?</span>
|
683
|
+
<span class="ruby-keyword kw">end</span>
|
684
|
+
</pre>
|
685
|
+
</div>
|
686
|
+
</div>
|
687
|
+
</div>
|
688
|
+
|
689
|
+
<div id="method-M000056" class="method-detail">
|
690
|
+
<a name="M000056"></a>
|
691
|
+
|
692
|
+
<div class="method-heading">
|
693
|
+
<a href="#M000056" class="method-signature">
|
694
|
+
<span class="method-name">verbose?</span><span class="method-args">()</span>
|
695
|
+
</a>
|
696
|
+
</div>
|
697
|
+
|
698
|
+
<div class="method-description">
|
699
|
+
<p><a class="source-toggle" href="#"
|
700
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
701
|
+
<div class="method-source-code" id="M000056-source">
|
702
|
+
<pre>
|
703
|
+
<span class="ruby-comment cmt"># File lib/mime-types-1.16/setup.rb, line 65</span>
|
704
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verbose?</span>
|
705
|
+
<span class="ruby-ivar">@verbose</span>
|
706
|
+
<span class="ruby-keyword kw">end</span>
|
707
|
+
</pre>
|
708
|
+
</div>
|
709
|
+
</div>
|
710
|
+
</div>
|
711
|
+
|
712
|
+
|
713
|
+
</div>
|
714
|
+
|
715
|
+
|
716
|
+
</div>
|
717
|
+
|
718
|
+
|
719
|
+
<div id="validator-badges">
|
720
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
721
|
+
</div>
|
722
|
+
|
723
|
+
</body>
|
724
|
+
</html>
|