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.
- data/VERSION +1 -1
- data/doc/Dir.html +313 -0
- data/doc/Rake/Task.html +206 -0
- data/doc/Sprout.html +778 -0
- data/doc/Sprout/ArchiveUnpacker.html +1313 -0
- data/doc/Sprout/CommandLine.html +521 -0
- data/doc/Sprout/Concern.html +382 -0
- data/doc/Sprout/Errors.html +120 -0
- data/doc/Sprout/Errors/ArchiveUnpackerError.html +139 -0
- data/doc/Sprout/Errors/DestinationExistsError.html +143 -0
- data/doc/Sprout/Errors/DuplicateMemberError.html +142 -0
- data/doc/Sprout/Errors/ExecutableError.html +139 -0
- data/doc/Sprout/Errors/ExecutableRegistrationError.html +142 -0
- data/doc/Sprout/Errors/ExecutionError.html +135 -0
- data/doc/Sprout/Errors/GeneratorError.html +139 -0
- data/doc/Sprout/Errors/InvalidArgumentError.html +142 -0
- data/doc/Sprout/Errors/LoadError.html +135 -0
- data/doc/Sprout/Errors/MissingArgumentError.html +142 -0
- data/doc/Sprout/Errors/MissingExecutableError.html +142 -0
- data/doc/Sprout/Errors/MissingGeneratorError.html +142 -0
- data/doc/Sprout/Errors/MissingTemplateError.html +142 -0
- data/doc/Sprout/Errors/ProcessRunnerError.html +135 -0
- data/doc/Sprout/Errors/RemoteFileLoaderError.html +128 -0
- data/doc/Sprout/Errors/SproutError.html +132 -0
- data/doc/Sprout/Errors/UnknownArchiveType.html +136 -0
- data/doc/Sprout/Errors/UsageError.html +135 -0
- data/doc/Sprout/Errors/ValidationError.html +135 -0
- data/doc/Sprout/Errors/VersionRequirementNotMetError.html +135 -0
- data/doc/Sprout/Executable.html +183 -0
- data/doc/Sprout/Executable/Base.html +2986 -0
- data/doc/Sprout/Executable/Boolean.html +577 -0
- data/doc/Sprout/Executable/CollectionParam.html +521 -0
- data/doc/Sprout/Executable/FileParam.html +517 -0
- data/doc/Sprout/Executable/Files.html +311 -0
- data/doc/Sprout/Executable/Number.html +164 -0
- data/doc/Sprout/Executable/Param.html +3011 -0
- data/doc/Sprout/Executable/ParameterFactory.html +262 -0
- data/doc/Sprout/Executable/Path.html +247 -0
- data/doc/Sprout/Executable/Paths.html +268 -0
- data/doc/Sprout/Executable/Session.html +1587 -0
- data/doc/Sprout/Executable/StringParam.html +237 -0
- data/doc/Sprout/Executable/Strings.html +186 -0
- data/doc/Sprout/Executable/Url.html +180 -0
- data/doc/Sprout/Executable/Urls.html +185 -0
- data/doc/Sprout/FileTarget.html +1170 -0
- data/doc/Sprout/Generator.html +800 -0
- data/doc/Sprout/Generator/Base.html +1834 -0
- data/doc/Sprout/Generator/Command.html +716 -0
- data/doc/Sprout/Generator/DirectoryManifest.html +503 -0
- data/doc/Sprout/Generator/FileManifest.html +667 -0
- data/doc/Sprout/Generator/Manifest.html +403 -0
- data/doc/Sprout/Generator/TemplateManifest.html +213 -0
- data/doc/Sprout/GeneratorGenerator.html +990 -0
- data/doc/Sprout/Library.html +1259 -0
- data/doc/Sprout/LibraryGenerator.html +326 -0
- data/doc/Sprout/OutputBuffer.html +461 -0
- data/doc/Sprout/Platform.html +758 -0
- data/doc/Sprout/ProcessRunner.html +1801 -0
- data/doc/Sprout/ProgressBar.html +384 -0
- data/doc/Sprout/ProgressBarImpl.html +2151 -0
- data/doc/Sprout/ProgressBarManager.html +443 -0
- data/doc/Sprout/ProgressBarOutputStream.html +429 -0
- data/doc/Sprout/RDocParser.html +228 -0
- data/doc/Sprout/RemoteFileLoader.html +191 -0
- data/doc/Sprout/RemoteFileTarget.html +710 -0
- data/doc/Sprout/ReversedProgressBar.html +200 -0
- data/doc/Sprout/RubyFeature.html +176 -0
- data/doc/Sprout/RubyFeature/ClassMethods.html +1099 -0
- data/doc/Sprout/RubyGenerator.html +712 -0
- data/doc/Sprout/Specification.html +838 -0
- data/doc/Sprout/System.html +212 -0
- data/doc/Sprout/System/BaseSystem.html +1732 -0
- data/doc/Sprout/System/JavaSystem.html +137 -0
- data/doc/Sprout/System/OSXSystem.html +345 -0
- data/doc/Sprout/System/ThreadMock.html +201 -0
- data/doc/Sprout/System/UnixSystem.html +610 -0
- data/doc/Sprout/System/VistaSystem.html +263 -0
- data/doc/Sprout/System/WinNixSystem.html +340 -0
- data/doc/Sprout/System/WinSystem.html +590 -0
- data/doc/Sprout/TestHelper.html +2280 -0
- data/doc/Sprout/ToolGenerator.html +995 -0
- data/doc/Sprout/VERSION.html +135 -0
- data/doc/String.html +313 -0
- data/doc/_index.html +829 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +109 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +109 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +3622 -0
- data/doc/top-level-namespace.html +220 -0
- data/lib/sprout/generators/generator/generator_generator.rb +3 -3
- data/lib/sprout/generators/generator/templates/{generator_class.rb → generator_class.erb} +0 -0
- data/lib/sprout/generators/generator/templates/{generator_test.rb → generator_test.erb} +0 -0
- data/lib/sprout/generators/generator/templates/{generator_test_helper.rb → generator_test_helper.erb} +0 -0
- data/lib/sprout/generators/library/library_generator.rb +1 -1
- data/lib/sprout/generators/library/templates/{library.rb → library.erb} +0 -0
- data/lib/sprout/generators/ruby/ruby_generator.rb +4 -5
- data/lib/sprout/generators/ruby/templates/{ruby_base.rb → ruby_base.erb} +0 -0
- data/lib/sprout/generators/ruby/templates/{ruby_input.rb → ruby_input.erb} +0 -0
- data/lib/sprout/generators/ruby/templates/{ruby_test_case.rb → ruby_test_case.erb} +0 -0
- data/lib/sprout/generators/ruby/templates/{ruby_test_helper.rb → ruby_test_helper.erb} +0 -0
- data/lib/sprout/generators/tool/templates/{tool.rb → tool.erb} +0 -2
- data/lib/sprout/generators/tool/tool_generator.rb +1 -1
- metadata +128 -32
@@ -0,0 +1,137 @@
|
|
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::JavaSystem
|
8
|
+
|
9
|
+
— 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 (J)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../../Sprout.html" title="Sprout (module)">Sprout</a></span></span> » <span class='title'><span class='object_link'><a href="../System.html" title="Sprout::System (module)">System</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">JavaSystem</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::JavaSystem
|
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="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</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">Sprout::System::JavaSystem</li>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
<a href="#" class="inheritanceTree">show all</a>
|
80
|
+
|
81
|
+
</dd>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<dt class="r2 last">Defined in:</dt>
|
92
|
+
<dd class="r2 last">lib/sprout/system/java_system.rb</dd>
|
93
|
+
|
94
|
+
</dl>
|
95
|
+
<div class="clear"></div>
|
96
|
+
|
97
|
+
<h2>Overview</h2><div class="docstring">
|
98
|
+
<div class="discussion">
|
99
|
+
<p>
|
100
|
+
The concrete system for the JRuby environment
|
101
|
+
</p>
|
102
|
+
|
103
|
+
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
<div class="tags">
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
<h2>Method Summary</h2>
|
123
|
+
|
124
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></h3>
|
125
|
+
<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-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>
|
126
|
+
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div id="footer">
|
131
|
+
Generated on Sun Mar 11 14:30:34 2012 by
|
132
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
|
+
0.7.5 (ruby-1.9.2).
|
134
|
+
</div>
|
135
|
+
|
136
|
+
</body>
|
137
|
+
</html>
|
@@ -0,0 +1,345 @@
|
|
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::OSXSystem
|
8
|
+
|
9
|
+
— 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 (O)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../../Sprout.html" title="Sprout (module)">Sprout</a></span></span> » <span class='title'><span class='object_link'><a href="../System.html" title="Sprout::System (module)">System</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">OSXSystem</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::OSXSystem
|
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="UnixSystem.html" title="Sprout::System::UnixSystem (class)">UnixSystem</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="UnixSystem.html" title="Sprout::System::UnixSystem (class)">UnixSystem</a></span></li>
|
77
|
+
|
78
|
+
<li class="next">Sprout::System::OSXSystem</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/osx_system.rb</dd>
|
95
|
+
|
96
|
+
</dl>
|
97
|
+
<div class="clear"></div>
|
98
|
+
|
99
|
+
|
100
|
+
<h2>Constant Summary</h2>
|
101
|
+
|
102
|
+
<dl class="constants">
|
103
|
+
|
104
|
+
<dt id="LIBRARY-constant" class="">LIBRARY =
|
105
|
+
|
106
|
+
</dt>
|
107
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Library</span><span class='tstring_end'>'</span></span></pre></dd>
|
108
|
+
|
109
|
+
</dl>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<h2>
|
120
|
+
Instance Method Summary
|
121
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
122
|
+
</h2>
|
123
|
+
|
124
|
+
<ul class="summary">
|
125
|
+
|
126
|
+
<li class="public ">
|
127
|
+
<span class="summary_signature">
|
128
|
+
|
129
|
+
<a href="#can_execute%3F-instance_method" title="#can_execute? (instance method)">- (Boolean) <strong>can_execute?</strong>(platform) </a>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
</span>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="public ">
|
148
|
+
<span class="summary_signature">
|
149
|
+
|
150
|
+
<a href="#format_application_name-instance_method" title="#format_application_name (instance method)">- (Object) <strong>format_application_name</strong>(name) </a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</span>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
164
|
+
|
165
|
+
</li>
|
166
|
+
|
167
|
+
|
168
|
+
<li class="public ">
|
169
|
+
<span class="summary_signature">
|
170
|
+
|
171
|
+
<a href="#library-instance_method" title="#library (instance method)">- (Object) <strong>library</strong> </a>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
</span>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
|
189
|
+
</ul>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="UnixSystem.html" title="Sprout::System::UnixSystem (class)">UnixSystem</a></span></h3>
|
201
|
+
<p class="inherited"><span class='object_link'><a href="UnixSystem.html#attempt_to_repair_executable-instance_method" title="Sprout::System::UnixSystem#attempt_to_repair_executable (method)">#attempt_to_repair_executable</a></span>, <span class='object_link'><a href="UnixSystem.html#clean_path-instance_method" title="Sprout::System::UnixSystem#clean_path (method)">#clean_path</a></span>, <span class='object_link'><a href="UnixSystem.html#execute-instance_method" title="Sprout::System::UnixSystem#execute (method)">#execute</a></span>, <span class='object_link'><a href="UnixSystem.html#repair_executable-instance_method" title="Sprout::System::UnixSystem#repair_executable (method)">#repair_executable</a></span>, <span class='object_link'><a href="UnixSystem.html#should_repair_executable-instance_method" title="Sprout::System::UnixSystem#should_repair_executable (method)">#should_repair_executable</a></span></p>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseSystem.html" title="Sprout::System::BaseSystem (class)">BaseSystem</a></span></h3>
|
211
|
+
<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#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#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#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>
|
212
|
+
|
213
|
+
|
214
|
+
<div id="instance_method_details" class="method_details_list">
|
215
|
+
<h2>Instance Method Details</h2>
|
216
|
+
|
217
|
+
|
218
|
+
<div class="method_details first">
|
219
|
+
<p class="signature first" id="can_execute?-instance_method">
|
220
|
+
|
221
|
+
- (<tt>Boolean</tt>) <strong>can_execute?</strong>(platform)
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
</p><div class="docstring">
|
226
|
+
<div class="discussion">
|
227
|
+
|
228
|
+
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
<div class="tags">
|
232
|
+
|
233
|
+
<h3>Returns:</h3>
|
234
|
+
<ul class="return">
|
235
|
+
|
236
|
+
<li>
|
237
|
+
|
238
|
+
|
239
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
</li>
|
244
|
+
|
245
|
+
</ul>
|
246
|
+
|
247
|
+
</div><table class="source_code">
|
248
|
+
<tr>
|
249
|
+
<td>
|
250
|
+
<pre class="lines">
|
251
|
+
|
252
|
+
|
253
|
+
20
|
254
|
+
21
|
255
|
+
22</pre>
|
256
|
+
</td>
|
257
|
+
<td>
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/sprout/system/osx_system.rb', line 20</span>
|
259
|
+
|
260
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_can_execute?'>can_execute?</span> <span class='id identifier rubyid_platform'>platform</span>
|
261
|
+
<span class='lbracket'>[</span><span class='symbol'>:mac</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:macosx</span><span class='comma'>,</span> <span class='symbol'>:darwin</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_platform'>platform</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>super</span>
|
262
|
+
<span class='kw'>end</span></pre>
|
263
|
+
</td>
|
264
|
+
</tr>
|
265
|
+
</table>
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div class="method_details ">
|
269
|
+
<p class="signature " id="format_application_name-instance_method">
|
270
|
+
|
271
|
+
- (<tt>Object</tt>) <strong>format_application_name</strong>(name)
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
</p><table class="source_code">
|
276
|
+
<tr>
|
277
|
+
<td>
|
278
|
+
<pre class="lines">
|
279
|
+
|
280
|
+
|
281
|
+
16
|
282
|
+
17
|
283
|
+
18</pre>
|
284
|
+
</td>
|
285
|
+
<td>
|
286
|
+
<pre class="code"><span class="info file"># File 'lib/sprout/system/osx_system.rb', line 16</span>
|
287
|
+
|
288
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_format_application_name'>format_application_name</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
289
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_capitalize'>capitalize</span>
|
290
|
+
<span class='kw'>end</span></pre>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</table>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
<div class="method_details ">
|
297
|
+
<p class="signature " id="library-instance_method">
|
298
|
+
|
299
|
+
- (<tt>Object</tt>) <strong>library</strong>
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
</p><table class="source_code">
|
304
|
+
<tr>
|
305
|
+
<td>
|
306
|
+
<pre class="lines">
|
307
|
+
|
308
|
+
|
309
|
+
7
|
310
|
+
8
|
311
|
+
9
|
312
|
+
10
|
313
|
+
11
|
314
|
+
12
|
315
|
+
13
|
316
|
+
14</pre>
|
317
|
+
</td>
|
318
|
+
<td>
|
319
|
+
<pre class="code"><span class="info file"># File 'lib/sprout/system/osx_system.rb', line 7</span>
|
320
|
+
|
321
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_library'>library</span>
|
322
|
+
<span class='id identifier rubyid_lib'>lib</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_home'>home</span><span class='comma'>,</span> <span class='const'>LIBRARY</span><span class='rparen'>)</span>
|
323
|
+
<span class='kw'>if</span><span class='lparen'>(</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_lib'>lib</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
324
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_lib'>lib</span>
|
325
|
+
<span class='kw'>else</span>
|
326
|
+
<span class='kw'>return</span> <span class='kw'>super</span>
|
327
|
+
<span class='kw'>end</span>
|
328
|
+
<span class='kw'>end</span></pre>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
</table>
|
332
|
+
</div>
|
333
|
+
|
334
|
+
</div>
|
335
|
+
|
336
|
+
</div>
|
337
|
+
|
338
|
+
<div id="footer">
|
339
|
+
Generated on Sun Mar 11 14:30:34 2012 by
|
340
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
341
|
+
0.7.5 (ruby-1.9.2).
|
342
|
+
</div>
|
343
|
+
|
344
|
+
</body>
|
345
|
+
</html>
|