bovem 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis-gemfile +1 -1
- data/.travis.yml +1 -4
- data/.yardopts +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -1
- data/LICENSE.md +21 -0
- data/README.md +21 -16
- data/Rakefile +1 -1
- data/bovem.gemspec +1 -1
- data/docs/Bovem.html +184 -0
- data/{doc → docs}/Bovem/Application.html +139 -140
- data/{doc → docs}/Bovem/Command.html +171 -169
- data/{doc → docs}/Bovem/CommandMethods.html +38 -38
- data/{doc → docs}/Bovem/CommandMethods/Children.html +69 -68
- data/{doc → docs}/Bovem/CommandMethods/Help.html +45 -44
- data/{doc → docs}/Bovem/Configuration.html +58 -57
- data/{doc → docs}/Bovem/Console.html +87 -88
- data/{doc → docs}/Bovem/ConsoleMethods.html +38 -38
- data/{doc → docs}/Bovem/ConsoleMethods/Interactions.html +52 -50
- data/{doc → docs}/Bovem/ConsoleMethods/Interactions/ClassMethods.html +41 -41
- data/{doc → docs}/Bovem/ConsoleMethods/Logging.html +81 -81
- data/{doc → docs}/Bovem/ConsoleMethods/Logging/ClassMethods.html +41 -41
- data/{doc → docs}/Bovem/ConsoleMethods/Output.html +59 -58
- data/{doc → docs}/Bovem/ConsoleMethods/StyleHandling.html +52 -50
- data/{doc → docs}/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +51 -51
- data/{doc → docs}/Bovem/Errors.html +38 -38
- data/{doc → docs}/Bovem/Errors/Error.html +57 -56
- data/{doc → docs}/Bovem/Errors/InvalidConfiguration.html +44 -43
- data/{doc → docs}/Bovem/Errors/InvalidLogger.html +44 -43
- data/{doc → docs}/Bovem/I18n.html +45 -44
- data/{doc → docs}/Bovem/Logger.html +79 -80
- data/{doc → docs}/Bovem/Option.html +138 -137
- data/{doc → docs}/Bovem/Parser.html +52 -50
- data/{doc → docs}/Bovem/ParserMethods.html +38 -38
- data/{doc → docs}/Bovem/ParserMethods/General.html +47 -45
- data/{doc → docs}/Bovem/ParserMethods/General/ClassMethods.html +47 -47
- data/docs/Bovem/Shell.html +625 -0
- data/{doc → docs}/Bovem/ShellMethods.html +38 -38
- data/{doc → docs}/Bovem/ShellMethods/Directories.html +47 -46
- data/{doc → docs}/Bovem/ShellMethods/Execute.html +47 -46
- data/docs/Bovem/ShellMethods/General.html +120 -0
- data/{doc → docs}/Bovem/ShellMethods/Read.html +47 -46
- data/{doc → docs}/Bovem/ShellMethods/Write.html +47 -46
- data/docs/Bovem/Version.html +187 -0
- data/{doc → docs}/_index.html +32 -35
- data/docs/class_list.html +51 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +32 -31
- data/{doc → docs}/css/style.css +244 -91
- data/{doc → docs}/file.README.html +34 -35
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/{doc → docs}/index.html +34 -35
- data/{doc → docs}/js/app.js +101 -77
- data/docs/js/full_list.js +216 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/docs/method_list.html +1115 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/bovem.rb +1 -1
- data/lib/bovem/application.rb +1 -1
- data/lib/bovem/command.rb +1 -1
- data/lib/bovem/configuration.rb +1 -1
- data/lib/bovem/console.rb +1 -1
- data/lib/bovem/errors.rb +1 -1
- data/lib/bovem/i18n.rb +1 -1
- data/lib/bovem/logger.rb +1 -1
- data/lib/bovem/option.rb +1 -1
- data/lib/bovem/parser.rb +1 -1
- data/lib/bovem/shell.rb +1 -1
- data/lib/bovem/version.rb +2 -2
- data/locales/en.yml +1 -1
- data/locales/it.yml +1 -1
- data/spec/bovem/application_spec.rb +1 -1
- data/spec/bovem/command_spec.rb +1 -1
- data/spec/bovem/configuration_spec.rb +1 -1
- data/spec/bovem/console_spec.rb +1 -1
- data/spec/bovem/errors_spec.rb +1 -1
- data/spec/bovem/i18n_spec.rb +1 -1
- data/spec/bovem/logger_spec.rb +1 -1
- data/spec/bovem/option_spec.rb +1 -1
- data/spec/bovem/parser_spec.rb +1 -1
- data/spec/bovem/shell_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +53 -52
- data/doc/Bovem.html +0 -186
- data/doc/Bovem/Shell.html +0 -623
- data/doc/Bovem/ShellMethods/General.html +0 -119
- data/doc/Bovem/Version.html +0 -189
- data/doc/class_list.html +0 -58
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/js/full_list.js +0 -181
- data/doc/method_list.html +0 -855
- data/doc/top-level-namespace.html +0 -112
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Bovem::CommandMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.7
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Bovem::CommandMethods";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Bovem/CommandMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Bovem.html" title="Bovem (module)">Bovem</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">CommandMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Bovem::CommandMethods
|
62
|
+
<div id="content"><h1>Module: Bovem::CommandMethods
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/bovem/command.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
<h2>Overview</h2><div class="docstring">
|
88
87
|
<div class="discussion">
|
@@ -115,11 +114,12 @@
|
|
115
114
|
|
116
115
|
</div>
|
117
116
|
|
118
|
-
|
119
|
-
Generated on
|
117
|
+
<div id="footer">
|
118
|
+
Generated on Thu Jan 12 16:10:58 2017 by
|
120
119
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.
|
120
|
+
0.9.7 (ruby-2.3.0).
|
122
121
|
</div>
|
123
122
|
|
123
|
+
</div>
|
124
124
|
</body>
|
125
125
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Bovem::CommandMethods::Children
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.7
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Bovem::CommandMethods::Children";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Bovem/CommandMethods/Children.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,65 +27,66 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Bovem.html" title="Bovem (module)">Bovem</a></span></span> » <span class='title'><span class='object_link'><a href="../CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Children</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
65
61
|
|
66
|
-
|
62
|
+
<div id="content"><h1>Module: Bovem::CommandMethods::Children
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
80
|
-
|
81
|
-
<dd class="r1"><span class='object_link'><a href="../Command.html" title="Bovem::Command (class)">Bovem::Command</a></span></dd>
|
82
|
-
|
75
|
+
|
83
76
|
|
77
|
+
<dl>
|
78
|
+
<dt>Included in:</dt>
|
79
|
+
<dd><span class='object_link'><a href="../Command.html" title="Bovem::Command (class)">Bovem::Command</a></span></dd>
|
80
|
+
</dl>
|
84
81
|
|
85
|
-
|
86
|
-
|
82
|
+
|
83
|
+
|
84
|
+
<dl>
|
85
|
+
<dt>Defined in:</dt>
|
86
|
+
<dd>lib/bovem/command.rb</dd>
|
87
|
+
</dl>
|
87
88
|
|
88
|
-
</
|
89
|
-
<div class="clear"></div>
|
89
|
+
</div>
|
90
90
|
|
91
91
|
<h2>Overview</h2><div class="docstring">
|
92
92
|
<div class="discussion">
|
@@ -102,13 +102,13 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
|
-
<h2>Instance Attribute Summary <small
|
105
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
106
106
|
<ul class="summary">
|
107
107
|
|
108
108
|
<li class="public ">
|
109
109
|
<span class="summary_signature">
|
110
110
|
|
111
|
-
<a href="#commands-instance_method" title="#commands (instance method)"
|
111
|
+
<a href="#commands-instance_method" title="#commands (instance method)">#<strong>commands</strong> ⇒ HashWithIndifferentAccess </a>
|
112
112
|
|
113
113
|
|
114
114
|
|
@@ -136,7 +136,7 @@
|
|
136
136
|
<li class="public ">
|
137
137
|
<span class="summary_signature">
|
138
138
|
|
139
|
-
<a href="#options-instance_method" title="#options (instance method)"
|
139
|
+
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ HashWithIndifferentAccess </a>
|
140
140
|
|
141
141
|
|
142
142
|
|
@@ -169,7 +169,7 @@
|
|
169
169
|
|
170
170
|
<h2>
|
171
171
|
Instance Method Summary
|
172
|
-
<small
|
172
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
173
173
|
</h2>
|
174
174
|
|
175
175
|
<ul class="summary">
|
@@ -177,7 +177,7 @@
|
|
177
177
|
<li class="public ">
|
178
178
|
<span class="summary_signature">
|
179
179
|
|
180
|
-
<a href="#argument-instance_method" title="#argument (instance method)"
|
180
|
+
<a href="#argument-instance_method" title="#argument (instance method)">#<strong>argument</strong>(value) ⇒ Object </a>
|
181
181
|
|
182
182
|
|
183
183
|
|
@@ -200,7 +200,7 @@
|
|
200
200
|
<li class="public ">
|
201
201
|
<span class="summary_signature">
|
202
202
|
|
203
|
-
<a href="#arguments-instance_method" title="#arguments (instance method)"
|
203
|
+
<a href="#arguments-instance_method" title="#arguments (instance method)">#<strong>arguments</strong> ⇒ Array </a>
|
204
204
|
|
205
205
|
|
206
206
|
|
@@ -223,7 +223,7 @@
|
|
223
223
|
<li class="public ">
|
224
224
|
<span class="summary_signature">
|
225
225
|
|
226
|
-
<a href="#clear_commands-instance_method" title="#clear_commands (instance method)"
|
226
|
+
<a href="#clear_commands-instance_method" title="#clear_commands (instance method)">#<strong>clear_commands</strong> ⇒ Hash </a>
|
227
227
|
|
228
228
|
|
229
229
|
|
@@ -246,7 +246,7 @@
|
|
246
246
|
<li class="public ">
|
247
247
|
<span class="summary_signature">
|
248
248
|
|
249
|
-
<a href="#clear_options-instance_method" title="#clear_options (instance method)"
|
249
|
+
<a href="#clear_options-instance_method" title="#clear_options (instance method)">#<strong>clear_options</strong> ⇒ Hash </a>
|
250
250
|
|
251
251
|
|
252
252
|
|
@@ -269,7 +269,7 @@
|
|
269
269
|
<li class="public ">
|
270
270
|
<span class="summary_signature">
|
271
271
|
|
272
|
-
<a href="#command-instance_method" title="#command (instance method)"
|
272
|
+
<a href="#command-instance_method" title="#command (instance method)">#<strong>command</strong>(name, options = {}, &block) ⇒ Command </a>
|
273
273
|
|
274
274
|
|
275
275
|
|
@@ -292,7 +292,7 @@
|
|
292
292
|
<li class="public ">
|
293
293
|
<span class="summary_signature">
|
294
294
|
|
295
|
-
<a href="#commands%3F-instance_method" title="#commands? (instance method)"
|
295
|
+
<a href="#commands%3F-instance_method" title="#commands? (instance method)">#<strong>commands?</strong> ⇒ Boolean </a>
|
296
296
|
|
297
297
|
|
298
298
|
|
@@ -315,7 +315,7 @@
|
|
315
315
|
<li class="public ">
|
316
316
|
<span class="summary_signature">
|
317
317
|
|
318
|
-
<a href="#get_options-instance_method" title="#get_options (instance method)"
|
318
|
+
<a href="#get_options-instance_method" title="#get_options (instance method)">#<strong>get_options</strong>(unprovided: false, application: "application_", prefix: "", whitelist: []) ⇒ HashWithIndifferentAccess </a>
|
319
319
|
|
320
320
|
|
321
321
|
|
@@ -338,7 +338,7 @@
|
|
338
338
|
<li class="public ">
|
339
339
|
<span class="summary_signature">
|
340
340
|
|
341
|
-
<a href="#option-instance_method" title="#option (instance method)"
|
341
|
+
<a href="#option-instance_method" title="#option (instance method)">#<strong>option</strong>(name, forms = [], options = {}, &action) ⇒ Option </a>
|
342
342
|
|
343
343
|
|
344
344
|
|
@@ -361,7 +361,7 @@
|
|
361
361
|
<li class="public ">
|
362
362
|
<span class="summary_signature">
|
363
363
|
|
364
|
-
<a href="#options%3F-instance_method" title="#options? (instance method)"
|
364
|
+
<a href="#options%3F-instance_method" title="#options? (instance method)">#<strong>options?</strong> ⇒ Boolean </a>
|
365
365
|
|
366
366
|
|
367
367
|
|
@@ -393,7 +393,7 @@
|
|
393
393
|
<div class="method_details first">
|
394
394
|
<h3 class="signature first" id="commands-instance_method">
|
395
395
|
|
396
|
-
|
396
|
+
#<strong>commands</strong> ⇒ <tt>HashWithIndifferentAccess</tt> <span class="extras">(readonly)</span>
|
397
397
|
|
398
398
|
|
399
399
|
|
@@ -452,7 +452,7 @@
|
|
452
452
|
<div class="method_details ">
|
453
453
|
<h3 class="signature " id="options-instance_method">
|
454
454
|
|
455
|
-
|
455
|
+
#<strong>options</strong> ⇒ <tt>HashWithIndifferentAccess</tt> <span class="extras">(readonly)</span>
|
456
456
|
|
457
457
|
|
458
458
|
|
@@ -516,7 +516,7 @@
|
|
516
516
|
<div class="method_details first">
|
517
517
|
<h3 class="signature first" id="argument-instance_method">
|
518
518
|
|
519
|
-
|
519
|
+
#<strong>argument</strong>(value) ⇒ <tt>Object</tt>
|
520
520
|
|
521
521
|
|
522
522
|
|
@@ -577,7 +577,7 @@
|
|
577
577
|
<div class="method_details ">
|
578
578
|
<h3 class="signature " id="arguments-instance_method">
|
579
579
|
|
580
|
-
|
580
|
+
#<strong>arguments</strong> ⇒ <tt>Array</tt>
|
581
581
|
|
582
582
|
|
583
583
|
|
@@ -634,7 +634,7 @@
|
|
634
634
|
<div class="method_details ">
|
635
635
|
<h3 class="signature " id="clear_commands-instance_method">
|
636
636
|
|
637
|
-
|
637
|
+
#<strong>clear_commands</strong> ⇒ <tt>Hash</tt>
|
638
638
|
|
639
639
|
|
640
640
|
|
@@ -691,7 +691,7 @@
|
|
691
691
|
<div class="method_details ">
|
692
692
|
<h3 class="signature " id="clear_options-instance_method">
|
693
693
|
|
694
|
-
|
694
|
+
#<strong>clear_options</strong> ⇒ <tt>Hash</tt>
|
695
695
|
|
696
696
|
|
697
697
|
|
@@ -748,7 +748,7 @@
|
|
748
748
|
<div class="method_details ">
|
749
749
|
<h3 class="signature " id="command-instance_method">
|
750
750
|
|
751
|
-
|
751
|
+
#<strong>command</strong>(name, options = {}, &block) ⇒ <tt><span class='object_link'><a href="../Command.html" title="Bovem::Command (class)">Command</a></span></tt>
|
752
752
|
|
753
753
|
|
754
754
|
|
@@ -852,7 +852,7 @@
|
|
852
852
|
<span class='ivar'>@commands</span> <span class='op'>||=</span> <span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
853
853
|
|
854
854
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='label'>name:</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span> <span class='label'>parent:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>application:</span> <span class='id identifier rubyid_application'>application</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_ensure_hash'>ensure_hash</span><span class='rparen'>)</span>
|
855
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>Error</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='symbol'>:duplicate_command</span><span class='comma'>,</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_command'>existing_command</span><span class='lparen'>(</span><span class='id identifier rubyid_full_name'>full_name</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='ivar'>@commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rbracket'>]</span>
|
855
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../../Bovem.html" title="Bovem (module)">Bovem</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Errors.html" title="Bovem::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Errors/Error.html" title="Bovem::Errors::Error (class)">Error</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Errors/Error.html#initialize-instance_method" title="Bovem::Errors::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='symbol'>:duplicate_command</span><span class='comma'>,</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_command'>existing_command</span><span class='lparen'>(</span><span class='id identifier rubyid_full_name'>full_name</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='ivar'>@commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rbracket'>]</span>
|
856
856
|
|
857
857
|
<span class='id identifier rubyid_create_command'>create_command</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
858
858
|
<span class='kw'>end</span></pre>
|
@@ -864,7 +864,7 @@
|
|
864
864
|
<div class="method_details ">
|
865
865
|
<h3 class="signature " id="commands?-instance_method">
|
866
866
|
|
867
|
-
|
867
|
+
#<strong>commands?</strong> ⇒ <tt>Boolean</tt>
|
868
868
|
|
869
869
|
|
870
870
|
|
@@ -921,7 +921,7 @@
|
|
921
921
|
<div class="method_details ">
|
922
922
|
<h3 class="signature " id="get_options-instance_method">
|
923
923
|
|
924
|
-
|
924
|
+
#<strong>get_options</strong>(unprovided: false, application: "application_", prefix: "", whitelist: []) ⇒ <tt>HashWithIndifferentAccess</tt>
|
925
925
|
|
926
926
|
|
927
927
|
|
@@ -1059,7 +1059,7 @@ the user inputs or the defaults values.</p>
|
|
1059
1059
|
<div class="method_details ">
|
1060
1060
|
<h3 class="signature " id="option-instance_method">
|
1061
1061
|
|
1062
|
-
|
1062
|
+
#<strong>option</strong>(name, forms = [], options = {}, &action) ⇒ <tt><span class='object_link'><a href="../Option.html" title="Bovem::Option (class)">Option</a></span></tt>
|
1063
1063
|
|
1064
1064
|
|
1065
1065
|
|
@@ -1195,10 +1195,10 @@ the user inputs or the defaults values.</p>
|
|
1195
1195
|
<span class='ivar'>@options</span> <span class='op'>||=</span> <span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
1196
1196
|
|
1197
1197
|
<span class='kw'>if</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
|
1198
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>Error</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='symbol'>:duplicate_option</span><span class='comma'>,</span> <span class='id identifier rubyid_application?'>application?</span> <span class='op'>?</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_option_global'>existing_option_global</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_option'>existing_option</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_full_name'>full_name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
1198
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../../Bovem.html" title="Bovem (module)">Bovem</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Errors.html" title="Bovem::Errors (module)">Errors</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Errors/Error.html" title="Bovem::Errors::Error (class)">Error</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Errors/Error.html#initialize-instance_method" title="Bovem::Errors::Error#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='symbol'>:duplicate_option</span><span class='comma'>,</span> <span class='id identifier rubyid_application?'>application?</span> <span class='op'>?</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_option_global'>existing_option_global</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_existing_option'>existing_option</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_full_name'>full_name</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
1199
1199
|
<span class='kw'>end</span>
|
1200
1200
|
|
1201
|
-
<span class='id identifier rubyid_option'>option</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Option</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_forms'>forms</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_action'>action</span><span class='rparen'>)</span>
|
1201
|
+
<span class='id identifier rubyid_option'>option</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Bovem.html" title="Bovem (module)">Bovem</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Option.html" title="Bovem::Option (class)">Option</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Option.html#initialize-instance_method" title="Bovem::Option#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_forms'>forms</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_action'>action</span><span class='rparen'>)</span>
|
1202
1202
|
<span class='id identifier rubyid_option'>option</span><span class='period'>.</span><span class='id identifier rubyid_parent'>parent</span> <span class='op'>=</span> <span class='kw'>self</span>
|
1203
1203
|
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_option'>option</span>
|
1204
1204
|
<span class='id identifier rubyid_option'>option</span>
|
@@ -1211,7 +1211,7 @@ the user inputs or the defaults values.</p>
|
|
1211
1211
|
<div class="method_details ">
|
1212
1212
|
<h3 class="signature " id="options?-instance_method">
|
1213
1213
|
|
1214
|
-
|
1214
|
+
#<strong>options?</strong> ⇒ <tt>Boolean</tt>
|
1215
1215
|
|
1216
1216
|
|
1217
1217
|
|
@@ -1269,11 +1269,12 @@ the user inputs or the defaults values.</p>
|
|
1269
1269
|
|
1270
1270
|
</div>
|
1271
1271
|
|
1272
|
-
|
1273
|
-
Generated on
|
1272
|
+
<div id="footer">
|
1273
|
+
Generated on Thu Jan 12 16:10:58 2017 by
|
1274
1274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1275
|
-
0.
|
1275
|
+
0.9.7 (ruby-2.3.0).
|
1276
1276
|
</div>
|
1277
1277
|
|
1278
|
+
</div>
|
1278
1279
|
</body>
|
1279
1280
|
</html>
|