sprout 1.0.11.pre → 1.0.13.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.

Files changed (149) hide show
  1. data/lib/sprout/executable.rb +37 -10
  2. data/lib/sprout/generator/base.rb +17 -0
  3. data/lib/sprout/ruby_feature.rb +1 -1
  4. data/lib/sprout/version.rb +1 -1
  5. data/rdoc/<.html +274 -0
  6. data/rdoc/Dir.html +387 -0
  7. data/rdoc/Object.html +344 -0
  8. data/rdoc/Sprout.html +440 -0
  9. data/rdoc/Sprout/ArchiveUnpacker.html +1045 -0
  10. data/rdoc/Sprout/Base.html +283 -0
  11. data/rdoc/Sprout/Base/ClassMethods.html +474 -0
  12. data/rdoc/Sprout/Concern.html +415 -0
  13. data/rdoc/Sprout/Errors.html +324 -0
  14. data/rdoc/Sprout/Errors/ArchiveUnpackerError.html +284 -0
  15. data/rdoc/Sprout/Errors/DestinationExistsError.html +286 -0
  16. data/rdoc/Sprout/Errors/DuplicateMemberError.html +284 -0
  17. data/rdoc/Sprout/Errors/ExecutableError.html +285 -0
  18. data/rdoc/Sprout/Errors/ExecutableRegistrationError.html +284 -0
  19. data/rdoc/Sprout/Errors/ExecutionError.html +284 -0
  20. data/rdoc/Sprout/Errors/GeneratorError.html +284 -0
  21. data/rdoc/Sprout/Errors/InvalidArgumentError.html +284 -0
  22. data/rdoc/Sprout/Errors/LoadError.html +284 -0
  23. data/rdoc/Sprout/Errors/MissingArgumentError.html +284 -0
  24. data/rdoc/Sprout/Errors/MissingExecutableError.html +284 -0
  25. data/rdoc/Sprout/Errors/MissingGeneratorError.html +285 -0
  26. data/rdoc/Sprout/Errors/MissingTemplateError.html +285 -0
  27. data/rdoc/Sprout/Errors/ProcessRunnerError.html +284 -0
  28. data/rdoc/Sprout/Errors/RemoteFileLoaderError.html +284 -0
  29. data/rdoc/Sprout/Errors/SproutError.html +284 -0
  30. data/rdoc/Sprout/Errors/UnknownArchiveType.html +285 -0
  31. data/rdoc/Sprout/Errors/UsageError.html +284 -0
  32. data/rdoc/Sprout/Errors/ValidationError.html +284 -0
  33. data/rdoc/Sprout/Errors/VersionRequirementNotMetError.html +284 -0
  34. data/rdoc/Sprout/Executable.html +549 -0
  35. data/rdoc/Sprout/Executable/Boolean.html +445 -0
  36. data/rdoc/Sprout/Executable/ClassMethods.html +713 -0
  37. data/rdoc/Sprout/Executable/CollectionParam.html +501 -0
  38. data/rdoc/Sprout/Executable/FileParam.html +512 -0
  39. data/rdoc/Sprout/Executable/Files.html +385 -0
  40. data/rdoc/Sprout/Executable/InstanceMethods.html +1597 -0
  41. data/rdoc/Sprout/Executable/Number.html +284 -0
  42. data/rdoc/Sprout/Executable/Param.html +1660 -0
  43. data/rdoc/Sprout/Executable/ParameterFactory.html +345 -0
  44. data/rdoc/Sprout/Executable/Path.html +339 -0
  45. data/rdoc/Sprout/Executable/Paths.html +339 -0
  46. data/rdoc/Sprout/Executable/StringParam.html +333 -0
  47. data/rdoc/Sprout/Executable/Strings.html +295 -0
  48. data/rdoc/Sprout/Executable/Url.html +284 -0
  49. data/rdoc/Sprout/Executable/Urls.html +284 -0
  50. data/rdoc/Sprout/FileTarget.html +660 -0
  51. data/rdoc/Sprout/Generator.html +643 -0
  52. data/rdoc/Sprout/Generator/Base.html +1143 -0
  53. data/rdoc/Sprout/Generator/Command.html +604 -0
  54. data/rdoc/Sprout/Generator/DirectoryManifest.html +561 -0
  55. data/rdoc/Sprout/Generator/FileManifest.html +545 -0
  56. data/rdoc/Sprout/Generator/Manifest.html +387 -0
  57. data/rdoc/Sprout/Generator/TemplateManifest.html +331 -0
  58. data/rdoc/Sprout/GeneratorGenerator.html +358 -0
  59. data/rdoc/Sprout/Library.html +646 -0
  60. data/rdoc/Sprout/LibraryGenerator.html +368 -0
  61. data/rdoc/Sprout/Log.html +281 -0
  62. data/rdoc/Sprout/Platform.html +610 -0
  63. data/rdoc/Sprout/ProcessRunner.html +1145 -0
  64. data/rdoc/Sprout/ProgressBar.html +281 -0
  65. data/rdoc/Sprout/ProgressBarImpl.html +281 -0
  66. data/rdoc/Sprout/ProgressBarManager.html +281 -0
  67. data/rdoc/Sprout/ProgressBarOutputStream.html +281 -0
  68. data/rdoc/Sprout/RDocParser.html +702 -0
  69. data/rdoc/Sprout/RemoteFileLoader.html +537 -0
  70. data/rdoc/Sprout/RemoteFileTarget.html +741 -0
  71. data/rdoc/Sprout/ReversedProgressBar.html +281 -0
  72. data/rdoc/Sprout/RubyFeature.html +324 -0
  73. data/rdoc/Sprout/RubyFeature/ClassMethods.html +821 -0
  74. data/rdoc/Sprout/RubyGenerator.html +576 -0
  75. data/rdoc/Sprout/Specification.html +915 -0
  76. data/rdoc/Sprout/System.html +383 -0
  77. data/rdoc/Sprout/System/BaseSystem.html +1173 -0
  78. data/rdoc/Sprout/System/JavaSystem.html +284 -0
  79. data/rdoc/Sprout/System/OSXSystem.html +419 -0
  80. data/rdoc/Sprout/System/ThreadMock.html +281 -0
  81. data/rdoc/Sprout/System/UnixSystem.html +583 -0
  82. data/rdoc/Sprout/System/VistaSystem.html +367 -0
  83. data/rdoc/Sprout/System/WinNixSystem.html +417 -0
  84. data/rdoc/Sprout/System/WinSystem.html +672 -0
  85. data/rdoc/Sprout/ToolGenerator.html +376 -0
  86. data/rdoc/Sprout/VERSION.html +274 -0
  87. data/rdoc/SproutTestCase.html +279 -0
  88. data/rdoc/String.html +411 -0
  89. data/rdoc/created.rid +61 -0
  90. data/rdoc/index.html +795 -0
  91. data/rdoc/lib/sprout/archive_unpacker_rb.html +56 -0
  92. data/rdoc/lib/sprout/base_rb.html +111 -0
  93. data/rdoc/lib/sprout/concern_rb.html +52 -0
  94. data/rdoc/lib/sprout/dir_rb.html +52 -0
  95. data/rdoc/lib/sprout/errors_rb.html +52 -0
  96. data/rdoc/lib/sprout/executable/boolean_rb.html +52 -0
  97. data/rdoc/lib/sprout/executable/collection_param_rb.html +52 -0
  98. data/rdoc/lib/sprout/executable/file_param_rb.html +52 -0
  99. data/rdoc/lib/sprout/executable/files_rb.html +52 -0
  100. data/rdoc/lib/sprout/executable/number_rb.html +52 -0
  101. data/rdoc/lib/sprout/executable/param_rb.html +52 -0
  102. data/rdoc/lib/sprout/executable/parameter_factory_rb.html +52 -0
  103. data/rdoc/lib/sprout/executable/path_rb.html +52 -0
  104. data/rdoc/lib/sprout/executable/paths_rb.html +52 -0
  105. data/rdoc/lib/sprout/executable/string_param_rb.html +52 -0
  106. data/rdoc/lib/sprout/executable/strings_rb.html +52 -0
  107. data/rdoc/lib/sprout/executable/url_rb.html +52 -0
  108. data/rdoc/lib/sprout/executable/urls_rb.html +52 -0
  109. data/rdoc/lib/sprout/executable_rb.html +78 -0
  110. data/rdoc/lib/sprout/file_target_rb.html +52 -0
  111. data/rdoc/lib/sprout/generator/base_rb.html +54 -0
  112. data/rdoc/lib/sprout/generator/command_rb.html +52 -0
  113. data/rdoc/lib/sprout/generator/directory_manifest_rb.html +52 -0
  114. data/rdoc/lib/sprout/generator/file_manifest_rb.html +52 -0
  115. data/rdoc/lib/sprout/generator/manifest_rb.html +52 -0
  116. data/rdoc/lib/sprout/generator/template_manifest_rb.html +52 -0
  117. data/rdoc/lib/sprout/generators/generator/generator_generator_rb.html +52 -0
  118. data/rdoc/lib/sprout/generators/generator/templates/generator_test_helper_rb.html +64 -0
  119. data/rdoc/lib/sprout/generators/library/library_generator_rb.html +52 -0
  120. data/rdoc/lib/sprout/generators/ruby/ruby_generator_rb.html +52 -0
  121. data/rdoc/lib/sprout/generators/ruby/templates/ruby_base_rb.html +54 -0
  122. data/rdoc/lib/sprout/generators/tool/tool_generator_rb.html +52 -0
  123. data/rdoc/lib/sprout/library_rb.html +52 -0
  124. data/rdoc/lib/sprout/log_rb.html +52 -0
  125. data/rdoc/lib/sprout/platform_rb.html +52 -0
  126. data/rdoc/lib/sprout/process_runner_rb.html +58 -0
  127. data/rdoc/lib/sprout/progress_bar_rb.html +72 -0
  128. data/rdoc/lib/sprout/rdoc_parser_rb.html +54 -0
  129. data/rdoc/lib/sprout/remote_file_loader_rb.html +54 -0
  130. data/rdoc/lib/sprout/remote_file_target_rb.html +52 -0
  131. data/rdoc/lib/sprout/ruby_feature_rb.html +52 -0
  132. data/rdoc/lib/sprout/specification_rb.html +52 -0
  133. data/rdoc/lib/sprout/string_rb.html +52 -0
  134. data/rdoc/lib/sprout/system/base_system_rb.html +52 -0
  135. data/rdoc/lib/sprout/system/java_system_rb.html +52 -0
  136. data/rdoc/lib/sprout/system/osx_system_rb.html +52 -0
  137. data/rdoc/lib/sprout/system/unix_system_rb.html +52 -0
  138. data/rdoc/lib/sprout/system/vista_system_rb.html +52 -0
  139. data/rdoc/lib/sprout/system/win_nix_system_rb.html +52 -0
  140. data/rdoc/lib/sprout/system/win_system_rb.html +52 -0
  141. data/rdoc/lib/sprout/system_rb.html +66 -0
  142. data/rdoc/lib/sprout/test/sprout_test_case_rb.html +57 -0
  143. data/rdoc/lib/sprout/version_rb.html +52 -0
  144. data/rdoc/lib/sprout_rb.html +54 -0
  145. data/rdoc/rdoc.css +706 -0
  146. data/test/fixtures/executable/mxmlc.rb +2 -2
  147. data/test/unit/executable_test.rb +13 -0
  148. data/test/unit/generator_test.rb +25 -2
  149. metadata +144 -3
