sprout 1.1.17.pre → 1.1.18.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 (111) hide show
  1. data/VERSION +1 -1
  2. data/doc/Dir.html +313 -0
  3. data/doc/Rake/Task.html +206 -0
  4. data/doc/Sprout.html +778 -0
  5. data/doc/Sprout/ArchiveUnpacker.html +1313 -0
  6. data/doc/Sprout/CommandLine.html +521 -0
  7. data/doc/Sprout/Concern.html +382 -0
  8. data/doc/Sprout/Errors.html +120 -0
  9. data/doc/Sprout/Errors/ArchiveUnpackerError.html +139 -0
  10. data/doc/Sprout/Errors/DestinationExistsError.html +143 -0
  11. data/doc/Sprout/Errors/DuplicateMemberError.html +142 -0
  12. data/doc/Sprout/Errors/ExecutableError.html +139 -0
  13. data/doc/Sprout/Errors/ExecutableRegistrationError.html +142 -0
  14. data/doc/Sprout/Errors/ExecutionError.html +135 -0
  15. data/doc/Sprout/Errors/GeneratorError.html +139 -0
  16. data/doc/Sprout/Errors/InvalidArgumentError.html +142 -0
  17. data/doc/Sprout/Errors/LoadError.html +135 -0
  18. data/doc/Sprout/Errors/MissingArgumentError.html +142 -0
  19. data/doc/Sprout/Errors/MissingExecutableError.html +142 -0
  20. data/doc/Sprout/Errors/MissingGeneratorError.html +142 -0
  21. data/doc/Sprout/Errors/MissingTemplateError.html +142 -0
  22. data/doc/Sprout/Errors/ProcessRunnerError.html +135 -0
  23. data/doc/Sprout/Errors/RemoteFileLoaderError.html +128 -0
  24. data/doc/Sprout/Errors/SproutError.html +132 -0
  25. data/doc/Sprout/Errors/UnknownArchiveType.html +136 -0
  26. data/doc/Sprout/Errors/UsageError.html +135 -0
  27. data/doc/Sprout/Errors/ValidationError.html +135 -0
  28. data/doc/Sprout/Errors/VersionRequirementNotMetError.html +135 -0
  29. data/doc/Sprout/Executable.html +183 -0
  30. data/doc/Sprout/Executable/Base.html +2986 -0
  31. data/doc/Sprout/Executable/Boolean.html +577 -0
  32. data/doc/Sprout/Executable/CollectionParam.html +521 -0
  33. data/doc/Sprout/Executable/FileParam.html +517 -0
  34. data/doc/Sprout/Executable/Files.html +311 -0
  35. data/doc/Sprout/Executable/Number.html +164 -0
  36. data/doc/Sprout/Executable/Param.html +3011 -0
  37. data/doc/Sprout/Executable/ParameterFactory.html +262 -0
  38. data/doc/Sprout/Executable/Path.html +247 -0
  39. data/doc/Sprout/Executable/Paths.html +268 -0
  40. data/doc/Sprout/Executable/Session.html +1587 -0
  41. data/doc/Sprout/Executable/StringParam.html +237 -0
  42. data/doc/Sprout/Executable/Strings.html +186 -0
  43. data/doc/Sprout/Executable/Url.html +180 -0
  44. data/doc/Sprout/Executable/Urls.html +185 -0
  45. data/doc/Sprout/FileTarget.html +1170 -0
  46. data/doc/Sprout/Generator.html +800 -0
  47. data/doc/Sprout/Generator/Base.html +1834 -0
  48. data/doc/Sprout/Generator/Command.html +716 -0
  49. data/doc/Sprout/Generator/DirectoryManifest.html +503 -0
  50. data/doc/Sprout/Generator/FileManifest.html +667 -0
  51. data/doc/Sprout/Generator/Manifest.html +403 -0
  52. data/doc/Sprout/Generator/TemplateManifest.html +213 -0
  53. data/doc/Sprout/GeneratorGenerator.html +990 -0
  54. data/doc/Sprout/Library.html +1259 -0
  55. data/doc/Sprout/LibraryGenerator.html +326 -0
  56. data/doc/Sprout/OutputBuffer.html +461 -0
  57. data/doc/Sprout/Platform.html +758 -0
  58. data/doc/Sprout/ProcessRunner.html +1801 -0
  59. data/doc/Sprout/ProgressBar.html +384 -0
  60. data/doc/Sprout/ProgressBarImpl.html +2151 -0
  61. data/doc/Sprout/ProgressBarManager.html +443 -0
  62. data/doc/Sprout/ProgressBarOutputStream.html +429 -0
  63. data/doc/Sprout/RDocParser.html +228 -0
  64. data/doc/Sprout/RemoteFileLoader.html +191 -0
  65. data/doc/Sprout/RemoteFileTarget.html +710 -0
  66. data/doc/Sprout/ReversedProgressBar.html +200 -0
  67. data/doc/Sprout/RubyFeature.html +176 -0
  68. data/doc/Sprout/RubyFeature/ClassMethods.html +1099 -0
  69. data/doc/Sprout/RubyGenerator.html +712 -0
  70. data/doc/Sprout/Specification.html +838 -0
  71. data/doc/Sprout/System.html +212 -0
  72. data/doc/Sprout/System/BaseSystem.html +1732 -0
  73. data/doc/Sprout/System/JavaSystem.html +137 -0
  74. data/doc/Sprout/System/OSXSystem.html +345 -0
  75. data/doc/Sprout/System/ThreadMock.html +201 -0
  76. data/doc/Sprout/System/UnixSystem.html +610 -0
  77. data/doc/Sprout/System/VistaSystem.html +263 -0
  78. data/doc/Sprout/System/WinNixSystem.html +340 -0
  79. data/doc/Sprout/System/WinSystem.html +590 -0
  80. data/doc/Sprout/TestHelper.html +2280 -0
  81. data/doc/Sprout/ToolGenerator.html +995 -0
  82. data/doc/Sprout/VERSION.html +135 -0
  83. data/doc/String.html +313 -0
  84. data/doc/_index.html +829 -0
  85. data/doc/class_list.html +47 -0
  86. data/doc/css/common.css +1 -0
  87. data/doc/css/full_list.css +55 -0
  88. data/doc/css/style.css +322 -0
  89. data/doc/file.README.html +109 -0
  90. data/doc/file_list.html +49 -0
  91. data/doc/frames.html +13 -0
  92. data/doc/index.html +109 -0
  93. data/doc/js/app.js +205 -0
  94. data/doc/js/full_list.js +173 -0
  95. data/doc/js/jquery.js +16 -0
  96. data/doc/method_list.html +3622 -0
  97. data/doc/top-level-namespace.html +220 -0
  98. data/lib/sprout/generators/generator/generator_generator.rb +3 -3
  99. data/lib/sprout/generators/generator/templates/{generator_class.rb → generator_class.erb} +0 -0
  100. data/lib/sprout/generators/generator/templates/{generator_test.rb → generator_test.erb} +0 -0
  101. data/lib/sprout/generators/generator/templates/{generator_test_helper.rb → generator_test_helper.erb} +0 -0
  102. data/lib/sprout/generators/library/library_generator.rb +1 -1
  103. data/lib/sprout/generators/library/templates/{library.rb → library.erb} +0 -0
  104. data/lib/sprout/generators/ruby/ruby_generator.rb +4 -5
  105. data/lib/sprout/generators/ruby/templates/{ruby_base.rb → ruby_base.erb} +0 -0
  106. data/lib/sprout/generators/ruby/templates/{ruby_input.rb → ruby_input.erb} +0 -0
  107. data/lib/sprout/generators/ruby/templates/{ruby_test_case.rb → ruby_test_case.erb} +0 -0
  108. data/lib/sprout/generators/ruby/templates/{ruby_test_helper.rb → ruby_test_helper.erb} +0 -0
  109. data/lib/sprout/generators/tool/templates/{tool.rb → tool.erb} +0 -2
  110. data/lib/sprout/generators/tool/tool_generator.rb +1 -1
  111. metadata +128 -32
