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
|
Class: Bovem::Command
|
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::Command";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Bovem/Command.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
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">Command</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>Class: Bovem::Command
|
62
|
+
<div id="content"><h1>Class: Bovem::Command
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,25 +79,30 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
|
-
<dt class="r2">Includes:</dt>
|
94
|
-
<dd class="r2"><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Bovem::CommandMethods::Children</a></span>, <span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Bovem::CommandMethods::Help</a></span></dd>
|
95
|
-
|
96
|
-
|
97
89
|
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Bovem::CommandMethods::Children</a></span>, <span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Bovem::CommandMethods::Help</a></span></dd>
|
93
|
+
</dl>
|
98
94
|
|
99
95
|
|
100
|
-
|
101
|
-
|
96
|
+
|
97
|
+
|
98
|
+
|
102
99
|
|
103
|
-
|
104
|
-
<
|
100
|
+
<dl>
|
101
|
+
<dt>Defined in:</dt>
|
102
|
+
<dd>lib/bovem/command.rb</dd>
|
103
|
+
</dl>
|
104
|
+
|
105
|
+
</div>
|
105
106
|
|
106
107
|
<h2>Overview</h2><div class="docstring">
|
107
108
|
<div class="discussion">
|
@@ -123,13 +124,13 @@
|
|
123
124
|
|
124
125
|
|
125
126
|
|
126
|
-
<h2>Instance Attribute Summary <small
|
127
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
127
128
|
<ul class="summary">
|
128
129
|
|
129
130
|
<li class="public ">
|
130
131
|
<span class="summary_signature">
|
131
132
|
|
132
|
-
<a href="#action-instance_method" title="#action (instance method)"
|
133
|
+
<a href="#action-instance_method" title="#action (instance method)">#<strong>action</strong>(method = nil, &hook) ⇒ Proc|Symbol|NilClass </a>
|
133
134
|
|
134
135
|
|
135
136
|
|
@@ -155,7 +156,7 @@
|
|
155
156
|
<li class="public ">
|
156
157
|
<span class="summary_signature">
|
157
158
|
|
158
|
-
<a href="#after-instance_method" title="#after (instance method)"
|
159
|
+
<a href="#after-instance_method" title="#after (instance method)">#<strong>after</strong>(method = nil, &hook) ⇒ Proc|Symbol|NilClass </a>
|
159
160
|
|
160
161
|
|
161
162
|
|
@@ -181,7 +182,7 @@
|
|
181
182
|
<li class="public ">
|
182
183
|
<span class="summary_signature">
|
183
184
|
|
184
|
-
<a href="#application-instance_method" title="#application (instance method)"
|
185
|
+
<a href="#application-instance_method" title="#application (instance method)">#<strong>application</strong> ⇒ Application </a>
|
185
186
|
|
186
187
|
|
187
188
|
|
@@ -207,7 +208,7 @@
|
|
207
208
|
<li class="public ">
|
208
209
|
<span class="summary_signature">
|
209
210
|
|
210
|
-
<a href="#arguments-instance_method" title="#arguments (instance method)"
|
211
|
+
<a href="#arguments-instance_method" title="#arguments (instance method)">#<strong>arguments</strong> ⇒ Array </a>
|
211
212
|
|
212
213
|
|
213
214
|
|
@@ -235,7 +236,7 @@
|
|
235
236
|
<li class="public ">
|
236
237
|
<span class="summary_signature">
|
237
238
|
|
238
|
-
<a href="#banner-instance_method" title="#banner (instance method)"
|
239
|
+
<a href="#banner-instance_method" title="#banner (instance method)">#<strong>banner</strong>(value = nil) ⇒ String </a>
|
239
240
|
|
240
241
|
|
241
242
|
|
@@ -261,7 +262,7 @@
|
|
261
262
|
<li class="public ">
|
262
263
|
<span class="summary_signature">
|
263
264
|
|
264
|
-
<a href="#before-instance_method" title="#before (instance method)"
|
265
|
+
<a href="#before-instance_method" title="#before (instance method)">#<strong>before</strong>(method = nil, &hook) ⇒ Proc|Symbol|NilClass </a>
|
265
266
|
|
266
267
|
|
267
268
|
|
@@ -287,7 +288,7 @@
|
|
287
288
|
<li class="public ">
|
288
289
|
<span class="summary_signature">
|
289
290
|
|
290
|
-
<a href="#commands-instance_method" title="#commands (instance method)"
|
291
|
+
<a href="#commands-instance_method" title="#commands (instance method)">#<strong>commands</strong> ⇒ Array </a>
|
291
292
|
|
292
293
|
|
293
294
|
|
@@ -315,7 +316,7 @@
|
|
315
316
|
<li class="public ">
|
316
317
|
<span class="summary_signature">
|
317
318
|
|
318
|
-
<a href="#description-instance_method" title="#description (instance method)"
|
319
|
+
<a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong>(value = nil) ⇒ String </a>
|
319
320
|
|
320
321
|
|
321
322
|
|
@@ -341,7 +342,7 @@
|
|
341
342
|
<li class="public ">
|
342
343
|
<span class="summary_signature">
|
343
344
|
|
344
|
-
<a href="#i18n-instance_method" title="#i18n (instance method)"
|
345
|
+
<a href="#i18n-instance_method" title="#i18n (instance method)">#<strong>i18n</strong> ⇒ I18n </a>
|
345
346
|
|
346
347
|
|
347
348
|
|
@@ -369,7 +370,7 @@
|
|
369
370
|
<li class="public ">
|
370
371
|
<span class="summary_signature">
|
371
372
|
|
372
|
-
<a href="#name-instance_method" title="#name (instance method)"
|
373
|
+
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong>(value = nil) ⇒ String </a>
|
373
374
|
|
374
375
|
|
375
376
|
|
@@ -395,7 +396,7 @@
|
|
395
396
|
<li class="public ">
|
396
397
|
<span class="summary_signature">
|
397
398
|
|
398
|
-
<a href="#options-instance_method" title="#options (instance method)"
|
399
|
+
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Array </a>
|
399
400
|
|
400
401
|
|
401
402
|
|
@@ -423,7 +424,7 @@
|
|
423
424
|
<li class="public ">
|
424
425
|
<span class="summary_signature">
|
425
426
|
|
426
|
-
<a href="#parent-instance_method" title="#parent (instance method)"
|
427
|
+
<a href="#parent-instance_method" title="#parent (instance method)">#<strong>parent</strong> ⇒ Command </a>
|
427
428
|
|
428
429
|
|
429
430
|
|
@@ -449,7 +450,7 @@
|
|
449
450
|
<li class="public ">
|
450
451
|
<span class="summary_signature">
|
451
452
|
|
452
|
-
<a href="#synopsis-instance_method" title="#synopsis (instance method)"
|
453
|
+
<a href="#synopsis-instance_method" title="#synopsis (instance method)">#<strong>synopsis</strong>(value = nil) ⇒ String </a>
|
453
454
|
|
454
455
|
|
455
456
|
|
@@ -480,7 +481,7 @@
|
|
480
481
|
|
481
482
|
<h2>
|
482
483
|
Instance Method Summary
|
483
|
-
<small
|
484
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
484
485
|
</h2>
|
485
486
|
|
486
487
|
<ul class="summary">
|
@@ -488,7 +489,7 @@
|
|
488
489
|
<li class="public ">
|
489
490
|
<span class="summary_signature">
|
490
491
|
|
491
|
-
<a href="#application%3F-instance_method" title="#application? (instance method)"
|
492
|
+
<a href="#application%3F-instance_method" title="#application? (instance method)">#<strong>application?</strong> ⇒ Boolean </a>
|
492
493
|
|
493
494
|
|
494
495
|
|
@@ -511,7 +512,7 @@
|
|
511
512
|
<li class="public ">
|
512
513
|
<span class="summary_signature">
|
513
514
|
|
514
|
-
<a href="#banner%3F-instance_method" title="#banner? (instance method)"
|
515
|
+
<a href="#banner%3F-instance_method" title="#banner? (instance method)">#<strong>banner?</strong> ⇒ Boolean </a>
|
515
516
|
|
516
517
|
|
517
518
|
|
@@ -534,7 +535,7 @@
|
|
534
535
|
<li class="public ">
|
535
536
|
<span class="summary_signature">
|
536
537
|
|
537
|
-
<a href="#description%3F-instance_method" title="#description? (instance method)"
|
538
|
+
<a href="#description%3F-instance_method" title="#description? (instance method)">#<strong>description?</strong> ⇒ Boolean </a>
|
538
539
|
|
539
540
|
|
540
541
|
|
@@ -557,7 +558,7 @@
|
|
557
558
|
<li class="public ">
|
558
559
|
<span class="summary_signature">
|
559
560
|
|
560
|
-
<a href="#execute-instance_method" title="#execute (instance method)"
|
561
|
+
<a href="#execute-instance_method" title="#execute (instance method)">#<strong>execute</strong>(args) ⇒ Object </a>
|
561
562
|
|
562
563
|
|
563
564
|
|
@@ -580,7 +581,7 @@
|
|
580
581
|
<li class="public ">
|
581
582
|
<span class="summary_signature">
|
582
583
|
|
583
|
-
<a href="#full_name-instance_method" title="#full_name (instance method)"
|
584
|
+
<a href="#full_name-instance_method" title="#full_name (instance method)">#<strong>full_name</strong>(suffix = nil, separator = ":") ⇒ String </a>
|
584
585
|
|
585
586
|
|
586
587
|
|
@@ -603,7 +604,7 @@
|
|
603
604
|
<li class="public ">
|
604
605
|
<span class="summary_signature">
|
605
606
|
|
606
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
607
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options = {}, &block) ⇒ Command </a>
|
607
608
|
|
608
609
|
|
609
610
|
|
@@ -628,7 +629,7 @@
|
|
628
629
|
<li class="public ">
|
629
630
|
<span class="summary_signature">
|
630
631
|
|
631
|
-
<a href="#setup_with-instance_method" title="#setup_with (instance method)"
|
632
|
+
<a href="#setup_with-instance_method" title="#setup_with (instance method)">#<strong>setup_with</strong>(options = {}) ⇒ Command </a>
|
632
633
|
|
633
634
|
|
634
635
|
|
@@ -679,7 +680,7 @@
|
|
679
680
|
<div class="method_details first">
|
680
681
|
<h3 class="signature first" id="initialize-instance_method">
|
681
682
|
|
682
|
-
|
683
|
+
#<strong>initialize</strong>(options = {}, &block) ⇒ <tt><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></tt>
|
683
684
|
|
684
685
|
|
685
686
|
|
@@ -749,7 +750,7 @@
|
|
749
750
|
<div class="method_details first">
|
750
751
|
<h3 class="signature first" id="action-instance_method">
|
751
752
|
|
752
|
-
|
753
|
+
#<strong>action</strong>(method = nil, &hook) ⇒ <tt>Proc|Symbol|NilClass</tt>
|
753
754
|
|
754
755
|
|
755
756
|
|
@@ -1032,7 +1033,7 @@
|
|
1032
1033
|
<td>
|
1033
1034
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
1034
1035
|
|
1035
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
1036
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
1036
1037
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
1037
1038
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
1038
1039
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -1044,8 +1045,8 @@
|
|
1044
1045
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
1045
1046
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
1046
1047
|
|
1047
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
1048
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
1048
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
1049
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
1049
1050
|
|
1050
1051
|
<span class='comment'># Creates a new command.
|
1051
1052
|
</span> <span class='comment'>#
|
@@ -1148,7 +1149,7 @@
|
|
1148
1149
|
</span> <span class='comment'>#
|
1149
1150
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
1150
1151
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
1151
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
1152
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
1152
1153
|
<span class='kw'>end</span>
|
1153
1154
|
|
1154
1155
|
<span class='comment'># Check if this command has a description.
|
@@ -1190,7 +1191,7 @@
|
|
1190
1191
|
</span> <span class='comment'>#
|
1191
1192
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
1192
1193
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1193
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1194
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1194
1195
|
|
1195
1196
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
1196
1197
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -1206,7 +1207,7 @@
|
|
1206
1207
|
|
1207
1208
|
<span class='comment'># :nodoc:
|
1208
1209
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1209
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
1210
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
1210
1211
|
<span class='kw'>end</span>
|
1211
1212
|
|
1212
1213
|
<span class='comment'># :nodoc:
|
@@ -1244,7 +1245,7 @@
|
|
1244
1245
|
<div class="method_details ">
|
1245
1246
|
<h3 class="signature " id="after-instance_method">
|
1246
1247
|
|
1247
|
-
|
1248
|
+
#<strong>after</strong>(method = nil, &hook) ⇒ <tt>Proc|Symbol|NilClass</tt>
|
1248
1249
|
|
1249
1250
|
|
1250
1251
|
|
@@ -1527,7 +1528,7 @@
|
|
1527
1528
|
<td>
|
1528
1529
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
1529
1530
|
|
1530
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
1531
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
1531
1532
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
1532
1533
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
1533
1534
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -1539,8 +1540,8 @@
|
|
1539
1540
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
1540
1541
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
1541
1542
|
|
1542
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
1543
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
1543
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
1544
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
1544
1545
|
|
1545
1546
|
<span class='comment'># Creates a new command.
|
1546
1547
|
</span> <span class='comment'>#
|
@@ -1643,7 +1644,7 @@
|
|
1643
1644
|
</span> <span class='comment'>#
|
1644
1645
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
1645
1646
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
1646
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
1647
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
1647
1648
|
<span class='kw'>end</span>
|
1648
1649
|
|
1649
1650
|
<span class='comment'># Check if this command has a description.
|
@@ -1685,7 +1686,7 @@
|
|
1685
1686
|
</span> <span class='comment'>#
|
1686
1687
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
1687
1688
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1688
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1689
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
1689
1690
|
|
1690
1691
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
1691
1692
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -1701,7 +1702,7 @@
|
|
1701
1702
|
|
1702
1703
|
<span class='comment'># :nodoc:
|
1703
1704
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1704
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
1705
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
1705
1706
|
<span class='kw'>end</span>
|
1706
1707
|
|
1707
1708
|
<span class='comment'># :nodoc:
|
@@ -1739,7 +1740,7 @@
|
|
1739
1740
|
<div class="method_details ">
|
1740
1741
|
<h3 class="signature " id="application-instance_method">
|
1741
1742
|
|
1742
|
-
|
1743
|
+
#<strong>application</strong> ⇒ <tt><span class='object_link'><a href="Application.html" title="Bovem::Application (class)">Application</a></span></tt>
|
1743
1744
|
|
1744
1745
|
|
1745
1746
|
|
@@ -1984,7 +1985,7 @@
|
|
1984
1985
|
<td>
|
1985
1986
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
1986
1987
|
|
1987
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
1988
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
1988
1989
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
1989
1990
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
1990
1991
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -1996,8 +1997,8 @@
|
|
1996
1997
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
1997
1998
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
1998
1999
|
|
1999
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
2000
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
2000
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
2001
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
2001
2002
|
|
2002
2003
|
<span class='comment'># Creates a new command.
|
2003
2004
|
</span> <span class='comment'>#
|
@@ -2100,7 +2101,7 @@
|
|
2100
2101
|
</span> <span class='comment'>#
|
2101
2102
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
2102
2103
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
2103
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
2104
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
2104
2105
|
<span class='kw'>end</span>
|
2105
2106
|
|
2106
2107
|
<span class='comment'># Check if this command has a description.
|
@@ -2142,7 +2143,7 @@
|
|
2142
2143
|
</span> <span class='comment'>#
|
2143
2144
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
2144
2145
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2145
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2146
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2146
2147
|
|
2147
2148
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
2148
2149
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -2158,7 +2159,7 @@
|
|
2158
2159
|
|
2159
2160
|
<span class='comment'># :nodoc:
|
2160
2161
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
2161
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
2162
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
2162
2163
|
<span class='kw'>end</span>
|
2163
2164
|
|
2164
2165
|
<span class='comment'># :nodoc:
|
@@ -2196,7 +2197,7 @@
|
|
2196
2197
|
<div class="method_details ">
|
2197
2198
|
<h3 class="signature " id="arguments-instance_method">
|
2198
2199
|
|
2199
|
-
|
2200
|
+
#<strong>arguments</strong> ⇒ <tt>Array</tt> <span class="extras">(readonly)</span>
|
2200
2201
|
|
2201
2202
|
|
2202
2203
|
|
@@ -2441,7 +2442,7 @@
|
|
2441
2442
|
<td>
|
2442
2443
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
2443
2444
|
|
2444
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
2445
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
2445
2446
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
2446
2447
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
2447
2448
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -2453,8 +2454,8 @@
|
|
2453
2454
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
2454
2455
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
2455
2456
|
|
2456
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
2457
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
2457
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
2458
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
2458
2459
|
|
2459
2460
|
<span class='comment'># Creates a new command.
|
2460
2461
|
</span> <span class='comment'>#
|
@@ -2557,7 +2558,7 @@
|
|
2557
2558
|
</span> <span class='comment'>#
|
2558
2559
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
2559
2560
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
2560
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
2561
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
2561
2562
|
<span class='kw'>end</span>
|
2562
2563
|
|
2563
2564
|
<span class='comment'># Check if this command has a description.
|
@@ -2599,7 +2600,7 @@
|
|
2599
2600
|
</span> <span class='comment'>#
|
2600
2601
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
2601
2602
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2602
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2603
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2603
2604
|
|
2604
2605
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
2605
2606
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -2615,7 +2616,7 @@
|
|
2615
2616
|
|
2616
2617
|
<span class='comment'># :nodoc:
|
2617
2618
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
2618
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
2619
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
2619
2620
|
<span class='kw'>end</span>
|
2620
2621
|
|
2621
2622
|
<span class='comment'># :nodoc:
|
@@ -2653,7 +2654,7 @@
|
|
2653
2654
|
<div class="method_details ">
|
2654
2655
|
<h3 class="signature " id="banner-instance_method">
|
2655
2656
|
|
2656
|
-
|
2657
|
+
#<strong>banner</strong>(value = nil) ⇒ <tt>String</tt>
|
2657
2658
|
|
2658
2659
|
|
2659
2660
|
|
@@ -2919,7 +2920,7 @@
|
|
2919
2920
|
<td>
|
2920
2921
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
2921
2922
|
|
2922
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
2923
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
2923
2924
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
2924
2925
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
2925
2926
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -2931,8 +2932,8 @@
|
|
2931
2932
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
2932
2933
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
2933
2934
|
|
2934
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
2935
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
2935
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
2936
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
2936
2937
|
|
2937
2938
|
<span class='comment'># Creates a new command.
|
2938
2939
|
</span> <span class='comment'>#
|
@@ -3035,7 +3036,7 @@
|
|
3035
3036
|
</span> <span class='comment'>#
|
3036
3037
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
3037
3038
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
3038
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
3039
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
3039
3040
|
<span class='kw'>end</span>
|
3040
3041
|
|
3041
3042
|
<span class='comment'># Check if this command has a description.
|
@@ -3077,7 +3078,7 @@
|
|
3077
3078
|
</span> <span class='comment'>#
|
3078
3079
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
3079
3080
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3080
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3081
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3081
3082
|
|
3082
3083
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
3083
3084
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -3093,7 +3094,7 @@
|
|
3093
3094
|
|
3094
3095
|
<span class='comment'># :nodoc:
|
3095
3096
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
3096
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
3097
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
3097
3098
|
<span class='kw'>end</span>
|
3098
3099
|
|
3099
3100
|
<span class='comment'># :nodoc:
|
@@ -3131,7 +3132,7 @@
|
|
3131
3132
|
<div class="method_details ">
|
3132
3133
|
<h3 class="signature " id="before-instance_method">
|
3133
3134
|
|
3134
|
-
|
3135
|
+
#<strong>before</strong>(method = nil, &hook) ⇒ <tt>Proc|Symbol|NilClass</tt>
|
3135
3136
|
|
3136
3137
|
|
3137
3138
|
|
@@ -3414,7 +3415,7 @@
|
|
3414
3415
|
<td>
|
3415
3416
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
3416
3417
|
|
3417
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
3418
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
3418
3419
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
3419
3420
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
3420
3421
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -3426,8 +3427,8 @@
|
|
3426
3427
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
3427
3428
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
3428
3429
|
|
3429
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
3430
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
3430
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
3431
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
3431
3432
|
|
3432
3433
|
<span class='comment'># Creates a new command.
|
3433
3434
|
</span> <span class='comment'>#
|
@@ -3530,7 +3531,7 @@
|
|
3530
3531
|
</span> <span class='comment'>#
|
3531
3532
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
3532
3533
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
3533
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
3534
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
3534
3535
|
<span class='kw'>end</span>
|
3535
3536
|
|
3536
3537
|
<span class='comment'># Check if this command has a description.
|
@@ -3572,7 +3573,7 @@
|
|
3572
3573
|
</span> <span class='comment'>#
|
3573
3574
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
3574
3575
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3575
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3576
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
3576
3577
|
|
3577
3578
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
3578
3579
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -3588,7 +3589,7 @@
|
|
3588
3589
|
|
3589
3590
|
<span class='comment'># :nodoc:
|
3590
3591
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
3591
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
3592
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
3592
3593
|
<span class='kw'>end</span>
|
3593
3594
|
|
3594
3595
|
<span class='comment'># :nodoc:
|
@@ -3626,7 +3627,7 @@
|
|
3626
3627
|
<div class="method_details ">
|
3627
3628
|
<h3 class="signature " id="commands-instance_method">
|
3628
3629
|
|
3629
|
-
|
3630
|
+
#<strong>commands</strong> ⇒ <tt>Array</tt> <span class="extras">(readonly)</span>
|
3630
3631
|
|
3631
3632
|
|
3632
3633
|
|
@@ -3871,7 +3872,7 @@
|
|
3871
3872
|
<td>
|
3872
3873
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
3873
3874
|
|
3874
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
3875
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
3875
3876
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
3876
3877
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
3877
3878
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -3883,8 +3884,8 @@
|
|
3883
3884
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
3884
3885
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
3885
3886
|
|
3886
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
3887
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
3887
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
3888
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
3888
3889
|
|
3889
3890
|
<span class='comment'># Creates a new command.
|
3890
3891
|
</span> <span class='comment'>#
|
@@ -3987,7 +3988,7 @@
|
|
3987
3988
|
</span> <span class='comment'>#
|
3988
3989
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
3989
3990
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
3990
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
3991
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
3991
3992
|
<span class='kw'>end</span>
|
3992
3993
|
|
3993
3994
|
<span class='comment'># Check if this command has a description.
|
@@ -4029,7 +4030,7 @@
|
|
4029
4030
|
</span> <span class='comment'>#
|
4030
4031
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
4031
4032
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4032
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4033
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4033
4034
|
|
4034
4035
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
4035
4036
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -4045,7 +4046,7 @@
|
|
4045
4046
|
|
4046
4047
|
<span class='comment'># :nodoc:
|
4047
4048
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
4048
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
4049
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
4049
4050
|
<span class='kw'>end</span>
|
4050
4051
|
|
4051
4052
|
<span class='comment'># :nodoc:
|
@@ -4083,7 +4084,7 @@
|
|
4083
4084
|
<div class="method_details ">
|
4084
4085
|
<h3 class="signature " id="description-instance_method">
|
4085
4086
|
|
4086
|
-
|
4087
|
+
#<strong>description</strong>(value = nil) ⇒ <tt>String</tt>
|
4087
4088
|
|
4088
4089
|
|
4089
4090
|
|
@@ -4349,7 +4350,7 @@
|
|
4349
4350
|
<td>
|
4350
4351
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
4351
4352
|
|
4352
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
4353
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
4353
4354
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
4354
4355
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
4355
4356
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -4361,8 +4362,8 @@
|
|
4361
4362
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
4362
4363
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
4363
4364
|
|
4364
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
4365
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
4365
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
4366
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
4366
4367
|
|
4367
4368
|
<span class='comment'># Creates a new command.
|
4368
4369
|
</span> <span class='comment'>#
|
@@ -4465,7 +4466,7 @@
|
|
4465
4466
|
</span> <span class='comment'>#
|
4466
4467
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
4467
4468
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
4468
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
4469
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
4469
4470
|
<span class='kw'>end</span>
|
4470
4471
|
|
4471
4472
|
<span class='comment'># Check if this command has a description.
|
@@ -4507,7 +4508,7 @@
|
|
4507
4508
|
</span> <span class='comment'>#
|
4508
4509
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
4509
4510
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4510
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4511
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4511
4512
|
|
4512
4513
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
4513
4514
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -4523,7 +4524,7 @@
|
|
4523
4524
|
|
4524
4525
|
<span class='comment'># :nodoc:
|
4525
4526
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
4526
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
4527
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
4527
4528
|
<span class='kw'>end</span>
|
4528
4529
|
|
4529
4530
|
<span class='comment'># :nodoc:
|
@@ -4561,7 +4562,7 @@
|
|
4561
4562
|
<div class="method_details ">
|
4562
4563
|
<h3 class="signature " id="i18n-instance_method">
|
4563
4564
|
|
4564
|
-
|
4565
|
+
#<strong>i18n</strong> ⇒ <tt><span class='object_link'><a href="I18n.html" title="Bovem::I18n (class)">I18n</a></span></tt> <span class="extras">(readonly)</span>
|
4565
4566
|
|
4566
4567
|
|
4567
4568
|
|
@@ -4806,7 +4807,7 @@
|
|
4806
4807
|
<td>
|
4807
4808
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
4808
4809
|
|
4809
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
4810
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
4810
4811
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
4811
4812
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
4812
4813
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -4818,8 +4819,8 @@
|
|
4818
4819
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
4819
4820
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
4820
4821
|
|
4821
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
4822
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
4822
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
4823
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
4823
4824
|
|
4824
4825
|
<span class='comment'># Creates a new command.
|
4825
4826
|
</span> <span class='comment'>#
|
@@ -4922,7 +4923,7 @@
|
|
4922
4923
|
</span> <span class='comment'>#
|
4923
4924
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
4924
4925
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
4925
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
4926
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
4926
4927
|
<span class='kw'>end</span>
|
4927
4928
|
|
4928
4929
|
<span class='comment'># Check if this command has a description.
|
@@ -4964,7 +4965,7 @@
|
|
4964
4965
|
</span> <span class='comment'>#
|
4965
4966
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
4966
4967
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4967
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4968
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
4968
4969
|
|
4969
4970
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
4970
4971
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -4980,7 +4981,7 @@
|
|
4980
4981
|
|
4981
4982
|
<span class='comment'># :nodoc:
|
4982
4983
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
4983
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
4984
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
4984
4985
|
<span class='kw'>end</span>
|
4985
4986
|
|
4986
4987
|
<span class='comment'># :nodoc:
|
@@ -5018,7 +5019,7 @@
|
|
5018
5019
|
<div class="method_details ">
|
5019
5020
|
<h3 class="signature " id="name-instance_method">
|
5020
5021
|
|
5021
|
-
|
5022
|
+
#<strong>name</strong>(value = nil) ⇒ <tt>String</tt>
|
5022
5023
|
|
5023
5024
|
|
5024
5025
|
|
@@ -5284,7 +5285,7 @@
|
|
5284
5285
|
<td>
|
5285
5286
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
5286
5287
|
|
5287
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
5288
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
5288
5289
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
5289
5290
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
5290
5291
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -5296,8 +5297,8 @@
|
|
5296
5297
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
5297
5298
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
5298
5299
|
|
5299
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
5300
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
5300
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
5301
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
5301
5302
|
|
5302
5303
|
<span class='comment'># Creates a new command.
|
5303
5304
|
</span> <span class='comment'>#
|
@@ -5400,7 +5401,7 @@
|
|
5400
5401
|
</span> <span class='comment'>#
|
5401
5402
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
5402
5403
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
5403
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
5404
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
5404
5405
|
<span class='kw'>end</span>
|
5405
5406
|
|
5406
5407
|
<span class='comment'># Check if this command has a description.
|
@@ -5442,7 +5443,7 @@
|
|
5442
5443
|
</span> <span class='comment'>#
|
5443
5444
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
5444
5445
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5445
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5446
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5446
5447
|
|
5447
5448
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
5448
5449
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -5458,7 +5459,7 @@
|
|
5458
5459
|
|
5459
5460
|
<span class='comment'># :nodoc:
|
5460
5461
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
5461
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
5462
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
5462
5463
|
<span class='kw'>end</span>
|
5463
5464
|
|
5464
5465
|
<span class='comment'># :nodoc:
|
@@ -5496,7 +5497,7 @@
|
|
5496
5497
|
<div class="method_details ">
|
5497
5498
|
<h3 class="signature " id="options-instance_method">
|
5498
5499
|
|
5499
|
-
|
5500
|
+
#<strong>options</strong> ⇒ <tt>Array</tt> <span class="extras">(readonly)</span>
|
5500
5501
|
|
5501
5502
|
|
5502
5503
|
|
@@ -5741,7 +5742,7 @@
|
|
5741
5742
|
<td>
|
5742
5743
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
5743
5744
|
|
5744
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
5745
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
5745
5746
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
5746
5747
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
5747
5748
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -5753,8 +5754,8 @@
|
|
5753
5754
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
5754
5755
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
5755
5756
|
|
5756
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
5757
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
5757
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
5758
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
5758
5759
|
|
5759
5760
|
<span class='comment'># Creates a new command.
|
5760
5761
|
</span> <span class='comment'>#
|
@@ -5857,7 +5858,7 @@
|
|
5857
5858
|
</span> <span class='comment'>#
|
5858
5859
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
5859
5860
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
5860
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
5861
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
5861
5862
|
<span class='kw'>end</span>
|
5862
5863
|
|
5863
5864
|
<span class='comment'># Check if this command has a description.
|
@@ -5899,7 +5900,7 @@
|
|
5899
5900
|
</span> <span class='comment'>#
|
5900
5901
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
5901
5902
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5902
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5903
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
5903
5904
|
|
5904
5905
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
5905
5906
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -5915,7 +5916,7 @@
|
|
5915
5916
|
|
5916
5917
|
<span class='comment'># :nodoc:
|
5917
5918
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
5918
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
5919
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
5919
5920
|
<span class='kw'>end</span>
|
5920
5921
|
|
5921
5922
|
<span class='comment'># :nodoc:
|
@@ -5953,7 +5954,7 @@
|
|
5953
5954
|
<div class="method_details ">
|
5954
5955
|
<h3 class="signature " id="parent-instance_method">
|
5955
5956
|
|
5956
|
-
|
5957
|
+
#<strong>parent</strong> ⇒ <tt><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></tt>
|
5957
5958
|
|
5958
5959
|
|
5959
5960
|
|
@@ -6198,7 +6199,7 @@
|
|
6198
6199
|
<td>
|
6199
6200
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
6200
6201
|
|
6201
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
6202
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
6202
6203
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
6203
6204
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
6204
6205
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -6210,8 +6211,8 @@
|
|
6210
6211
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
6211
6212
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
6212
6213
|
|
6213
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
6214
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
6214
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
6215
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
6215
6216
|
|
6216
6217
|
<span class='comment'># Creates a new command.
|
6217
6218
|
</span> <span class='comment'>#
|
@@ -6314,7 +6315,7 @@
|
|
6314
6315
|
</span> <span class='comment'>#
|
6315
6316
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
6316
6317
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
6317
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
6318
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
6318
6319
|
<span class='kw'>end</span>
|
6319
6320
|
|
6320
6321
|
<span class='comment'># Check if this command has a description.
|
@@ -6356,7 +6357,7 @@
|
|
6356
6357
|
</span> <span class='comment'>#
|
6357
6358
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
6358
6359
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6359
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6360
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6360
6361
|
|
6361
6362
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
6362
6363
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -6372,7 +6373,7 @@
|
|
6372
6373
|
|
6373
6374
|
<span class='comment'># :nodoc:
|
6374
6375
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
6375
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
6376
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
6376
6377
|
<span class='kw'>end</span>
|
6377
6378
|
|
6378
6379
|
<span class='comment'># :nodoc:
|
@@ -6410,7 +6411,7 @@
|
|
6410
6411
|
<div class="method_details ">
|
6411
6412
|
<h3 class="signature " id="synopsis-instance_method">
|
6412
6413
|
|
6413
|
-
|
6414
|
+
#<strong>synopsis</strong>(value = nil) ⇒ <tt>String</tt>
|
6414
6415
|
|
6415
6416
|
|
6416
6417
|
|
@@ -6676,7 +6677,7 @@
|
|
6676
6677
|
<td>
|
6677
6678
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 309</span>
|
6678
6679
|
|
6679
|
-
<span class='kw'>class</span> <span class='const'>Command</span>
|
6680
|
+
<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></span>
|
6680
6681
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:name</span>
|
6681
6682
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:description</span>
|
6682
6683
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:banner</span>
|
@@ -6688,8 +6689,8 @@
|
|
6688
6689
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:parent</span>
|
6689
6690
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
6690
6691
|
|
6691
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Help</span>
|
6692
|
-
<span class='id identifier rubyid_include'>include</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>CommandMethods</span><span class='op'>::</span><span class='const'>Children</span>
|
6692
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Help.html" title="Bovem::CommandMethods::Help (module)">Help</a></span></span>
|
6693
|
+
<span class='id identifier rubyid_include'>include</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="CommandMethods.html" title="Bovem::CommandMethods (module)">CommandMethods</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CommandMethods/Children.html" title="Bovem::CommandMethods::Children (module)">Children</a></span></span>
|
6693
6694
|
|
6694
6695
|
<span class='comment'># Creates a new command.
|
6695
6696
|
</span> <span class='comment'>#
|
@@ -6792,7 +6793,7 @@
|
|
6792
6793
|
</span> <span class='comment'>#
|
6793
6794
|
</span> <span class='comment'># @return [Boolean] `true` if command is an application, `false` otherwise.
|
6794
6795
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
6795
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
6796
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
6796
6797
|
<span class='kw'>end</span>
|
6797
6798
|
|
6798
6799
|
<span class='comment'># Check if this command has a description.
|
@@ -6834,7 +6835,7 @@
|
|
6834
6835
|
</span> <span class='comment'>#
|
6835
6836
|
</span> <span class='comment'># @param args [Array] The arguments to pass to the command.
|
6836
6837
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6837
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6838
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
6838
6839
|
|
6839
6840
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
6840
6841
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -6850,7 +6851,7 @@
|
|
6850
6851
|
|
6851
6852
|
<span class='comment'># :nodoc:
|
6852
6853
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_i18n'>setup_i18n</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
6853
|
-
<span class='ivar'>@i18n</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='op'>::</span><span class='const'>LOCALE_ROOT</span><span class='rparen'>)</span>
|
6854
|
+
<span class='ivar'>@i18n</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="I18n.html" title="Bovem::I18n (class)">I18n</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:locale</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bovem.application</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>path:</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Application.html#LOCALE_ROOT-constant" title="Bovem::Application::LOCALE_ROOT (constant)">LOCALE_ROOT</a></span></span><span class='rparen'>)</span>
|
6854
6855
|
<span class='kw'>end</span>
|
6855
6856
|
|
6856
6857
|
<span class='comment'># :nodoc:
|
@@ -6893,7 +6894,7 @@
|
|
6893
6894
|
<div class="method_details first">
|
6894
6895
|
<h3 class="signature first" id="application?-instance_method">
|
6895
6896
|
|
6896
|
-
|
6897
|
+
#<strong>application?</strong> ⇒ <tt>Boolean</tt>
|
6897
6898
|
|
6898
6899
|
|
6899
6900
|
|
@@ -6940,7 +6941,7 @@
|
|
6940
6941
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 424</span>
|
6941
6942
|
|
6942
6943
|
<span class='kw'>def</span> <span class='id identifier rubyid_application?'>application?</span>
|
6943
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Application</span><span class='rparen'>)</span>
|
6944
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</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="Application.html" title="Bovem::Application (class)">Application</a></span></span><span class='rparen'>)</span>
|
6944
6945
|
<span class='kw'>end</span></pre>
|
6945
6946
|
</td>
|
6946
6947
|
</tr>
|
@@ -6950,7 +6951,7 @@
|
|
6950
6951
|
<div class="method_details ">
|
6951
6952
|
<h3 class="signature " id="banner?-instance_method">
|
6952
6953
|
|
6953
|
-
|
6954
|
+
#<strong>banner?</strong> ⇒ <tt>Boolean</tt>
|
6954
6955
|
|
6955
6956
|
|
6956
6957
|
|
@@ -7007,7 +7008,7 @@
|
|
7007
7008
|
<div class="method_details ">
|
7008
7009
|
<h3 class="signature " id="description?-instance_method">
|
7009
7010
|
|
7010
|
-
|
7011
|
+
#<strong>description?</strong> ⇒ <tt>Boolean</tt>
|
7011
7012
|
|
7012
7013
|
|
7013
7014
|
|
@@ -7064,7 +7065,7 @@
|
|
7064
7065
|
<div class="method_details ">
|
7065
7066
|
<h3 class="signature " id="execute-instance_method">
|
7066
7067
|
|
7067
|
-
|
7068
|
+
#<strong>execute</strong>(args) ⇒ <tt>Object</tt>
|
7068
7069
|
|
7069
7070
|
|
7070
7071
|
|
@@ -7122,7 +7123,7 @@
|
|
7122
7123
|
<pre class="code"><span class="info file"># File 'lib/bovem/command.rb', line 466</span>
|
7123
7124
|
|
7124
7125
|
<span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
7125
|
-
<span class='id identifier rubyid_subcommand'>subcommand</span> <span class='op'>=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Parser</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
7126
|
+
<span class='id identifier rubyid_subcommand'>subcommand</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="Parser.html" title="Bovem::Parser (class)">Parser</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse'><span class='object_link'><a href="Parser.html#parse-instance_method" title="Bovem::Parser#parse (method)">parse</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
7126
7127
|
|
7127
7128
|
<span class='kw'>if</span> <span class='id identifier rubyid_subcommand'>subcommand</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># We have a subcommand to call
|
7128
7129
|
</span> <span class='id identifier rubyid_commands'>commands</span><span class='lbracket'>[</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_subcommand'>subcommand</span><span class='lbracket'>[</span><span class='symbol'>:args</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -7141,7 +7142,7 @@
|
|
7141
7142
|
<div class="method_details ">
|
7142
7143
|
<h3 class="signature " id="full_name-instance_method">
|
7143
7144
|
|
7144
|
-
|
7145
|
+
#<strong>full_name</strong>(suffix = nil, separator = ":") ⇒ <tt>String</tt>
|
7145
7146
|
|
7146
7147
|
|
7147
7148
|
|
@@ -7238,7 +7239,7 @@
|
|
7238
7239
|
<div class="method_details ">
|
7239
7240
|
<h3 class="signature " id="setup_with-instance_method">
|
7240
7241
|
|
7241
|
-
|
7242
|
+
#<strong>setup_with</strong>(options = {}) ⇒ <tt><span class='object_link'><a href="" title="Bovem::Command (class)">Command</a></span></tt>
|
7242
7243
|
|
7243
7244
|
|
7244
7245
|
|
@@ -7343,11 +7344,12 @@
|
|
7343
7344
|
|
7344
7345
|
</div>
|
7345
7346
|
|
7346
|
-
|
7347
|
-
Generated on
|
7347
|
+
<div id="footer">
|
7348
|
+
Generated on Thu Jan 12 16:11:00 2017 by
|
7348
7349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
7349
|
-
0.
|
7350
|
+
0.9.7 (ruby-2.3.0).
|
7350
7351
|
</div>
|
7351
7352
|
|
7353
|
+
</div>
|
7352
7354
|
</body>
|
7353
7355
|
</html>
|