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