@@ -0,0 +1,263 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Sprout::System::VistaSystem
8
+
9
+ &mdash; Sprouts v.1.0.34.pre
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '../..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../../_index.html">Index (V)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../../Sprout.html" title="Sprout (module)">Sprout</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../System.html" title="Sprout::System (module)">System</a></span></span>
38
+ &raquo;
39
+ <span class="title">VistaSystem</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Sprout::System::VistaSystem
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName"><span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next"><span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></li>
77
+
78
+ <li class="next">Sprout::System::VistaSystem</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/sprout/system/vista_system.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+ <h2>Constant Summary</h2>
101
+
102
+
103
+
104
+
105
+ <h2>Constant Summary</h2>
106
+
107
+ <h3 class="inherited">Constants inherited
108
+ from <span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></h3>
109
+ <p class="inherited"><span class='object_link'><a href="WinSystem.html#APPLICATION_DATA-constant" title="Sprout::System::WinSystem::APPLICATION_DATA (constant)">WinSystem::APPLICATION_DATA</a></span>, <span class='object_link'><a href="WinSystem.html#LOCAL_SETTINGS-constant" title="Sprout::System::WinSystem::LOCAL_SETTINGS (constant)">WinSystem::LOCAL_SETTINGS</a></span></p>
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <h2>
117
+ Instance Method Summary
118
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
119
+ </h2>
120
+
121
+ <ul class="summary">
122
+
123
+ <li class="public ">
124
+ <span class="summary_signature">
125
+
126
+ <a href="#env_userprofile-instance_method" title="#env_userprofile (instance method)">- (Object) <strong>env_userprofile</strong> </a>
127
+
128
+
129
+
130
+ </span>
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <span class="summary_desc"><div class='inline'></div></span>
140
+
141
+ </li>
142
+
143
+
144
+ <li class="public ">
145
+ <span class="summary_signature">
146
+
147
+ <a href="#find_home-instance_method" title="#find_home (instance method)">- (Object) <strong>find_home</strong> </a>
148
+
149
+
150
+
151
+ </span>
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+ <span class="summary_desc"><div class='inline'></div></span>
161
+
162
+ </li>
163
+
164
+
165
+ </ul>
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></h3>
177
+ <p class="inherited"><span class='object_link'><a href="WinSystem.html#can_execute%3F-instance_method" title="Sprout::System::WinSystem#can_execute? (method)">#can_execute?</a></span>, <span class='object_link'><a href="WinSystem.html#clean_path-instance_method" title="Sprout::System::WinSystem#clean_path (method)">#clean_path</a></span>, <span class='object_link'><a href="WinSystem.html#format_application_name-instance_method" title="Sprout::System::WinSystem#format_application_name (method)">#format_application_name</a></span>, <span class='object_link'><a href="WinSystem.html#get_and_execute_process_runner-instance_method" title="Sprout::System::WinSystem#get_and_execute_process_runner (method)">#get_and_execute_process_runner</a></span>, <span class='object_link'><a href="WinSystem.html#get_paths-instance_method" title="Sprout::System::WinSystem#get_paths (method)">#get_paths</a></span>, <span class='object_link'><a href="WinSystem.html#home-instance_method" title="Sprout::System::WinSystem#home (method)">#home</a></span>, <span class='object_link'><a href="WinSystem.html#library-instance_method" title="Sprout::System::WinSystem#library (method)">#library</a></span></p>
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></h3>
187
+ <p class="inherited"><span class='object_link'><a href="BaseSystem.html#alt_separator%3F-instance_method" title="Sprout::System::BaseSystem#alt_separator? (method)">#alt_separator?</a></span>, <span class='object_link'><a href="BaseSystem.html#application_home-instance_method" title="Sprout::System::BaseSystem#application_home (method)">#application_home</a></span>, <span class='object_link'><a href="BaseSystem.html#can_execute%3F-instance_method" title="Sprout::System::BaseSystem#can_execute? (method)">#can_execute?</a></span>, <span class='object_link'><a href="BaseSystem.html#clean_path-instance_method" title="Sprout::System::BaseSystem#clean_path (method)">#clean_path</a></span>, <span class='object_link'><a href="BaseSystem.html#env_home-instance_method" title="Sprout::System::BaseSystem#env_home (method)">#env_home</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homedrive-instance_method" title="Sprout::System::BaseSystem#env_homedrive (method)">#env_homedrive</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homedrive_and_homepath-instance_method" title="Sprout::System::BaseSystem#env_homedrive_and_homepath (method)">#env_homedrive_and_homepath</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homepath-instance_method" title="Sprout::System::BaseSystem#env_homepath (method)">#env_homepath</a></span>, <span class='object_link'><a href="BaseSystem.html#execute-instance_method" title="Sprout::System::BaseSystem#execute (method)">#execute</a></span>, <span class='object_link'><a href="BaseSystem.html#execute_silent-instance_method" title="Sprout::System::BaseSystem#execute_silent (method)">#execute_silent</a></span>, <span class='object_link'><a href="BaseSystem.html#execute_thread-instance_method" title="Sprout::System::BaseSystem#execute_thread (method)">#execute_thread</a></span>, <span class='object_link'><a href="BaseSystem.html#format_application_name-instance_method" title="Sprout::System::BaseSystem#format_application_name (method)">#format_application_name</a></span>, <span class='object_link'><a href="BaseSystem.html#get_and_execute_process_runner-instance_method" title="Sprout::System::BaseSystem#get_and_execute_process_runner (method)">#get_and_execute_process_runner</a></span>, <span class='object_link'><a href="BaseSystem.html#get_process_runner-instance_method" title="Sprout::System::BaseSystem#get_process_runner (method)">#get_process_runner</a></span>, <span class='object_link'><a href="BaseSystem.html#home-instance_method" title="Sprout::System::BaseSystem#home (method)">#home</a></span>, <span class='object_link'><a href="BaseSystem.html#home%3D-instance_method" title="Sprout::System::BaseSystem#home= (method)">#home=</a></span>, <span class='object_link'><a href="BaseSystem.html#library-instance_method" title="Sprout::System::BaseSystem#library (method)">#library</a></span>, <span class='object_link'><a href="BaseSystem.html#read_from-instance_method" title="Sprout::System::BaseSystem#read_from (method)">#read_from</a></span>, <span class='object_link'><a href="BaseSystem.html#tilde_home-instance_method" title="Sprout::System::BaseSystem#tilde_home (method)">#tilde_home</a></span>, <span class='object_link'><a href="BaseSystem.html#worst_case_home-instance_method" title="Sprout::System::BaseSystem#worst_case_home (method)">#worst_case_home</a></span></p>
188
+
189
+
190
+ <div id="instance_method_details" class="method_details_list">
191
+ <h2>Instance Method Details</h2>
192
+
193
+
194
+ <div class="method_details first">
195
+ <p class="signature first" id="env_userprofile-instance_method">
196
+
197
+ - (<tt>Object</tt>) <strong>env_userprofile</strong>
198
+
199
+
200
+
201
+ </p><table class="source_code">
202
+ <tr>
203
+ <td>
204
+ <pre class="lines">
205
+
206
+
207
+ 11
208
+ 12
209
+ 13</pre>
210
+ </td>
211
+ <td>
212
+ <pre class="code"><span class="info file"># File 'lib/sprout/system/vista_system.rb', line 11</span>
213
+
214
+ <span class='kw'>def</span> <span class='id identifier rubyid_env_userprofile'>env_userprofile</span>
215
+ <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>USERPROFILE</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
216
+ <span class='kw'>end</span></pre>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+
222
+ <div class="method_details ">
223
+ <p class="signature " id="find_home-instance_method">
224
+
225
+ - (<tt>Object</tt>) <strong>find_home</strong>
226
+
227
+
228
+
229
+ </p><table class="source_code">
230
+ <tr>
231
+ <td>
232
+ <pre class="lines">
233
+
234
+
235
+ 6
236
+ 7
237
+ 8
238
+ 9</pre>
239
+ </td>
240
+ <td>
241
+ <pre class="code"><span class="info file"># File 'lib/sprout/system/vista_system.rb', line 6</span>
242
+
243
+ <span class='kw'>def</span> <span class='id identifier rubyid_find_home'>find_home</span>
244
+ <span class='kw'>return</span> <span class='id identifier rubyid_env_userprofile'>env_userprofile</span> <span class='kw'>unless</span> <span class='id identifier rubyid_env_userprofile'>env_userprofile</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
245
+ <span class='kw'>super</span>
246
+ <span class='kw'>end</span></pre>
247
+ </td>
248
+ </tr>
249
+ </table>
250
+ </div>
251
+
252
+ </div>
253
+
254
+ </div>
255
+
256
+ <div id="footer">
257
+ Generated on Sun Mar 11 14:30:34 2012 by
258
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
259
+ 0.7.5 (ruby-1.9.2).
260
+ </div>
261
+
262
+ </body>
263
+ </html>
@@ -0,0 +1,340 @@
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Sprout::System::WinNixSystem
8
+
9
+ &mdash; Sprouts v.1.0.34.pre
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '../..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../../_index.html">Index (W)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../../Sprout.html" title="Sprout (module)">Sprout</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../System.html" title="Sprout::System (module)">System</a></span></span>
38
+ &raquo;
39
+ <span class="title">WinNixSystem</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Sprout::System::WinNixSystem
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName"><span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next"><span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></li>
77
+
78
+ <li class="next">Sprout::System::WinNixSystem</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/sprout/system/win_nix_system.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+ <h2>Overview</h2><div class="docstring">
100
+ <div class="discussion">
101
+ <p>
102
+ The concrete system for Cygwin and Mingw We can&#8217;t quite treat these
103
+ users like a typical *nix system, but we can&#8217;t quite treat them like
104
+ Windows users either.
105
+ </p>
106
+ <p>
107
+ One great thing about these users, is that we get to use real processes,
108
+ rather than the broken processes that windows normally offers.
109
+ </p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+ <h2>Constant Summary</h2>
119
+
120
+
121
+
122
+
123
+ <h2>Constant Summary</h2>
124
+
125
+ <h3 class="inherited">Constants inherited
126
+ from <span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></h3>
127
+ <p class="inherited"><span class='object_link'><a href="WinSystem.html#APPLICATION_DATA-constant" title="Sprout::System::WinSystem::APPLICATION_DATA (constant)">Sprout::System::WinSystem::APPLICATION_DATA</a></span>, <span class='object_link'><a href="WinSystem.html#LOCAL_SETTINGS-constant" title="Sprout::System::WinSystem::LOCAL_SETTINGS (constant)">Sprout::System::WinSystem::LOCAL_SETTINGS</a></span></p>
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <h2>
135
+ Instance Method Summary
136
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
137
+ </h2>
138
+
139
+ <ul class="summary">
140
+
141
+ <li class="public ">
142
+ <span class="summary_signature">
143
+
144
+ <a href="#home-instance_method" title="#home (instance method)">- (Object) <strong>home</strong> </a>
145
+
146
+
147
+
148
+ </span>
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+ <span class="summary_desc"><div class='inline'></div></span>
158
+
159
+ </li>
160
+
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#win_home-instance_method" title="#win_home (instance method)">- (Object) <strong>win_home</strong> </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+ <span class="summary_desc"><div class='inline'></div></span>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="public ">
184
+ <span class="summary_signature">
185
+
186
+ <a href="#win_nix_home-instance_method" title="#win_nix_home (instance method)">- (Object) <strong>win_nix_home</strong> </a>
187
+
188
+
189
+
190
+ </span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <span class="summary_desc"><div class='inline'></div></span>
200
+
201
+ </li>
202
+
203
+
204
+ </ul>
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="WinSystem.html" title="Sprout::System::WinSystem (class)">WinSystem</a></span></h3>
216
+ <p class="inherited"><span class='object_link'><a href="WinSystem.html#can_execute%3F-instance_method" title="Sprout::System::WinSystem#can_execute? (method)">#can_execute?</a></span>, <span class='object_link'><a href="WinSystem.html#clean_path-instance_method" title="Sprout::System::WinSystem#clean_path (method)">#clean_path</a></span>, <span class='object_link'><a href="WinSystem.html#format_application_name-instance_method" title="Sprout::System::WinSystem#format_application_name (method)">#format_application_name</a></span>, <span class='object_link'><a href="WinSystem.html#get_and_execute_process_runner-instance_method" title="Sprout::System::WinSystem#get_and_execute_process_runner (method)">#get_and_execute_process_runner</a></span>, <span class='object_link'><a href="WinSystem.html#get_paths-instance_method" title="Sprout::System::WinSystem#get_paths (method)">#get_paths</a></span>, <span class='object_link'><a href="WinSystem.html#library-instance_method" title="Sprout::System::WinSystem#library (method)">#library</a></span></p>
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></h3>
226
+ <p class="inherited"><span class='object_link'><a href="BaseSystem.html#alt_separator%3F-instance_method" title="Sprout::System::BaseSystem#alt_separator? (method)">#alt_separator?</a></span>, <span class='object_link'><a href="BaseSystem.html#application_home-instance_method" title="Sprout::System::BaseSystem#application_home (method)">#application_home</a></span>, <span class='object_link'><a href="BaseSystem.html#can_execute%3F-instance_method" title="Sprout::System::BaseSystem#can_execute? (method)">#can_execute?</a></span>, <span class='object_link'><a href="BaseSystem.html#clean_path-instance_method" title="Sprout::System::BaseSystem#clean_path (method)">#clean_path</a></span>, <span class='object_link'><a href="BaseSystem.html#env_home-instance_method" title="Sprout::System::BaseSystem#env_home (method)">#env_home</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homedrive-instance_method" title="Sprout::System::BaseSystem#env_homedrive (method)">#env_homedrive</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homedrive_and_homepath-instance_method" title="Sprout::System::BaseSystem#env_homedrive_and_homepath (method)">#env_homedrive_and_homepath</a></span>, <span class='object_link'><a href="BaseSystem.html#env_homepath-instance_method" title="Sprout::System::BaseSystem#env_homepath (method)">#env_homepath</a></span>, <span class='object_link'><a href="BaseSystem.html#env_userprofile-instance_method" title="Sprout::System::BaseSystem#env_userprofile (method)">#env_userprofile</a></span>, <span class='object_link'><a href="BaseSystem.html#execute-instance_method" title="Sprout::System::BaseSystem#execute (method)">#execute</a></span>, <span class='object_link'><a href="BaseSystem.html#execute_silent-instance_method" title="Sprout::System::BaseSystem#execute_silent (method)">#execute_silent</a></span>, <span class='object_link'><a href="BaseSystem.html#execute_thread-instance_method" title="Sprout::System::BaseSystem#execute_thread (method)">#execute_thread</a></span>, <span class='object_link'><a href="BaseSystem.html#find_home-instance_method" title="Sprout::System::BaseSystem#find_home (method)">#find_home</a></span>, <span class='object_link'><a href="BaseSystem.html#format_application_name-instance_method" title="Sprout::System::BaseSystem#format_application_name (method)">#format_application_name</a></span>, <span class='object_link'><a href="BaseSystem.html#get_and_execute_process_runner-instance_method" title="Sprout::System::BaseSystem#get_and_execute_process_runner (method)">#get_and_execute_process_runner</a></span>, <span class='object_link'><a href="BaseSystem.html#get_process_runner-instance_method" title="Sprout::System::BaseSystem#get_process_runner (method)">#get_process_runner</a></span>, <span class='object_link'><a href="BaseSystem.html#home%3D-instance_method" title="Sprout::System::BaseSystem#home= (method)">#home=</a></span>, <span class='object_link'><a href="BaseSystem.html#library-instance_method" title="Sprout::System::BaseSystem#library (method)">#library</a></span>, <span class='object_link'><a href="BaseSystem.html#read_from-instance_method" title="Sprout::System::BaseSystem#read_from (method)">#read_from</a></span>, <span class='object_link'><a href="BaseSystem.html#tilde_home-instance_method" title="Sprout::System::BaseSystem#tilde_home (method)">#tilde_home</a></span>, <span class='object_link'><a href="BaseSystem.html#worst_case_home-instance_method" title="Sprout::System::BaseSystem#worst_case_home (method)">#worst_case_home</a></span></p>
227
+
228
+
229
+ <div id="instance_method_details" class="method_details_list">
230
+ <h2>Instance Method Details</h2>
231
+
232
+
233
+ <div class="method_details first">
234
+ <p class="signature first" id="home-instance_method">
235
+
236
+ - (<tt>Object</tt>) <strong>home</strong>
237
+
238
+
239
+
240
+ </p><table class="source_code">
241
+ <tr>
242
+ <td>
243
+ <pre class="lines">
244
+
245
+
246
+ 19
247
+ 20
248
+ 21</pre>
249
+ </td>
250
+ <td>
251
+ <pre class="code"><span class="info file"># File 'lib/sprout/system/win_nix_system.rb', line 19</span>
252
+
253
+ <span class='kw'>def</span> <span class='id identifier rubyid_home'>home</span>
254
+ <span class='ivar'>@home</span> <span class='op'>||=</span> <span class='id identifier rubyid_win_nix_home'>win_nix_home</span>
255
+ <span class='kw'>end</span></pre>
256
+ </td>
257
+ </tr>
258
+ </table>
259
+ </div>
260
+
261
+ <div class="method_details ">
262
+ <p class="signature " id="win_home-instance_method">
263
+
264
+ - (<tt>Object</tt>) <strong>win_home</strong>
265
+
266
+
267
+
268
+ </p><table class="source_code">
269
+ <tr>
270
+ <td>
271
+ <pre class="lines">
272
+
273
+
274
+ 15
275
+ 16
276
+ 17</pre>
277
+ </td>
278
+ <td>
279
+ <pre class="code"><span class="info file"># File 'lib/sprout/system/win_nix_system.rb', line 15</span>
280
+
281
+ <span class='kw'>def</span> <span class='id identifier rubyid_win_home'>win_home</span>
282
+ <span class='ivar'>@win_home</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>HOMEDRIVE</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>HOMEPATH</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
283
+ <span class='kw'>end</span></pre>
284
+ </td>
285
+ </tr>
286
+ </table>
287
+ </div>
288
+
289
+ <div class="method_details ">
290
+ <p class="signature " id="win_nix_home-instance_method">
291
+
292
+ - (<tt>Object</tt>) <strong>win_nix_home</strong>
293
+
294
+
295
+
296
+ </p><table class="source_code">
297
+ <tr>
298
+ <td>
299
+ <pre class="lines">
300
+
301
+
302
+ 23
303
+ 24
304
+ 25
305
+ 26
306
+ 27
307
+ 28
308
+ 29
309
+ 30
310
+ 31</pre>
311
+ </td>
312
+ <td>
313
+ <pre class="code"><span class="info file"># File 'lib/sprout/system/win_nix_system.rb', line 23</span>
314
+
315
+ <span class='kw'>def</span> <span class='id identifier rubyid_win_nix_home'>win_nix_home</span>
316
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='id identifier rubyid_win_home'>win_home</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>\\</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
317
+ <span class='kw'>return</span> <span class='id identifier rubyid_path'>path</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
318
+
319
+ <span class='id identifier rubyid_parts'>parts</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
320
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='id identifier rubyid_parts'>parts</span><span class='period'>.</span><span class='id identifier rubyid_shift'>shift</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_parts'>parts</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
321
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>:</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
322
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/cygdrive/</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_path'>path</span>
323
+ <span class='kw'>end</span></pre>
324
+ </td>
325
+ </tr>
326
+ </table>
327
+ </div>
328
+
329
+ </div>
330
+
331
+ </div>
332
+
333
+ <div id="footer">
334
+ Generated on Sun Mar 11 14:30:34 2012 by
335
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
336
+ 0.7.5 (ruby-1.9.2).
337
+ </div>
338
+
339
+ </body>
340
+ </html>