sprout 1.1.15.pre → 1.1.16.pre
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprout might be problematic. Click here for more details.
- data/VERSION +1 -1
- data/lib/sprout/executable/base.rb +7 -7
- metadata +101 -252
- data/Gemfile.lock +0 -50
- data/doc/Dir.html +0 -288
- data/doc/Rake/Task.html +0 -184
- data/doc/Sprout.html +0 -740
- data/doc/Sprout/ArchiveUnpacker.html +0 -1246
- data/doc/Sprout/CommandLine.html +0 -520
- data/doc/Sprout/Concern.html +0 -351
- data/doc/Sprout/Errors.html +0 -101
- data/doc/Sprout/Errors/ArchiveUnpackerError.html +0 -125
- data/doc/Sprout/Errors/DestinationExistsError.html +0 -133
- data/doc/Sprout/Errors/DuplicateMemberError.html +0 -132
- data/doc/Sprout/Errors/ExecutableError.html +0 -125
- data/doc/Sprout/Errors/ExecutableRegistrationError.html +0 -132
- data/doc/Sprout/Errors/ExecutionError.html +0 -121
- data/doc/Sprout/Errors/GeneratorError.html +0 -125
- data/doc/Sprout/Errors/InvalidArgumentError.html +0 -132
- data/doc/Sprout/Errors/LoadError.html +0 -121
- data/doc/Sprout/Errors/MissingArgumentError.html +0 -132
- data/doc/Sprout/Errors/MissingExecutableError.html +0 -132
- data/doc/Sprout/Errors/MissingGeneratorError.html +0 -132
- data/doc/Sprout/Errors/MissingTemplateError.html +0 -132
- data/doc/Sprout/Errors/ProcessRunnerError.html +0 -121
- data/doc/Sprout/Errors/RemoteFileLoaderError.html +0 -110
- data/doc/Sprout/Errors/SproutError.html +0 -114
- data/doc/Sprout/Errors/UnknownArchiveType.html +0 -122
- data/doc/Sprout/Errors/UsageError.html +0 -121
- data/doc/Sprout/Errors/ValidationError.html +0 -121
- data/doc/Sprout/Errors/VersionRequirementNotMetError.html +0 -121
- data/doc/Sprout/Executable.html +0 -169
- data/doc/Sprout/Executable/Base.html +0 -2813
- data/doc/Sprout/Executable/Boolean.html +0 -534
- data/doc/Sprout/Executable/CollectionParam.html +0 -483
- data/doc/Sprout/Executable/FileParam.html +0 -484
- data/doc/Sprout/Executable/Files.html +0 -292
- data/doc/Sprout/Executable/Number.html +0 -141
- data/doc/Sprout/Executable/Param.html +0 -2874
- data/doc/Sprout/Executable/ParameterFactory.html +0 -232
- data/doc/Sprout/Executable/Path.html +0 -223
- data/doc/Sprout/Executable/Paths.html +0 -253
- data/doc/Sprout/Executable/Session.html +0 -1513
- data/doc/Sprout/Executable/StringParam.html +0 -213
- data/doc/Sprout/Executable/Strings.html +0 -167
- data/doc/Sprout/Executable/Url.html +0 -160
- data/doc/Sprout/Executable/Urls.html +0 -170
- data/doc/Sprout/FileTarget.html +0 -1109
- data/doc/Sprout/Generator.html +0 -750
- data/doc/Sprout/Generator/Base.html +0 -1902
- data/doc/Sprout/Generator/Command.html +0 -690
- data/doc/Sprout/Generator/DirectoryManifest.html +0 -476
- data/doc/Sprout/Generator/FileManifest.html +0 -643
- data/doc/Sprout/Generator/Manifest.html +0 -377
- data/doc/Sprout/Generator/TemplateManifest.html +0 -194
- data/doc/Sprout/GeneratorGenerator.html +0 -1115
- data/doc/Sprout/Library.html +0 -1146
- data/doc/Sprout/LibraryGenerator.html +0 -331
- data/doc/Sprout/OutputBuffer.html +0 -445
- data/doc/Sprout/Platform.html +0 -714
- data/doc/Sprout/ProcessRunner.html +0 -1707
- data/doc/Sprout/ProgressBar.html +0 -366
- data/doc/Sprout/ProgressBarImpl.html +0 -2109
- data/doc/Sprout/ProgressBarManager.html +0 -424
- data/doc/Sprout/ProgressBarOutputStream.html +0 -406
- data/doc/Sprout/RDocParser.html +0 -211
- data/doc/Sprout/RemoteFileLoader.html +0 -172
- data/doc/Sprout/RemoteFileTarget.html +0 -679
- data/doc/Sprout/ReversedProgressBar.html +0 -184
- data/doc/Sprout/RubyFeature.html +0 -155
- data/doc/Sprout/RubyFeature/ClassMethods.html +0 -1065
- data/doc/Sprout/RubyGenerator.html +0 -786
- data/doc/Sprout/Specification.html +0 -767
- data/doc/Sprout/System.html +0 -191
- data/doc/Sprout/System/BaseSystem.html +0 -1660
- data/doc/Sprout/System/JavaSystem.html +0 -122
- data/doc/Sprout/System/OSXSystem.html +0 -335
- data/doc/Sprout/System/ThreadMock.html +0 -183
- data/doc/Sprout/System/UnixSystem.html +0 -584
- data/doc/Sprout/System/VistaSystem.html +0 -251
- data/doc/Sprout/System/WinNixSystem.html +0 -325
- data/doc/Sprout/System/WinSystem.html +0 -571
- data/doc/Sprout/TestHelper.html +0 -2165
- data/doc/Sprout/ToolGenerator.html +0 -953
- data/doc/Sprout/VERSION.html +0 -118
- data/doc/String.html +0 -290
- data/doc/_index.html +0 -820
- data/doc/class_list.html +0 -36
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -53
- data/doc/css/style.css +0 -310
- data/doc/file.README.html +0 -96
- data/doc/file_list.html +0 -41
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -96
- data/doc/js/app.js +0 -202
- data/doc/js/full_list.js +0 -149
- data/doc/js/jquery.js +0 -154
- data/doc/method_list.html +0 -3603
- data/doc/top-level-namespace.html +0 -192
- data/test/fixtures/library/archive/Archive.swc +0 -0
@@ -1,1115 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: Sprout::GeneratorGenerator</title>
|
7
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../_index.html">Index (G)</a> »
|
27
|
-
<span class='title'><span class='object_link'><a href="../Sprout.html" title="Sprout (module)">Sprout</a></span></span>
|
28
|
-
»
|
29
|
-
<span class="title">GeneratorGenerator</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: Sprout::GeneratorGenerator
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</h1>
|
51
|
-
|
52
|
-
<dl class="box">
|
53
|
-
|
54
|
-
<dt class="r1">Inherits:</dt>
|
55
|
-
<dd class="r1">
|
56
|
-
<span class="inheritName"><span class='object_link'><a href="Generator/Base.html" title="Sprout::Generator::Base (class)">Sprout::Generator::Base</a></span></span>
|
57
|
-
|
58
|
-
<ul class="fullTree">
|
59
|
-
<li>Object</li>
|
60
|
-
|
61
|
-
<li class="next"><span class='object_link'><a href="Executable/Base.html" title="Sprout::Executable::Base (class)">Executable::Base</a></span></li>
|
62
|
-
|
63
|
-
<li class="next"><span class='object_link'><a href="Generator/Base.html" title="Sprout::Generator::Base (class)">Sprout::Generator::Base</a></span></li>
|
64
|
-
|
65
|
-
<li class="next">Sprout::GeneratorGenerator</li>
|
66
|
-
|
67
|
-
</ul>
|
68
|
-
<a href="#" class="inheritanceTree">show all</a>
|
69
|
-
|
70
|
-
</dd>
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
<dt class="r2 last">Defined in:</dt>
|
81
|
-
<dd class="r2 last">lib/sprout/generators/generator/generator_generator.rb</dd>
|
82
|
-
|
83
|
-
</dl>
|
84
|
-
<div class="clear"></div>
|
85
|
-
|
86
|
-
|
87
|
-
<h2>Constant Summary</h2>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<h3 class="inherited">Constants included from <span class='object_link'><a href="Executable.html" title="Sprout::Executable (module)">Executable</a></span></h3>
|
104
|
-
<p class="inherited"><span class='object_link'><a href="Executable.html#DEFAULT_FILE_EXPRESSION-constant" title="Sprout::Executable::DEFAULT_FILE_EXPRESSION (constant)">DEFAULT_FILE_EXPRESSION</a></span>, <span class='object_link'><a href="Executable.html#DEFAULT_PREFIX-constant" title="Sprout::Executable::DEFAULT_PREFIX (constant)">DEFAULT_PREFIX</a></span>, <span class='object_link'><a href="Executable.html#DEFAULT_SHORT_PREFIX-constant" title="Sprout::Executable::DEFAULT_SHORT_PREFIX (constant)">DEFAULT_SHORT_PREFIX</a></span></p>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
115
|
-
<ul class="summary">
|
116
|
-
|
117
|
-
<li class="public ">
|
118
|
-
<span class="summary_signature">
|
119
|
-
|
120
|
-
<a href="#bin-instance_method" title="#bin (instance method)">- (String) <strong>bin</strong> </a>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
</span>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<span class="summary_desc"><div class='inline'>
|
137
|
-
<p>The name of the folder where binary or executable artifacts should be
|
138
|
-
created by compiler tasks.</p>
|
139
|
-
</div></span>
|
140
|
-
|
141
|
-
</li>
|
142
|
-
|
143
|
-
|
144
|
-
<li class="public ">
|
145
|
-
<span class="summary_signature">
|
146
|
-
|
147
|
-
<a href="#extension-instance_method" title="#extension (instance method)">- (String) <strong>extension</strong> </a>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
</span>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<span class="summary_desc"><div class='inline'>
|
164
|
-
<p>The default (primary) file extension for generated source files.</p>
|
165
|
-
</div></span>
|
166
|
-
|
167
|
-
</li>
|
168
|
-
|
169
|
-
|
170
|
-
<li class="public ">
|
171
|
-
<span class="summary_signature">
|
172
|
-
|
173
|
-
<a href="#fixtures-instance_method" title="#fixtures (instance method)">- (String) <strong>fixtures</strong> </a>
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
</span>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>The name of the child folder of the test folder where fixtures should be
|
191
|
-
generated.</p>
|
192
|
-
</div></span>
|
193
|
-
|
194
|
-
</li>
|
195
|
-
|
196
|
-
|
197
|
-
<li class="public ">
|
198
|
-
<span class="summary_signature">
|
199
|
-
|
200
|
-
<a href="#generators-instance_method" title="#generators (instance method)">- (String) <strong>generators</strong> </a>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
</span>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
<span class="summary_desc"><div class='inline'>
|
217
|
-
<p>The name of the folder where custom generators and templates will be found.</p>
|
218
|
-
</div></span>
|
219
|
-
|
220
|
-
</li>
|
221
|
-
|
222
|
-
|
223
|
-
<li class="public ">
|
224
|
-
<span class="summary_signature">
|
225
|
-
|
226
|
-
<a href="#lib-instance_method" title="#lib (instance method)">- (String) <strong>lib</strong> </a>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
</span>
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
<span class="summary_desc"><div class='inline'>
|
243
|
-
<p>The name of the folder where external libraries will be installed.</p>
|
244
|
-
</div></span>
|
245
|
-
|
246
|
-
</li>
|
247
|
-
|
248
|
-
|
249
|
-
<li class="public ">
|
250
|
-
<span class="summary_signature">
|
251
|
-
|
252
|
-
<a href="#namespace-instance_method" title="#namespace (instance method)">- (String) <strong>namespace</strong> </a>
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
</span>
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
<span class="summary_desc"><div class='inline'>
|
269
|
-
<p>The default module that classes will be added to.</p>
|
270
|
-
</div></span>
|
271
|
-
|
272
|
-
</li>
|
273
|
-
|
274
|
-
|
275
|
-
<li class="public ">
|
276
|
-
<span class="summary_signature">
|
277
|
-
|
278
|
-
<a href="#test-instance_method" title="#test (instance method)">- (String) <strong>test</strong> </a>
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
</span>
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
<span class="summary_desc"><div class='inline'>
|
295
|
-
<p>The name of the folder where tests should be generated.</p>
|
296
|
-
</div></span>
|
297
|
-
|
298
|
-
</li>
|
299
|
-
|
300
|
-
|
301
|
-
<li class="public ">
|
302
|
-
<span class="summary_signature">
|
303
|
-
|
304
|
-
<a href="#unit-instance_method" title="#unit (instance method)">- (String) <strong>unit</strong> </a>
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
</span>
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
<span class="summary_desc"><div class='inline'>
|
321
|
-
<p>The name of the child folder of the test folder where unit tests should be
|
322
|
-
generated.</p>
|
323
|
-
</div></span>
|
324
|
-
|
325
|
-
</li>
|
326
|
-
|
327
|
-
|
328
|
-
<li class="public ">
|
329
|
-
<span class="summary_signature">
|
330
|
-
|
331
|
-
<a href="#vendor-instance_method" title="#vendor (instance method)">- (String) <strong>vendor</strong> </a>
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
</span>
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
<span class="summary_desc"><div class='inline'>
|
348
|
-
<p>The name of the folder where external source code should be placed.</p>
|
349
|
-
</div></span>
|
350
|
-
|
351
|
-
</li>
|
352
|
-
|
353
|
-
|
354
|
-
</ul>
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
<h2>
|
359
|
-
Instance Method Summary
|
360
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
361
|
-
</h2>
|
362
|
-
|
363
|
-
<ul class="summary">
|
364
|
-
|
365
|
-
<li class="public ">
|
366
|
-
<span class="summary_signature">
|
367
|
-
|
368
|
-
<a href="#manifest-instance_method" title="#manifest (instance method)">- (Object) <strong>manifest</strong> </a>
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
</span>
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
382
|
-
|
383
|
-
</li>
|
384
|
-
|
385
|
-
|
386
|
-
<li class="protected ">
|
387
|
-
<span class="summary_signature">
|
388
|
-
|
389
|
-
<a href="#massage_input-instance_method" title="#massage_input (instance method)">- (Object) <strong>massage_input</strong> </a>
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
</span>
|
394
|
-
|
395
|
-
|
396
|
-
<span class="note title protected">protected</span>
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
403
|
-
|
404
|
-
</li>
|
405
|
-
|
406
|
-
|
407
|
-
</ul>
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Generator/Base.html" title="Sprout::Generator::Base (class)">Sprout::Generator::Base</a></span></h3>
|
419
|
-
<p class="inherited"><span class='object_link'><a href="Generator/Base.html#create_template_paths-instance_method" title="Sprout::Generator::Base#create_template_paths (method)">#create_template_paths</a></span>, <span class='object_link'><a href="Generator/Base.html#default_search_paths-instance_method" title="Sprout::Generator::Base#default_search_paths (method)">#default_search_paths</a></span>, <span class='object_link'><a href="Generator/Base.html#directory-instance_method" title="Sprout::Generator::Base#directory (method)">#directory</a></span>, <span class='object_link'><a href="Generator/Base.html#do_show_template_paths-instance_method" title="Sprout::Generator::Base#do_show_template_paths (method)">#do_show_template_paths</a></span>, <span class='object_link'><a href="Generator/Base.html#execute-instance_method" title="Sprout::Generator::Base#execute (method)">#execute</a></span>, <span class='object_link'><a href="Generator/Base.html#file-instance_method" title="Sprout::Generator::Base#file (method)">#file</a></span>, <span class='object_link'><a href="Generator/Base.html#generator-instance_method" title="Sprout::Generator::Base#generator (method)">#generator</a></span>, <span class='object_link'><a href="Generator/Base.html#inherited-class_method" title="Sprout::Generator::Base.inherited (method)">inherited</a></span>, <span class='object_link'><a href="Generator/Base.html#prepare_command-instance_method" title="Sprout::Generator::Base#prepare_command (method)">#prepare_command</a></span>, <span class='object_link'><a href="Generator/Base.html#resolve_template-instance_method" title="Sprout::Generator::Base#resolve_template (method)">#resolve_template</a></span>, <span class='object_link'><a href="Generator/Base.html#say-instance_method" title="Sprout::Generator::Base#say (method)">#say</a></span>, <span class='object_link'><a href="Generator/Base.html#template-instance_method" title="Sprout::Generator::Base#template (method)">#template</a></span>, <span class='object_link'><a href="Generator/Base.html#template_paths-instance_method" title="Sprout::Generator::Base#template_paths (method)">#template_paths</a></span>, <span class='object_link'><a href="Generator/Base.html#unexecute-instance_method" title="Sprout::Generator::Base#unexecute (method)">#unexecute</a></span>, <span class='object_link'><a href="Generator/Base.html#validate-instance_method" title="Sprout::Generator::Base#validate (method)">#validate</a></span></p>
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Executable/Base.html" title="Sprout::Executable::Base (class)">Executable::Base</a></span></h3>
|
429
|
-
<p class="inherited"><span class='object_link'><a href="Executable/Base.html#add_param-class_method" title="Sprout::Executable::Base.add_param (method)">add_param</a></span>, <span class='object_link'><a href="Executable/Base.html#add_param_alias-class_method" title="Sprout::Executable::Base.add_param_alias (method)">add_param_alias</a></span>, <span class='object_link'><a href="Executable/Base.html#binary_path-instance_method" title="Sprout::Executable::Base#binary_path (method)">#binary_path</a></span>, <span class='object_link'><a href="Executable/Base.html#binary_path%3D-instance_method" title="Sprout::Executable::Base#binary_path= (method)">#binary_path=</a></span>, <span class='object_link'><a href="Executable/Base.html#create_outer_task-instance_method" title="Sprout::Executable::Base#create_outer_task (method)">#create_outer_task</a></span>, <span class='object_link'><a href="Executable/Base.html#default_file_expression-instance_method" title="Sprout::Executable::Base#default_file_expression (method)">#default_file_expression</a></span>, <span class='object_link'><a href="Executable/Base.html#execute-instance_method" title="Sprout::Executable::Base#execute (method)">#execute</a></span>, <span class='object_link'><a href="Executable/Base.html#execute_delegate-instance_method" title="Sprout::Executable::Base#execute_delegate (method)">#execute_delegate</a></span>, <span class='object_link'><a href="Executable/Base.html#from_hash-instance_method" title="Sprout::Executable::Base#from_hash (method)">#from_hash</a></span>, <span class='object_link'><a href="Executable/Base.html#initialize-instance_method" title="Sprout::Executable::Base#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Executable/Base.html#library_added-instance_method" title="Sprout::Executable::Base#library_added (method)">#library_added</a></span>, <span class='object_link'><a href="Executable/Base.html#parse%21-instance_method" title="Sprout::Executable::Base#parse! (method)">#parse!</a></span>, <span class='object_link'><a href="Executable/Base.html#parse_extra_options%21-instance_method" title="Sprout::Executable::Base#parse_extra_options! (method)">#parse_extra_options!</a></span>, <span class='object_link'><a href="Executable/Base.html#parse_rake_task_arg-instance_method" title="Sprout::Executable::Base#parse_rake_task_arg (method)">#parse_rake_task_arg</a></span>, <span class='object_link'><a href="Executable/Base.html#prepare-instance_method" title="Sprout::Executable::Base#prepare (method)">#prepare</a></span>, <span class='object_link'><a href="Executable/Base.html#set-class_method" title="Sprout::Executable::Base.set (method)">set</a></span>, <span class='object_link'><a href="Executable/Base.html#static_default_value_collection-class_method" title="Sprout::Executable::Base.static_default_value_collection (method)">static_default_value_collection</a></span>, <span class='object_link'><a href="Executable/Base.html#static_parameter_collection-class_method" title="Sprout::Executable::Base.static_parameter_collection (method)">static_parameter_collection</a></span>, <span class='object_link'><a href="Executable/Base.html#stderr-instance_method" title="Sprout::Executable::Base#stderr (method)">#stderr</a></span>, <span class='object_link'><a href="Executable/Base.html#stderr%3D-instance_method" title="Sprout::Executable::Base#stderr= (method)">#stderr=</a></span>, <span class='object_link'><a href="Executable/Base.html#stdout-instance_method" title="Sprout::Executable::Base#stdout (method)">#stdout</a></span>, <span class='object_link'><a href="Executable/Base.html#stdout%3D-instance_method" title="Sprout::Executable::Base#stdout= (method)">#stdout=</a></span>, <span class='object_link'><a href="Executable/Base.html#system_execute-instance_method" title="Sprout::Executable::Base#system_execute (method)">#system_execute</a></span>, <span class='object_link'><a href="Executable/Base.html#to_hash-instance_method" title="Sprout::Executable::Base#to_hash (method)">#to_hash</a></span>, <span class='object_link'><a href="Executable/Base.html#to_help-instance_method" title="Sprout::Executable::Base#to_help (method)">#to_help</a></span>, <span class='object_link'><a href="Executable/Base.html#to_rake-instance_method" title="Sprout::Executable::Base#to_rake (method)">#to_rake</a></span>, <span class='object_link'><a href="Executable/Base.html#to_shell-instance_method" title="Sprout::Executable::Base#to_shell (method)">#to_shell</a></span>, <span class='object_link'><a href="Executable/Base.html#update_rake_task_name_from_args-instance_method" title="Sprout::Executable::Base#update_rake_task_name_from_args (method)">#update_rake_task_name_from_args</a></span></p>
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="Concern.html" title="Sprout::Concern (module)">Concern</a></span></h3>
|
449
|
-
<p class="inherited"><span class='object_link'><a href="Concern.html#append_features-instance_method" title="Sprout::Concern#append_features (method)">#append_features</a></span>, <span class='object_link'><a href="Concern.html#extended-class_method" title="Sprout::Concern.extended (method)">extended</a></span>, <span class='object_link'><a href="Concern.html#included-instance_method" title="Sprout::Concern#included (method)">#included</a></span></p>
|
450
|
-
<div id="constructor_details" class="method_details_list">
|
451
|
-
<h2>Constructor Details</h2>
|
452
|
-
|
453
|
-
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Executable/Base.html#initialize-instance_method" title="Sprout::Executable::Base#initialize (method)">Sprout::Executable::Base</a></span></p>
|
454
|
-
|
455
|
-
</div>
|
456
|
-
|
457
|
-
<div id="instance_attr_details" class="attr_details">
|
458
|
-
<h2>Instance Attribute Details</h2>
|
459
|
-
|
460
|
-
|
461
|
-
<span id="bin=-instance_method"></span>
|
462
|
-
<span id="bin-instance_method"></span>
|
463
|
-
<div class="method_details first">
|
464
|
-
<p class="signature first" id="bin-instance_method">
|
465
|
-
|
466
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>bin</strong>
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
</p><div class="docstring">
|
471
|
-
<div class="discussion">
|
472
|
-
|
473
|
-
<p>The name of the folder where binary or executable artifacts should be
|
474
|
-
created by compiler tasks.</p>
|
475
|
-
|
476
|
-
|
477
|
-
</div>
|
478
|
-
</div>
|
479
|
-
<div class="tags">
|
480
|
-
<h3>Returns:</h3>
|
481
|
-
<ul class="return">
|
482
|
-
|
483
|
-
<li>
|
484
|
-
|
485
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
—
|
491
|
-
<div class='inline'>
|
492
|
-
<p>An instance of String</p>
|
493
|
-
</div>
|
494
|
-
|
495
|
-
</li>
|
496
|
-
|
497
|
-
</ul>
|
498
|
-
|
499
|
-
</div><table class="source_code">
|
500
|
-
<tr>
|
501
|
-
<td>
|
502
|
-
<pre class="lines">
|
503
|
-
|
504
|
-
|
505
|
-
</pre>
|
506
|
-
</td>
|
507
|
-
<td>
|
508
|
-
<pre class="code"><span class="info file"># File ''</span>
|
509
|
-
|
510
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:bin</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>bin</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
511
|
-
</td>
|
512
|
-
</tr>
|
513
|
-
</table>
|
514
|
-
</div>
|
515
|
-
|
516
|
-
|
517
|
-
<span id="extension=-instance_method"></span>
|
518
|
-
<span id="extension-instance_method"></span>
|
519
|
-
<div class="method_details ">
|
520
|
-
<p class="signature " id="extension-instance_method">
|
521
|
-
|
522
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>extension</strong>
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
</p><div class="docstring">
|
527
|
-
<div class="discussion">
|
528
|
-
|
529
|
-
<p>The default (primary) file extension for generated source files. This
|
530
|
-
should hint at the project type.</p>
|
531
|
-
|
532
|
-
|
533
|
-
</div>
|
534
|
-
</div>
|
535
|
-
<div class="tags">
|
536
|
-
<h3>Returns:</h3>
|
537
|
-
<ul class="return">
|
538
|
-
|
539
|
-
<li>
|
540
|
-
|
541
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
—
|
547
|
-
<div class='inline'>
|
548
|
-
<p>An instance of String</p>
|
549
|
-
</div>
|
550
|
-
|
551
|
-
</li>
|
552
|
-
|
553
|
-
</ul>
|
554
|
-
|
555
|
-
</div><table class="source_code">
|
556
|
-
<tr>
|
557
|
-
<td>
|
558
|
-
<pre class="lines">
|
559
|
-
|
560
|
-
|
561
|
-
</pre>
|
562
|
-
</td>
|
563
|
-
<td>
|
564
|
-
<pre class="code"><span class="info file"># File ''</span>
|
565
|
-
|
566
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:extension</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.as</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
567
|
-
</td>
|
568
|
-
</tr>
|
569
|
-
</table>
|
570
|
-
</div>
|
571
|
-
|
572
|
-
|
573
|
-
<span id="fixtures=-instance_method"></span>
|
574
|
-
<span id="fixtures-instance_method"></span>
|
575
|
-
<div class="method_details ">
|
576
|
-
<p class="signature " id="fixtures-instance_method">
|
577
|
-
|
578
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>fixtures</strong>
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
</p><div class="docstring">
|
583
|
-
<div class="discussion">
|
584
|
-
|
585
|
-
<p>The name of the child folder of the test folder where fixtures should be
|
586
|
-
generated.</p>
|
587
|
-
|
588
|
-
|
589
|
-
</div>
|
590
|
-
</div>
|
591
|
-
<div class="tags">
|
592
|
-
<h3>Returns:</h3>
|
593
|
-
<ul class="return">
|
594
|
-
|
595
|
-
<li>
|
596
|
-
|
597
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
—
|
603
|
-
<div class='inline'>
|
604
|
-
<p>An instance of String</p>
|
605
|
-
</div>
|
606
|
-
|
607
|
-
</li>
|
608
|
-
|
609
|
-
</ul>
|
610
|
-
|
611
|
-
</div><table class="source_code">
|
612
|
-
<tr>
|
613
|
-
<td>
|
614
|
-
<pre class="lines">
|
615
|
-
|
616
|
-
|
617
|
-
</pre>
|
618
|
-
</td>
|
619
|
-
<td>
|
620
|
-
<pre class="code"><span class="info file"># File ''</span>
|
621
|
-
|
622
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:fixtures</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fixtures</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
623
|
-
</td>
|
624
|
-
</tr>
|
625
|
-
</table>
|
626
|
-
</div>
|
627
|
-
|
628
|
-
|
629
|
-
<span id="generators=-instance_method"></span>
|
630
|
-
<span id="generators-instance_method"></span>
|
631
|
-
<div class="method_details ">
|
632
|
-
<p class="signature " id="generators-instance_method">
|
633
|
-
|
634
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>generators</strong>
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
</p><div class="docstring">
|
639
|
-
<div class="discussion">
|
640
|
-
|
641
|
-
<p>The name of the folder where custom generators and templates will be found.</p>
|
642
|
-
|
643
|
-
|
644
|
-
</div>
|
645
|
-
</div>
|
646
|
-
<div class="tags">
|
647
|
-
<h3>Returns:</h3>
|
648
|
-
<ul class="return">
|
649
|
-
|
650
|
-
<li>
|
651
|
-
|
652
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
—
|
658
|
-
<div class='inline'>
|
659
|
-
<p>An instance of String</p>
|
660
|
-
</div>
|
661
|
-
|
662
|
-
</li>
|
663
|
-
|
664
|
-
</ul>
|
665
|
-
|
666
|
-
</div><table class="source_code">
|
667
|
-
<tr>
|
668
|
-
<td>
|
669
|
-
<pre class="lines">
|
670
|
-
|
671
|
-
|
672
|
-
</pre>
|
673
|
-
</td>
|
674
|
-
<td>
|
675
|
-
<pre class="code"><span class="info file"># File ''</span>
|
676
|
-
|
677
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:generators</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>generators</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
678
|
-
</td>
|
679
|
-
</tr>
|
680
|
-
</table>
|
681
|
-
</div>
|
682
|
-
|
683
|
-
|
684
|
-
<span id="lib=-instance_method"></span>
|
685
|
-
<span id="lib-instance_method"></span>
|
686
|
-
<div class="method_details ">
|
687
|
-
<p class="signature " id="lib-instance_method">
|
688
|
-
|
689
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>lib</strong>
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
</p><div class="docstring">
|
694
|
-
<div class="discussion">
|
695
|
-
|
696
|
-
<p>The name of the folder where external libraries will be installed.</p>
|
697
|
-
|
698
|
-
|
699
|
-
</div>
|
700
|
-
</div>
|
701
|
-
<div class="tags">
|
702
|
-
<h3>Returns:</h3>
|
703
|
-
<ul class="return">
|
704
|
-
|
705
|
-
<li>
|
706
|
-
|
707
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
—
|
713
|
-
<div class='inline'>
|
714
|
-
<p>An instance of String</p>
|
715
|
-
</div>
|
716
|
-
|
717
|
-
</li>
|
718
|
-
|
719
|
-
</ul>
|
720
|
-
|
721
|
-
</div><table class="source_code">
|
722
|
-
<tr>
|
723
|
-
<td>
|
724
|
-
<pre class="lines">
|
725
|
-
|
726
|
-
|
727
|
-
</pre>
|
728
|
-
</td>
|
729
|
-
<td>
|
730
|
-
<pre class="code"><span class="info file"># File ''</span>
|
731
|
-
|
732
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:lib</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>lib</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
733
|
-
</td>
|
734
|
-
</tr>
|
735
|
-
</table>
|
736
|
-
</div>
|
737
|
-
|
738
|
-
|
739
|
-
<span id="namespace=-instance_method"></span>
|
740
|
-
<span id="namespace-instance_method"></span>
|
741
|
-
<div class="method_details ">
|
742
|
-
<p class="signature " id="namespace-instance_method">
|
743
|
-
|
744
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>namespace</strong>
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
</p><div class="docstring">
|
749
|
-
<div class="discussion">
|
750
|
-
|
751
|
-
<p>The default module that classes will be added to.</p>
|
752
|
-
|
753
|
-
|
754
|
-
</div>
|
755
|
-
</div>
|
756
|
-
<div class="tags">
|
757
|
-
<h3>Returns:</h3>
|
758
|
-
<ul class="return">
|
759
|
-
|
760
|
-
<li>
|
761
|
-
|
762
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
—
|
768
|
-
<div class='inline'>
|
769
|
-
<p>An instance of String</p>
|
770
|
-
</div>
|
771
|
-
|
772
|
-
</li>
|
773
|
-
|
774
|
-
</ul>
|
775
|
-
|
776
|
-
</div><table class="source_code">
|
777
|
-
<tr>
|
778
|
-
<td>
|
779
|
-
<pre class="lines">
|
780
|
-
|
781
|
-
|
782
|
-
</pre>
|
783
|
-
</td>
|
784
|
-
<td>
|
785
|
-
<pre class="code"><span class="info file"># File ''</span>
|
786
|
-
|
787
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:namespace</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span></pre>
|
788
|
-
</td>
|
789
|
-
</tr>
|
790
|
-
</table>
|
791
|
-
</div>
|
792
|
-
|
793
|
-
|
794
|
-
<span id="test=-instance_method"></span>
|
795
|
-
<span id="test-instance_method"></span>
|
796
|
-
<div class="method_details ">
|
797
|
-
<p class="signature " id="test-instance_method">
|
798
|
-
|
799
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>test</strong>
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
</p><div class="docstring">
|
804
|
-
<div class="discussion">
|
805
|
-
|
806
|
-
<p>The name of the folder where tests should be generated.</p>
|
807
|
-
|
808
|
-
|
809
|
-
</div>
|
810
|
-
</div>
|
811
|
-
<div class="tags">
|
812
|
-
<h3>Returns:</h3>
|
813
|
-
<ul class="return">
|
814
|
-
|
815
|
-
<li>
|
816
|
-
|
817
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
—
|
823
|
-
<div class='inline'>
|
824
|
-
<p>An instance of String</p>
|
825
|
-
</div>
|
826
|
-
|
827
|
-
</li>
|
828
|
-
|
829
|
-
</ul>
|
830
|
-
|
831
|
-
</div><table class="source_code">
|
832
|
-
<tr>
|
833
|
-
<td>
|
834
|
-
<pre class="lines">
|
835
|
-
|
836
|
-
|
837
|
-
</pre>
|
838
|
-
</td>
|
839
|
-
<td>
|
840
|
-
<pre class="code"><span class="info file"># File ''</span>
|
841
|
-
|
842
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:test</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
843
|
-
</td>
|
844
|
-
</tr>
|
845
|
-
</table>
|
846
|
-
</div>
|
847
|
-
|
848
|
-
|
849
|
-
<span id="unit=-instance_method"></span>
|
850
|
-
<span id="unit-instance_method"></span>
|
851
|
-
<div class="method_details ">
|
852
|
-
<p class="signature " id="unit-instance_method">
|
853
|
-
|
854
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>unit</strong>
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
</p><div class="docstring">
|
859
|
-
<div class="discussion">
|
860
|
-
|
861
|
-
<p>The name of the child folder of the test folder where unit tests should be
|
862
|
-
generated.</p>
|
863
|
-
|
864
|
-
|
865
|
-
</div>
|
866
|
-
</div>
|
867
|
-
<div class="tags">
|
868
|
-
<h3>Returns:</h3>
|
869
|
-
<ul class="return">
|
870
|
-
|
871
|
-
<li>
|
872
|
-
|
873
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
—
|
879
|
-
<div class='inline'>
|
880
|
-
<p>An instance of String</p>
|
881
|
-
</div>
|
882
|
-
|
883
|
-
</li>
|
884
|
-
|
885
|
-
</ul>
|
886
|
-
|
887
|
-
</div><table class="source_code">
|
888
|
-
<tr>
|
889
|
-
<td>
|
890
|
-
<pre class="lines">
|
891
|
-
|
892
|
-
|
893
|
-
</pre>
|
894
|
-
</td>
|
895
|
-
<td>
|
896
|
-
<pre class="code"><span class="info file"># File ''</span>
|
897
|
-
|
898
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:unit</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>unit</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
899
|
-
</td>
|
900
|
-
</tr>
|
901
|
-
</table>
|
902
|
-
</div>
|
903
|
-
|
904
|
-
|
905
|
-
<span id="vendor=-instance_method"></span>
|
906
|
-
<span id="vendor-instance_method"></span>
|
907
|
-
<div class="method_details ">
|
908
|
-
<p class="signature " id="vendor-instance_method">
|
909
|
-
|
910
|
-
- (<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>) <strong>vendor</strong>
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
</p><div class="docstring">
|
915
|
-
<div class="discussion">
|
916
|
-
|
917
|
-
<p>The name of the folder where external source code should be placed.</p>
|
918
|
-
|
919
|
-
|
920
|
-
</div>
|
921
|
-
</div>
|
922
|
-
<div class="tags">
|
923
|
-
<h3>Returns:</h3>
|
924
|
-
<ul class="return">
|
925
|
-
|
926
|
-
<li>
|
927
|
-
|
928
|
-
<span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
—
|
934
|
-
<div class='inline'>
|
935
|
-
<p>An instance of String</p>
|
936
|
-
</div>
|
937
|
-
|
938
|
-
</li>
|
939
|
-
|
940
|
-
</ul>
|
941
|
-
|
942
|
-
</div><table class="source_code">
|
943
|
-
<tr>
|
944
|
-
<td>
|
945
|
-
<pre class="lines">
|
946
|
-
|
947
|
-
|
948
|
-
</pre>
|
949
|
-
</td>
|
950
|
-
<td>
|
951
|
-
<pre class="code"><span class="info file"># File ''</span>
|
952
|
-
|
953
|
-
<span class='id add_param'>add_param</span> <span class='symbol'>:vendor</span><span class='comma'>,</span> <span class='const'>String</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:default</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>vendor</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span></pre>
|
954
|
-
</td>
|
955
|
-
</tr>
|
956
|
-
</table>
|
957
|
-
</div>
|
958
|
-
|
959
|
-
</div>
|
960
|
-
|
961
|
-
|
962
|
-
<div id="instance_method_details" class="method_details_list">
|
963
|
-
<h2>Instance Method Details</h2>
|
964
|
-
|
965
|
-
|
966
|
-
<div class="method_details first">
|
967
|
-
<p class="signature first" id="manifest-instance_method">
|
968
|
-
|
969
|
-
- (<tt>Object</tt>) <strong>manifest</strong>
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
</p><table class="source_code">
|
974
|
-
<tr>
|
975
|
-
<td>
|
976
|
-
<pre class="lines">
|
977
|
-
|
978
|
-
|
979
|
-
49
|
980
|
-
50
|
981
|
-
51
|
982
|
-
52
|
983
|
-
53
|
984
|
-
54
|
985
|
-
55
|
986
|
-
56
|
987
|
-
57
|
988
|
-
58
|
989
|
-
59
|
990
|
-
60
|
991
|
-
61
|
992
|
-
62
|
993
|
-
63
|
994
|
-
64
|
995
|
-
65
|
996
|
-
66
|
997
|
-
67
|
998
|
-
68
|
999
|
-
69
|
1000
|
-
70
|
1001
|
-
71
|
1002
|
-
72
|
1003
|
-
73
|
1004
|
-
74
|
1005
|
-
75
|
1006
|
-
76
|
1007
|
-
77
|
1008
|
-
78
|
1009
|
-
79
|
1010
|
-
80
|
1011
|
-
81
|
1012
|
-
82
|
1013
|
-
83
|
1014
|
-
84
|
1015
|
-
85
|
1016
|
-
86
|
1017
|
-
87
|
1018
|
-
88
|
1019
|
-
89
|
1020
|
-
90
|
1021
|
-
91</pre>
|
1022
|
-
</td>
|
1023
|
-
<td>
|
1024
|
-
<pre class="code"><span class="info file"># File 'lib/sprout/generators/generator/generator_generator.rb', line 49</span>
|
1025
|
-
|
1026
|
-
<span class='kw'>def</span> <span class='id manifest'>manifest</span>
|
1027
|
-
<span class='id massage_input'>massage_input</span>
|
1028
|
-
|
1029
|
-
<span class='id directory'>directory</span> <span class='id bin'>bin</span> <span class='kw'>do</span>
|
1030
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id input'>input</span><span class='period'>.</span><span class='id dash_case'>dash_case</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generator_executable</span><span class='tstring_end'>"</span></span>
|
1031
|
-
<span class='kw'>end</span>
|
1032
|
-
|
1033
|
-
<span class='id directory'>directory</span> <span class='id lib'>lib</span> <span class='kw'>do</span>
|
1034
|
-
<span class='comment'>#We need to add a folder with the same name as the module to be used in order to faux namespace our generators to avoid collisions from super classes
|
1035
|
-
</span> <span class='id directory'>directory</span> <span class='id namespace'>namespace</span> <span class='kw'>do</span>
|
1036
|
-
<span class='id directory'>directory</span> <span class='id generators'>generators</span> <span class='kw'>do</span>
|
1037
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id input'>input</span><span class='period'>.</span><span class='id snake_case'>snake_case</span><span class='rbrace'>}</span><span class='tstring_content'>_generator.rb</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generator_class.rb</span><span class='tstring_end'>"</span></span>
|
1038
|
-
<span class='id directory'>directory</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>templates</span><span class='tstring_end'>"</span></span> <span class='kw'>do</span>
|
1039
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id input'>input</span><span class='period'>.</span><span class='id camel_case'>camel_case</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='id extension'>extension</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generator_template</span><span class='tstring_end'>"</span></span>
|
1040
|
-
<span class='kw'>end</span>
|
1041
|
-
<span class='kw'>end</span>
|
1042
|
-
<span class='kw'>end</span>
|
1043
|
-
<span class='kw'>end</span>
|
1044
|
-
|
1045
|
-
<span class='id directory'>directory</span> <span class='id test'>test</span> <span class='kw'>do</span>
|
1046
|
-
<span class='id directory'>directory</span> <span class='id unit'>unit</span> <span class='kw'>do</span>
|
1047
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id input'>input</span><span class='period'>.</span><span class='id snake_case'>snake_case</span><span class='rbrace'>}</span><span class='tstring_content'>_generator_test.rb</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generator_test.rb</span><span class='tstring_end'>"</span></span>
|
1048
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>test_helper.rb</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generator_test_helper.rb</span><span class='tstring_end'>"</span></span>
|
1049
|
-
<span class='kw'>end</span>
|
1050
|
-
<span class='id directory'>directory</span> <span class='id fixtures'>fixtures</span> <span class='kw'>do</span>
|
1051
|
-
<span class='id directory'>directory</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>generators</span><span class='tstring_end'>"</span></span>
|
1052
|
-
<span class='kw'>end</span>
|
1053
|
-
<span class='kw'>end</span>
|
1054
|
-
|
1055
|
-
<span class='kw'>if</span> <span class='op'>!</span><span class='const'>File</span><span class='period'>.</span><span class='id exists?'>exists?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Gemfile</span><span class='tstring_end'>'</span></span>
|
1056
|
-
<span class='id template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Gemfile</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>generator_gemfile</span><span class='tstring_end'>'</span></span>
|
1057
|
-
<span class='kw'>else</span>
|
1058
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>[INFO] It seems you already have a Gemfile in this project, please be sure it has the following content:</span><span class='tstring_end'>"</span></span>
|
1059
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1060
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> gem "sprout", ">= #{Sprout::VERSION::STRING}"</span><span class='tstring_end'>'</span></span>
|
1061
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1062
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> group :development do</span><span class='tstring_end'>'</span></span>
|
1063
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> gem "shoulda"</span><span class='tstring_end'>'</span></span>
|
1064
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> gem "mocha"</span><span class='tstring_end'>'</span></span>
|
1065
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> end</span><span class='tstring_end'>'</span></span>
|
1066
|
-
<span class='id say'>say</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1067
|
-
<span class='kw'>end</span>
|
1068
|
-
<span class='kw'>end</span></pre>
|
1069
|
-
</td>
|
1070
|
-
</tr>
|
1071
|
-
</table>
|
1072
|
-
</div>
|
1073
|
-
|
1074
|
-
<div class="method_details ">
|
1075
|
-
<p class="signature " id="massage_input-instance_method">
|
1076
|
-
|
1077
|
-
- (<tt>Object</tt>) <strong>massage_input</strong> <span class="extras">(protected)</span>
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
</p><table class="source_code">
|
1082
|
-
<tr>
|
1083
|
-
<td>
|
1084
|
-
<pre class="lines">
|
1085
|
-
|
1086
|
-
|
1087
|
-
95
|
1088
|
-
96
|
1089
|
-
97
|
1090
|
-
98</pre>
|
1091
|
-
</td>
|
1092
|
-
<td>
|
1093
|
-
<pre class="code"><span class="info file"># File 'lib/sprout/generators/generator/generator_generator.rb', line 95</span>
|
1094
|
-
|
1095
|
-
<span class='kw'>def</span> <span class='id massage_input'>massage_input</span>
|
1096
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id input'>input</span> <span class='op'>=</span> <span class='id input'>input</span><span class='period'>.</span><span class='id gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>_generator$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1097
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id input'>input</span> <span class='op'>=</span> <span class='id input'>input</span><span class='period'>.</span><span class='id gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>Generator$</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1098
|
-
<span class='kw'>end</span></pre>
|
1099
|
-
</td>
|
1100
|
-
</tr>
|
1101
|
-
</table>
|
1102
|
-
</div>
|
1103
|
-
|
1104
|
-
</div>
|
1105
|
-
|
1106
|
-
</div>
|
1107
|
-
|
1108
|
-
<div id="footer">
|
1109
|
-
Generated on Fri Apr 29 18:33:10 2011 by
|
1110
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1111
|
-
0.6.3 (ruby-1.9.2).
|
1112
|
-
</div>
|
1113
|
-
|
1114
|
-
</body>
|
1115
|
-
</html>
|