@@ -0,0 +1,284 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: Sprout::Executable::Urls</title>
9
+
10
+ <link rel="stylesheet" href="../../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../../js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="../../js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="../../js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="../../js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="../../index.html">Home</a>
29
+ <a href="../../index.html#classes">Classes</a>
30
+ <a href="../../index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="../../lib/sprout/executable/urls_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/sprout/executable/urls.rb">lib/sprout/executable/urls.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link"><a href="Strings.html">Sprout::Executable::Strings</a></p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+
69
+ <!-- Included Modules -->
70
+
71
+ </div>
72
+
73
+ <div id="project-metadata">
74
+
75
+
76
+
77
+ <div id="classindex-section" class="section project-section">
78
+ <h3 class="section-header">Class Index
79
+ <span class="search-toggle"><img src="../../images/find.png"
80
+ height="16" width="16" alt="[+]"
81
+ title="show/hide quicksearch" /></span></h3>
82
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
83
+ <fieldset>
84
+ <legend>Quicksearch</legend>
85
+ <input type="text" name="quicksearch" value=""
86
+ class="quicksearch-field" />
87
+ </fieldset>
88
+ </form>
89
+
90
+ <ul class="link-list">
91
+
92
+ <li><a href="../../Sprout/ArchiveUnpacker.html">Sprout::ArchiveUnpacker</a></li>
93
+
94
+ <li><a href="../../Sprout/Base.html">Sprout::Base</a></li>
95
+
96
+ <li><a href="../../Sprout/Base/ClassMethods.html">Sprout::Base::ClassMethods</a></li>
97
+
98
+ <li><a href="../../Sprout/Concern.html">Sprout::Concern</a></li>
99
+
100
+ <li><a href="../../Sprout/Errors.html">Sprout::Errors</a></li>
101
+
102
+ <li><a href="../../Sprout/Errors/ArchiveUnpackerError.html">Sprout::Errors::ArchiveUnpackerError</a></li>
103
+
104
+ <li><a href="../../Sprout/Errors/DestinationExistsError.html">Sprout::Errors::DestinationExistsError</a></li>
105
+
106
+ <li><a href="../../Sprout/Errors/DuplicateMemberError.html">Sprout::Errors::DuplicateMemberError</a></li>
107
+
108
+ <li><a href="../../Sprout/Errors/ExecutableError.html">Sprout::Errors::ExecutableError</a></li>
109
+
110
+ <li><a href="../../Sprout/Errors/ExecutableRegistrationError.html">Sprout::Errors::ExecutableRegistrationError</a></li>
111
+
112
+ <li><a href="../../Sprout/Errors/ExecutionError.html">Sprout::Errors::ExecutionError</a></li>
113
+
114
+ <li><a href="../../Sprout/Errors/GeneratorError.html">Sprout::Errors::GeneratorError</a></li>
115
+
116
+ <li><a href="../../Sprout/Errors/InvalidArgumentError.html">Sprout::Errors::InvalidArgumentError</a></li>
117
+
118
+ <li><a href="../../Sprout/Errors/LoadError.html">Sprout::Errors::LoadError</a></li>
119
+
120
+ <li><a href="../../Sprout/Errors/MissingArgumentError.html">Sprout::Errors::MissingArgumentError</a></li>
121
+
122
+ <li><a href="../../Sprout/Errors/MissingExecutableError.html">Sprout::Errors::MissingExecutableError</a></li>
123
+
124
+ <li><a href="../../Sprout/Errors/MissingGeneratorError.html">Sprout::Errors::MissingGeneratorError</a></li>
125
+
126
+ <li><a href="../../Sprout/Errors/MissingTemplateError.html">Sprout::Errors::MissingTemplateError</a></li>
127
+
128
+ <li><a href="../../Sprout/Errors/ProcessRunnerError.html">Sprout::Errors::ProcessRunnerError</a></li>
129
+
130
+ <li><a href="../../Sprout/Errors/RemoteFileLoaderError.html">Sprout::Errors::RemoteFileLoaderError</a></li>
131
+
132
+ <li><a href="../../Sprout/Errors/SproutError.html">Sprout::Errors::SproutError</a></li>
133
+
134
+ <li><a href="../../Sprout/Errors/UnknownArchiveType.html">Sprout::Errors::UnknownArchiveType</a></li>
135
+
136
+ <li><a href="../../Sprout/Errors/UsageError.html">Sprout::Errors::UsageError</a></li>
137
+
138
+ <li><a href="../../Sprout/Errors/ValidationError.html">Sprout::Errors::ValidationError</a></li>
139
+
140
+ <li><a href="../../Sprout/Errors/VersionRequirementNotMetError.html">Sprout::Errors::VersionRequirementNotMetError</a></li>
141
+
142
+ <li><a href="../../Sprout/Executable.html">Sprout::Executable</a></li>
143
+
144
+ <li><a href="../../Sprout/Executable/Boolean.html">Sprout::Executable::Boolean</a></li>
145
+
146
+ <li><a href="../../Sprout/Executable/ClassMethods.html">Sprout::Executable::ClassMethods</a></li>
147
+
148
+ <li><a href="../../Sprout/Executable/CollectionParam.html">Sprout::Executable::CollectionParam</a></li>
149
+
150
+ <li><a href="../../Sprout/Executable/FileParam.html">Sprout::Executable::FileParam</a></li>
151
+
152
+ <li><a href="../../Sprout/Executable/Files.html">Sprout::Executable::Files</a></li>
153
+
154
+ <li><a href="../../Sprout/Executable/InstanceMethods.html">Sprout::Executable::InstanceMethods</a></li>
155
+
156
+ <li><a href="../../Sprout/Executable/Number.html">Sprout::Executable::Number</a></li>
157
+
158
+ <li><a href="../../Sprout/Executable/Param.html">Sprout::Executable::Param</a></li>
159
+
160
+ <li><a href="../../Sprout/Executable/ParameterFactory.html">Sprout::Executable::ParameterFactory</a></li>
161
+
162
+ <li><a href="../../Sprout/Executable/Path.html">Sprout::Executable::Path</a></li>
163
+
164
+ <li><a href="../../Sprout/Executable/Paths.html">Sprout::Executable::Paths</a></li>
165
+
166
+ <li><a href="../../Sprout/Executable/StringParam.html">Sprout::Executable::StringParam</a></li>
167
+
168
+ <li><a href="../../Sprout/Executable/Strings.html">Sprout::Executable::Strings</a></li>
169
+
170
+ <li><a href="../../Sprout/Executable/Url.html">Sprout::Executable::Url</a></li>
171
+
172
+ <li><a href="../../Sprout/Executable/Urls.html">Sprout::Executable::Urls</a></li>
173
+
174
+ <li><a href="../../Sprout/FileTarget.html">Sprout::FileTarget</a></li>
175
+
176
+ <li><a href="../../Sprout/Generator.html">Sprout::Generator</a></li>
177
+
178
+ <li><a href="../../Sprout/Generator/Base.html">Sprout::Generator::Base</a></li>
179
+
180
+ <li><a href="../../Sprout/Generator/Command.html">Sprout::Generator::Command</a></li>
181
+
182
+ <li><a href="../../Sprout/Generator/DirectoryManifest.html">Sprout::Generator::DirectoryManifest</a></li>
183
+
184
+ <li><a href="../../Sprout/Generator/FileManifest.html">Sprout::Generator::FileManifest</a></li>
185
+
186
+ <li><a href="../../Sprout/Generator/Manifest.html">Sprout::Generator::Manifest</a></li>
187
+
188
+ <li><a href="../../Sprout/Generator/TemplateManifest.html">Sprout::Generator::TemplateManifest</a></li>
189
+
190
+ <li><a href="../../Sprout/GeneratorGenerator.html">Sprout::GeneratorGenerator</a></li>
191
+
192
+ <li><a href="../../Sprout/Library.html">Sprout::Library</a></li>
193
+
194
+ <li><a href="../../Sprout/LibraryGenerator.html">Sprout::LibraryGenerator</a></li>
195
+
196
+ <li><a href="../../Sprout/Platform.html">Sprout::Platform</a></li>
197
+
198
+ <li><a href="../../Sprout/ProcessRunner.html">Sprout::ProcessRunner</a></li>
199
+
200
+ <li><a href="../../Sprout/RDocParser.html">Sprout::RDocParser</a></li>
201
+
202
+ <li><a href="../../Sprout/RemoteFileLoader.html">Sprout::RemoteFileLoader</a></li>
203
+
204
+ <li><a href="../../Sprout/RemoteFileTarget.html">Sprout::RemoteFileTarget</a></li>
205
+
206
+ <li><a href="../../Sprout/RubyFeature.html">Sprout::RubyFeature</a></li>
207
+
208
+ <li><a href="../../Sprout/RubyFeature/ClassMethods.html">Sprout::RubyFeature::ClassMethods</a></li>
209
+
210
+ <li><a href="../../Sprout/RubyGenerator.html">Sprout::RubyGenerator</a></li>
211
+
212
+ <li><a href="../../Sprout/Specification.html">Sprout::Specification</a></li>
213
+
214
+ <li><a href="../../Sprout/System.html">Sprout::System</a></li>
215
+
216
+ <li><a href="../../Sprout/System/BaseSystem.html">Sprout::System::BaseSystem</a></li>
217
+
218
+ <li><a href="../../Sprout/System/JavaSystem.html">Sprout::System::JavaSystem</a></li>
219
+
220
+ <li><a href="../../Sprout/System/OSXSystem.html">Sprout::System::OSXSystem</a></li>
221
+
222
+ <li><a href="../../Sprout/System/UnixSystem.html">Sprout::System::UnixSystem</a></li>
223
+
224
+ <li><a href="../../Sprout/System/VistaSystem.html">Sprout::System::VistaSystem</a></li>
225
+
226
+ <li><a href="../../Sprout/System/WinNixSystem.html">Sprout::System::WinNixSystem</a></li>
227
+
228
+ <li><a href="../../Sprout/System/WinSystem.html">Sprout::System::WinSystem</a></li>
229
+
230
+ <li><a href="../../Sprout/ToolGenerator.html">Sprout::ToolGenerator</a></li>
231
+
232
+ <li><a href="../../<.html"><</a></li>
233
+
234
+ <li><a href="../../Dir.html">Dir</a></li>
235
+
236
+ <li><a href="../../Object.html">Object</a></li>
237
+
238
+ <li><a href="../../String.html">String</a></li>
239
+
240
+ </ul>
241
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
242
+ </div>
243
+
244
+
245
+ </div>
246
+ </div>
247
+
248
+ <div id="documentation">
249
+ <h1 class="class">Sprout::Executable::Urls</h1>
250
+
251
+ <div id="description">
252
+ <p>
253
+ Concrete param object for collections of files
254
+ </p>
255
+
256
+ </div>
257
+
258
+ <!-- Constants -->
259
+
260
+
261
+ <!-- Attributes -->
262
+
263
+
264
+ <!-- Methods -->
265
+
266
+
267
+ </div>
268
+
269
+
270
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
271
+
272
+ <p>Disabled; run with --debug to generate this.</p>
273
+
274
+ </div>
275
+
276
+ <div id="validator-badges">
277
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
278
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
279
+ Rdoc Generator</a> 1.1.6</small>.</p>
280
+ </div>
281
+
282
+ </body>
283
+ </html>
284
+
@@ -0,0 +1,660 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: Sprout::FileTarget</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="../js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="../js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="../index.html">Home</a>
29
+ <a href="../index.html#classes">Classes</a>
30
+ <a href="../index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="../lib/sprout/file_target_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/sprout/file_target.rb">lib/sprout/file_target.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link"><a href="../Object.html">Object</a></p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+ <div id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+ <ul class="link-list">
71
+
72
+ <li><a href="#method-c-new">::new</a></li>
73
+
74
+ <li><a href="#method-i-add_executable">#add_executable</a></li>
75
+
76
+ <li><a href="#method-i-add_library">#add_library</a></li>
77
+
78
+ <li><a href="#method-i-expand_executable_path">#expand_executable_path</a></li>
79
+
80
+ <li><a href="#method-i-to_s">#to_s</a></li>
81
+
82
+ <li><a href="#method-i-validate">#validate</a></li>
83
+
84
+ </ul>
85
+ </div>
86
+
87
+
88
+ <!-- Included Modules -->
89
+
90
+ </div>
91
+
92
+ <div id="project-metadata">
93
+
94
+
95
+
96
+ <div id="classindex-section" class="section project-section">
97
+ <h3 class="section-header">Class Index
98
+ <span class="search-toggle"><img src="../images/find.png"
99
+ height="16" width="16" alt="[+]"
100
+ title="show/hide quicksearch" /></span></h3>
101
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
102
+ <fieldset>
103
+ <legend>Quicksearch</legend>
104
+ <input type="text" name="quicksearch" value=""
105
+ class="quicksearch-field" />
106
+ </fieldset>
107
+ </form>
108
+
109
+ <ul class="link-list">
110
+
111
+ <li><a href="../Sprout/ArchiveUnpacker.html">Sprout::ArchiveUnpacker</a></li>
112
+
113
+ <li><a href="../Sprout/Base.html">Sprout::Base</a></li>
114
+
115
+ <li><a href="../Sprout/Base/ClassMethods.html">Sprout::Base::ClassMethods</a></li>
116
+
117
+ <li><a href="../Sprout/Concern.html">Sprout::Concern</a></li>
118
+
119
+ <li><a href="../Sprout/Errors.html">Sprout::Errors</a></li>
120
+
121
+ <li><a href="../Sprout/Errors/ArchiveUnpackerError.html">Sprout::Errors::ArchiveUnpackerError</a></li>
122
+
123
+ <li><a href="../Sprout/Errors/DestinationExistsError.html">Sprout::Errors::DestinationExistsError</a></li>
124
+
125
+ <li><a href="../Sprout/Errors/DuplicateMemberError.html">Sprout::Errors::DuplicateMemberError</a></li>
126
+
127
+ <li><a href="../Sprout/Errors/ExecutableError.html">Sprout::Errors::ExecutableError</a></li>
128
+
129
+ <li><a href="../Sprout/Errors/ExecutableRegistrationError.html">Sprout::Errors::ExecutableRegistrationError</a></li>
130
+
131
+ <li><a href="../Sprout/Errors/ExecutionError.html">Sprout::Errors::ExecutionError</a></li>
132
+
133
+ <li><a href="../Sprout/Errors/GeneratorError.html">Sprout::Errors::GeneratorError</a></li>
134
+
135
+ <li><a href="../Sprout/Errors/InvalidArgumentError.html">Sprout::Errors::InvalidArgumentError</a></li>
136
+
137
+ <li><a href="../Sprout/Errors/LoadError.html">Sprout::Errors::LoadError</a></li>
138
+
139
+ <li><a href="../Sprout/Errors/MissingArgumentError.html">Sprout::Errors::MissingArgumentError</a></li>
140
+
141
+ <li><a href="../Sprout/Errors/MissingExecutableError.html">Sprout::Errors::MissingExecutableError</a></li>
142
+
143
+ <li><a href="../Sprout/Errors/MissingGeneratorError.html">Sprout::Errors::MissingGeneratorError</a></li>
144
+
145
+ <li><a href="../Sprout/Errors/MissingTemplateError.html">Sprout::Errors::MissingTemplateError</a></li>
146
+
147
+ <li><a href="../Sprout/Errors/ProcessRunnerError.html">Sprout::Errors::ProcessRunnerError</a></li>
148
+
149
+ <li><a href="../Sprout/Errors/RemoteFileLoaderError.html">Sprout::Errors::RemoteFileLoaderError</a></li>
150
+
151
+ <li><a href="../Sprout/Errors/SproutError.html">Sprout::Errors::SproutError</a></li>
152
+
153
+ <li><a href="../Sprout/Errors/UnknownArchiveType.html">Sprout::Errors::UnknownArchiveType</a></li>
154
+
155
+ <li><a href="../Sprout/Errors/UsageError.html">Sprout::Errors::UsageError</a></li>
156
+
157
+ <li><a href="../Sprout/Errors/ValidationError.html">Sprout::Errors::ValidationError</a></li>
158
+
159
+ <li><a href="../Sprout/Errors/VersionRequirementNotMetError.html">Sprout::Errors::VersionRequirementNotMetError</a></li>
160
+
161
+ <li><a href="../Sprout/Executable.html">Sprout::Executable</a></li>
162
+
163
+ <li><a href="../Sprout/Executable/Boolean.html">Sprout::Executable::Boolean</a></li>
164
+
165
+ <li><a href="../Sprout/Executable/ClassMethods.html">Sprout::Executable::ClassMethods</a></li>
166
+
167
+ <li><a href="../Sprout/Executable/CollectionParam.html">Sprout::Executable::CollectionParam</a></li>
168
+
169
+ <li><a href="../Sprout/Executable/FileParam.html">Sprout::Executable::FileParam</a></li>
170
+
171
+ <li><a href="../Sprout/Executable/Files.html">Sprout::Executable::Files</a></li>
172
+
173
+ <li><a href="../Sprout/Executable/InstanceMethods.html">Sprout::Executable::InstanceMethods</a></li>
174
+
175
+ <li><a href="../Sprout/Executable/Number.html">Sprout::Executable::Number</a></li>
176
+
177
+ <li><a href="../Sprout/Executable/Param.html">Sprout::Executable::Param</a></li>
178
+
179
+ <li><a href="../Sprout/Executable/ParameterFactory.html">Sprout::Executable::ParameterFactory</a></li>
180
+
181
+ <li><a href="../Sprout/Executable/Path.html">Sprout::Executable::Path</a></li>
182
+
183
+ <li><a href="../Sprout/Executable/Paths.html">Sprout::Executable::Paths</a></li>
184
+
185
+ <li><a href="../Sprout/Executable/StringParam.html">Sprout::Executable::StringParam</a></li>
186
+
187
+ <li><a href="../Sprout/Executable/Strings.html">Sprout::Executable::Strings</a></li>
188
+
189
+ <li><a href="../Sprout/Executable/Url.html">Sprout::Executable::Url</a></li>
190
+
191
+ <li><a href="../Sprout/Executable/Urls.html">Sprout::Executable::Urls</a></li>
192
+
193
+ <li><a href="../Sprout/FileTarget.html">Sprout::FileTarget</a></li>
194
+
195
+ <li><a href="../Sprout/Generator.html">Sprout::Generator</a></li>
196
+
197
+ <li><a href="../Sprout/Generator/Base.html">Sprout::Generator::Base</a></li>
198
+
199
+ <li><a href="../Sprout/Generator/Command.html">Sprout::Generator::Command</a></li>
200
+
201
+ <li><a href="../Sprout/Generator/DirectoryManifest.html">Sprout::Generator::DirectoryManifest</a></li>
202
+
203
+ <li><a href="../Sprout/Generator/FileManifest.html">Sprout::Generator::FileManifest</a></li>
204
+
205
+ <li><a href="../Sprout/Generator/Manifest.html">Sprout::Generator::Manifest</a></li>
206
+
207
+ <li><a href="../Sprout/Generator/TemplateManifest.html">Sprout::Generator::TemplateManifest</a></li>
208
+
209
+ <li><a href="../Sprout/GeneratorGenerator.html">Sprout::GeneratorGenerator</a></li>
210
+
211
+ <li><a href="../Sprout/Library.html">Sprout::Library</a></li>
212
+
213
+ <li><a href="../Sprout/LibraryGenerator.html">Sprout::LibraryGenerator</a></li>
214
+
215
+ <li><a href="../Sprout/Platform.html">Sprout::Platform</a></li>
216
+
217
+ <li><a href="../Sprout/ProcessRunner.html">Sprout::ProcessRunner</a></li>
218
+
219
+ <li><a href="../Sprout/RDocParser.html">Sprout::RDocParser</a></li>
220
+
221
+ <li><a href="../Sprout/RemoteFileLoader.html">Sprout::RemoteFileLoader</a></li>
222
+
223
+ <li><a href="../Sprout/RemoteFileTarget.html">Sprout::RemoteFileTarget</a></li>
224
+
225
+ <li><a href="../Sprout/RubyFeature.html">Sprout::RubyFeature</a></li>
226
+
227
+ <li><a href="../Sprout/RubyFeature/ClassMethods.html">Sprout::RubyFeature::ClassMethods</a></li>
228
+
229
+ <li><a href="../Sprout/RubyGenerator.html">Sprout::RubyGenerator</a></li>
230
+
231
+ <li><a href="../Sprout/Specification.html">Sprout::Specification</a></li>
232
+
233
+ <li><a href="../Sprout/System.html">Sprout::System</a></li>
234
+
235
+ <li><a href="../Sprout/System/BaseSystem.html">Sprout::System::BaseSystem</a></li>
236
+
237
+ <li><a href="../Sprout/System/JavaSystem.html">Sprout::System::JavaSystem</a></li>
238
+
239
+ <li><a href="../Sprout/System/OSXSystem.html">Sprout::System::OSXSystem</a></li>
240
+
241
+ <li><a href="../Sprout/System/UnixSystem.html">Sprout::System::UnixSystem</a></li>
242
+
243
+ <li><a href="../Sprout/System/VistaSystem.html">Sprout::System::VistaSystem</a></li>
244
+
245
+ <li><a href="../Sprout/System/WinNixSystem.html">Sprout::System::WinNixSystem</a></li>
246
+
247
+ <li><a href="../Sprout/System/WinSystem.html">Sprout::System::WinSystem</a></li>
248
+
249
+ <li><a href="../Sprout/ToolGenerator.html">Sprout::ToolGenerator</a></li>
250
+
251
+ <li><a href="../<.html"><</a></li>
252
+
253
+ <li><a href="../Dir.html">Dir</a></li>
254
+
255
+ <li><a href="../Object.html">Object</a></li>
256
+
257
+ <li><a href="../String.html">String</a></li>
258
+
259
+ </ul>
260
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
261
+ </div>
262
+
263
+
264
+ </div>
265
+ </div>
266
+
267
+ <div id="documentation">
268
+ <h1 class="class">Sprout::FileTarget</h1>
269
+
270
+ <div id="description">
271
+ <p>
272
+ This is a class that is generally used by the
273
+ Sprout::Specification::add_file_target method.
274
+ </p>
275
+ <p>
276
+ File targets are files that are embedded into (or referred to by) a RubyGem
277
+ in such a way that Sprouts can use them as a library or executable.
278
+ </p>
279
+ <p>
280
+ A given <a href="FileTarget.html">FileTarget</a> may be configured to work
281
+ on a specific platform, or it may be universal.
282
+ </p>
283
+
284
+ </div>
285
+
286
+ <!-- Constants -->
287
+
288
+
289
+ <!-- Attributes -->
290
+
291
+ <div id="attribute-method-details" class="method-section section">
292
+ <h3 class="section-header">Attributes</h3>
293
+
294
+
295
+ <div id="load-path-attribute-method" class="method-detail">
296
+ <a name="load_path"></a>
297
+
298
+ <a name="load_path="></a>
299
+
300
+ <div class="method-heading attribute-method-heading">
301
+ <span class="method-name">load_path</span><span
302
+ class="attribute-access-type">[RW]</span>
303
+ </div>
304
+
305
+ <div class="method-description">
306
+
307
+
308
+
309
+ </div>
310
+ </div>
311
+
312
+ <div id="pkg-name-attribute-method" class="method-detail">
313
+ <a name="pkg_name"></a>
314
+
315
+ <a name="pkg_name="></a>
316
+
317
+ <div class="method-heading attribute-method-heading">
318
+ <span class="method-name">pkg_name</span><span
319
+ class="attribute-access-type">[RW]</span>
320
+ </div>
321
+
322
+ <div class="method-description">
323
+
324
+
325
+
326
+ </div>
327
+ </div>
328
+
329
+ <div id="pkg-version-attribute-method" class="method-detail">
330
+ <a name="pkg_version"></a>
331
+
332
+ <a name="pkg_version="></a>
333
+
334
+ <div class="method-heading attribute-method-heading">
335
+ <span class="method-name">pkg_version</span><span
336
+ class="attribute-access-type">[RW]</span>
337
+ </div>
338
+
339
+ <div class="method-description">
340
+
341
+
342
+
343
+ </div>
344
+ </div>
345
+
346
+ <div id="platform-attribute-method" class="method-detail">
347
+ <a name="platform"></a>
348
+
349
+ <a name="platform="></a>
350
+
351
+ <div class="method-heading attribute-method-heading">
352
+ <span class="method-name">platform</span><span
353
+ class="attribute-access-type">[RW]</span>
354
+ </div>
355
+
356
+ <div class="method-description">
357
+
358
+
359
+
360
+ </div>
361
+ </div>
362
+
363
+ <div id="executables-attribute-method" class="method-detail">
364
+ <a name="executables"></a>
365
+
366
+ <div class="method-heading attribute-method-heading">
367
+ <span class="method-name">executables</span><span
368
+ class="attribute-access-type">[R]</span>
369
+ </div>
370
+
371
+ <div class="method-description">
372
+
373
+
374
+
375
+ </div>
376
+ </div>
377
+
378
+ <div id="libraries-attribute-method" class="method-detail">
379
+ <a name="libraries"></a>
380
+
381
+ <div class="method-heading attribute-method-heading">
382
+ <span class="method-name">libraries</span><span
383
+ class="attribute-access-type">[R]</span>
384
+ </div>
385
+
386
+ <div class="method-description">
387
+
388
+
389
+
390
+ </div>
391
+ </div>
392
+
393
+ </div>
394
+
395
+
396
+ <!-- Methods -->
397
+
398
+ <div id="public-class-method-details" class="method-section section">
399
+ <h3 class="section-header">Public Class Methods</h3>
400
+
401
+
402
+ <div id="new-method" class="method-detail ">
403
+ <a name="method-c-new"></a>
404
+
405
+ <div class="method-heading">
406
+
407
+ <span class="method-name">new</span><span
408
+ class="method-args">()</span>
409
+ <span class="method-click-advice">click to toggle source</span>
410
+
411
+ </div>
412
+
413
+ <div class="method-description">
414
+
415
+
416
+
417
+
418
+
419
+ <div class="method-source-code"
420
+ id="new-source">
421
+ <pre>
422
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 22</span>
423
+ 22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
424
+ 23: <span class="ruby-ivar">@executables</span> = []
425
+ 24: <span class="ruby-ivar">@libraries</span> = []
426
+ 25: <span class="ruby-ivar">@load_path</span> = <span class="ruby-value str">'.'</span>
427
+ 26: <span class="ruby-ivar">@platform</span> = <span class="ruby-value">:universal</span>
428
+ 27: <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
429
+ 28: <span class="ruby-keyword kw">end</span></pre>
430
+ </div>
431
+
432
+ </div>
433
+
434
+
435
+
436
+
437
+ </div>
438
+
439
+
440
+ </div>
441
+
442
+ <div id="public-instance-method-details" class="method-section section">
443
+ <h3 class="section-header">Public Instance Methods</h3>
444
+
445
+
446
+ <div id="add-executable-method" class="method-detail ">
447
+ <a name="method-i-add_executable"></a>
448
+
449
+ <div class="method-heading">
450
+
451
+ <span class="method-name">add_executable</span><span
452
+ class="method-args">(name, path)</span>
453
+ <span class="method-click-advice">click to toggle source</span>
454
+
455
+ </div>
456
+
457
+ <div class="method-description">
458
+
459
+ <p>
460
+ Add an executable to the RubyGem package.
461
+ </p>
462
+ <p>
463
+ @name Symbol that will be used to retrieve this executable later. @target
464
+ The relative path to the executable that will be associated with this name.
465
+ </p>
466
+
467
+
468
+
469
+ <div class="method-source-code"
470
+ id="add-executable-source">
471
+ <pre>
472
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 56</span>
473
+ 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_executable</span> <span class="ruby-identifier">name</span>, <span class="ruby-identifier">path</span>
474
+ 57: <span class="ruby-identifier">path</span> = <span class="ruby-identifier">expand_executable_path</span> <span class="ruby-identifier">path</span>
475
+ 58: <span class="ruby-identifier">executables</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:path</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">path</span>, <span class="ruby-value">:file_target</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">self</span> )
476
+ 59: <span class="ruby-keyword kw">end</span></pre>
477
+ </div>
478
+
479
+ </div>
480
+
481
+
482
+
483
+
484
+ </div>
485
+
486
+
487
+ <div id="add-library-method" class="method-detail ">
488
+ <a name="method-i-add_library"></a>
489
+
490
+ <div class="method-heading">
491
+
492
+ <span class="method-name">add_library</span><span
493
+ class="method-args">(name, path)</span>
494
+ <span class="method-click-advice">click to toggle source</span>
495
+
496
+ </div>
497
+
498
+ <div class="method-description">
499
+
500
+ <p>
501
+ Add a library to the RubyGem package.
502
+ </p>
503
+ <p>
504
+ @name Symbol that will be used to retrieve this library later. @path File,
505
+ Path or Array of files that will be associated with this library and copied
506
+ to the target lib.
507
+ </p>
508
+ <p>
509
+ If the path is a directory, all files forward of that directory will be
510
+ copied into the RubyGem.
511
+ </p>
512
+
513
+
514
+
515
+ <div class="method-source-code"
516
+ id="add-library-source">
517
+ <pre>
518
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 40</span>
519
+ 40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_library</span> <span class="ruby-identifier">name</span>, <span class="ruby-identifier">path</span>
520
+ 41: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
521
+ 42: <span class="ruby-identifier">path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">expand_executable_path</span>(<span class="ruby-identifier">p</span>) }
522
+ 43: <span class="ruby-keyword kw">else</span>
523
+ 44: <span class="ruby-identifier">path</span> = <span class="ruby-identifier">expand_executable_path</span> <span class="ruby-identifier">path</span>
524
+ 45: <span class="ruby-keyword kw">end</span>
525
+ 46: <span class="ruby-identifier">libraries</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:path</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">path</span>, <span class="ruby-value">:file_target</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">self</span> )
526
+ 47: <span class="ruby-keyword kw">end</span></pre>
527
+ </div>
528
+
529
+ </div>
530
+
531
+
532
+
533
+
534
+ </div>
535
+
536
+
537
+ <div id="expand-executable-path-method" class="method-detail ">
538
+ <a name="method-i-expand_executable_path"></a>
539
+
540
+ <div class="method-heading">
541
+
542
+ <span class="method-name">expand_executable_path</span><span
543
+ class="method-args">(path)</span>
544
+ <span class="method-click-advice">click to toggle source</span>
545
+
546
+ </div>
547
+
548
+ <div class="method-description">
549
+
550
+
551
+
552
+
553
+
554
+ <div class="method-source-code"
555
+ id="expand-executable-path-source">
556
+ <pre>
557
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 70</span>
558
+ 70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_executable_path</span> <span class="ruby-identifier">path</span>
559
+ 71: <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span> <span class="ruby-identifier">load_path</span>, <span class="ruby-identifier">path</span>
560
+ 72: <span class="ruby-keyword kw">end</span></pre>
561
+ </div>
562
+
563
+ </div>
564
+
565
+
566
+
567
+
568
+ </div>
569
+
570
+
571
+ <div id="to-s-method" class="method-detail ">
572
+ <a name="method-i-to_s"></a>
573
+
574
+ <div class="method-heading">
575
+
576
+ <span class="method-name">to_s</span><span
577
+ class="method-args">()</span>
578
+ <span class="method-click-advice">click to toggle source</span>
579
+
580
+ </div>
581
+
582
+ <div class="method-description">
583
+
584
+
585
+
586
+
587
+
588
+ <div class="method-source-code"
589
+ id="to-s-source">
590
+ <pre>
591
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 61</span>
592
+ 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
593
+ 62: <span class="ruby-node">&quot;[FileTarget type=#{type} platform=#{platform}]&quot;</span>
594
+ 63: <span class="ruby-keyword kw">end</span></pre>
595
+ </div>
596
+
597
+ </div>
598
+
599
+
600
+
601
+
602
+ </div>
603
+
604
+
605
+ <div id="validate-method" class="method-detail ">
606
+ <a name="method-i-validate"></a>
607
+
608
+ <div class="method-heading">
609
+
610
+ <span class="method-name">validate</span><span
611
+ class="method-args">()</span>
612
+ <span class="method-click-advice">click to toggle source</span>
613
+
614
+ </div>
615
+
616
+ <div class="method-description">
617
+
618
+
619
+
620
+
621
+
622
+ <div class="method-source-code"
623
+ id="validate-source">
624
+ <pre>
625
+ <span class="ruby-comment cmt"># File lib/sprout/file_target.rb, line 65</span>
626
+ 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
627
+ 66: <span class="ruby-identifier">raise</span> <span class="ruby-constant">Sprout</span><span class="ruby-operator">::</span><span class="ruby-constant">Errors</span><span class="ruby-operator">::</span><span class="ruby-constant">UsageError</span>.<span class="ruby-identifier">new</span> <span class="ruby-value str">&quot;FileTarget.pkg_name is required&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pkg_name</span>.<span class="ruby-identifier">nil?</span>
628
+ 67: <span class="ruby-identifier">raise</span> <span class="ruby-constant">Sprout</span><span class="ruby-operator">::</span><span class="ruby-constant">Errors</span><span class="ruby-operator">::</span><span class="ruby-constant">UsageError</span>.<span class="ruby-identifier">new</span> <span class="ruby-value str">&quot;FileTarget.pkg_version is required&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">pkg_version</span>.<span class="ruby-identifier">nil?</span>
629
+ 68: <span class="ruby-keyword kw">end</span></pre>
630
+ </div>
631
+
632
+ </div>
633
+
634
+
635
+
636
+
637
+ </div>
638
+
639
+
640
+ </div>
641
+
642
+
643
+ </div>
644
+
645
+
646
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
647
+
648
+ <p>Disabled; run with --debug to generate this.</p>
649
+
650
+ </div>
651
+
652
+ <div id="validator-badges">
653
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
654
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
655
+ Rdoc Generator</a> 1.1.6</small>.</p>
656
+ </div>
657
+
658
+ </body>
659
+ </html>
660
+