bovem 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis-gemfile +1 -1
- data/.travis.yml +1 -4
- data/.yardopts +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -1
- data/LICENSE.md +21 -0
- data/README.md +21 -16
- data/Rakefile +1 -1
- data/bovem.gemspec +1 -1
- data/docs/Bovem.html +184 -0
- data/{doc → docs}/Bovem/Application.html +139 -140
- data/{doc → docs}/Bovem/Command.html +171 -169
- data/{doc → docs}/Bovem/CommandMethods.html +38 -38
- data/{doc → docs}/Bovem/CommandMethods/Children.html +69 -68
- data/{doc → docs}/Bovem/CommandMethods/Help.html +45 -44
- data/{doc → docs}/Bovem/Configuration.html +58 -57
- data/{doc → docs}/Bovem/Console.html +87 -88
- data/{doc → docs}/Bovem/ConsoleMethods.html +38 -38
- data/{doc → docs}/Bovem/ConsoleMethods/Interactions.html +52 -50
- data/{doc → docs}/Bovem/ConsoleMethods/Interactions/ClassMethods.html +41 -41
- data/{doc → docs}/Bovem/ConsoleMethods/Logging.html +81 -81
- data/{doc → docs}/Bovem/ConsoleMethods/Logging/ClassMethods.html +41 -41
- data/{doc → docs}/Bovem/ConsoleMethods/Output.html +59 -58
- data/{doc → docs}/Bovem/ConsoleMethods/StyleHandling.html +52 -50
- data/{doc → docs}/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +51 -51
- data/{doc → docs}/Bovem/Errors.html +38 -38
- data/{doc → docs}/Bovem/Errors/Error.html +57 -56
- data/{doc → docs}/Bovem/Errors/InvalidConfiguration.html +44 -43
- data/{doc → docs}/Bovem/Errors/InvalidLogger.html +44 -43
- data/{doc → docs}/Bovem/I18n.html +45 -44
- data/{doc → docs}/Bovem/Logger.html +79 -80
- data/{doc → docs}/Bovem/Option.html +138 -137
- data/{doc → docs}/Bovem/Parser.html +52 -50
- data/{doc → docs}/Bovem/ParserMethods.html +38 -38
- data/{doc → docs}/Bovem/ParserMethods/General.html +47 -45
- data/{doc → docs}/Bovem/ParserMethods/General/ClassMethods.html +47 -47
- data/docs/Bovem/Shell.html +625 -0
- data/{doc → docs}/Bovem/ShellMethods.html +38 -38
- data/{doc → docs}/Bovem/ShellMethods/Directories.html +47 -46
- data/{doc → docs}/Bovem/ShellMethods/Execute.html +47 -46
- data/docs/Bovem/ShellMethods/General.html +120 -0
- data/{doc → docs}/Bovem/ShellMethods/Read.html +47 -46
- data/{doc → docs}/Bovem/ShellMethods/Write.html +47 -46
- data/docs/Bovem/Version.html +187 -0
- data/{doc → docs}/_index.html +32 -35
- data/docs/class_list.html +51 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +32 -31
- data/{doc → docs}/css/style.css +244 -91
- data/{doc → docs}/file.README.html +34 -35
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/{doc → docs}/index.html +34 -35
- data/{doc → docs}/js/app.js +101 -77
- data/docs/js/full_list.js +216 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/docs/method_list.html +1115 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/bovem.rb +1 -1
- data/lib/bovem/application.rb +1 -1
- data/lib/bovem/command.rb +1 -1
- data/lib/bovem/configuration.rb +1 -1
- data/lib/bovem/console.rb +1 -1
- data/lib/bovem/errors.rb +1 -1
- data/lib/bovem/i18n.rb +1 -1
- data/lib/bovem/logger.rb +1 -1
- data/lib/bovem/option.rb +1 -1
- data/lib/bovem/parser.rb +1 -1
- data/lib/bovem/shell.rb +1 -1
- data/lib/bovem/version.rb +2 -2
- data/locales/en.yml +1 -1
- data/locales/it.yml +1 -1
- data/spec/bovem/application_spec.rb +1 -1
- data/spec/bovem/command_spec.rb +1 -1
- data/spec/bovem/configuration_spec.rb +1 -1
- data/spec/bovem/console_spec.rb +1 -1
- data/spec/bovem/errors_spec.rb +1 -1
- data/spec/bovem/i18n_spec.rb +1 -1
- data/spec/bovem/logger_spec.rb +1 -1
- data/spec/bovem/option_spec.rb +1 -1
- data/spec/bovem/parser_spec.rb +1 -1
- data/spec/bovem/shell_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +53 -52
- data/doc/Bovem.html +0 -186
- data/doc/Bovem/Shell.html +0 -623
- data/doc/Bovem/ShellMethods/General.html +0 -119
- data/doc/Bovem/Version.html +0 -189
- data/doc/class_list.html +0 -58
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/js/full_list.js +0 -181
- data/doc/method_list.html +0 -855
- data/doc/top-level-namespace.html +0 -112
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Logging
|
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::ConsoleMethods::Logging";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Bovem/ConsoleMethods/Logging.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,69 +27,71 @@
|
|
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 (L)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Bovem.html" title="Bovem (module)">Bovem</a></span></span> » <span class='title'><span class='object_link'><a href="../ConsoleMethods.html" title="Bovem::ConsoleMethods (module)">ConsoleMethods</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Logging</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Bovem::ConsoleMethods::Logging
|
62
|
+
<div id="content"><h1>Module: Bovem::ConsoleMethods::Logging
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
|
-
<dt
|
77
|
-
<dd
|
78
|
-
|
79
|
-
|
72
|
+
<dl>
|
73
|
+
<dt>Extended by:</dt>
|
74
|
+
<dd>ActiveSupport::Concern</dd>
|
75
|
+
</dl>
|
80
76
|
|
81
|
-
|
82
77
|
|
83
78
|
|
84
|
-
<dt class="r2">Included in:</dt>
|
85
|
-
<dd class="r2"><span class='object_link'><a href="../Console.html" title="Bovem::Console (class)">Bovem::Console</a></span></dd>
|
86
|
-
|
87
79
|
|
80
|
+
|
88
81
|
|
89
|
-
|
90
|
-
<
|
82
|
+
<dl>
|
83
|
+
<dt>Included in:</dt>
|
84
|
+
<dd><span class='object_link'><a href="../Console.html" title="Bovem::Console (class)">Bovem::Console</a></span></dd>
|
85
|
+
</dl>
|
91
86
|
|
92
|
-
|
93
|
-
|
87
|
+
|
88
|
+
|
89
|
+
<dl>
|
90
|
+
<dt>Defined in:</dt>
|
91
|
+
<dd>lib/bovem/console.rb</dd>
|
92
|
+
</dl>
|
93
|
+
|
94
|
+
</div>
|
94
95
|
|
95
96
|
<h2>Overview</h2><div class="docstring">
|
96
97
|
<div class="discussion">
|
@@ -114,11 +115,10 @@
|
|
114
115
|
</p>
|
115
116
|
|
116
117
|
<h2>Constant Summary</h2>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<
|
121
|
-
<div class="docstring">
|
118
|
+
<dl class="constants">
|
119
|
+
|
120
|
+
<dt id="DEFAULT_STATUSES-constant" class="">DEFAULT_STATUSES =
|
121
|
+
<div class="docstring">
|
122
122
|
<div class="discussion">
|
123
123
|
<p>Available statuses for tasks.</p>
|
124
124
|
|
@@ -129,17 +129,16 @@
|
|
129
129
|
|
130
130
|
|
131
131
|
</div>
|
132
|
-
|
133
|
-
|
132
|
+
</dt>
|
133
|
+
<dd><pre class="code"><span class='lbrace'>{</span>
|
134
134
|
<span class='label'>ok:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> OK </span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright green</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
135
135
|
<span class='label'>pass:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>PASS</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright cyan</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
136
136
|
<span class='label'>warn:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>WARN</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright yellow</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
137
137
|
<span class='label'>fail:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>FAIL</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright red</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
138
138
|
<span class='label'>skip:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>SKIP</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>gray</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
139
139
|
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
140
|
-
|
141
|
-
|
142
|
-
|
140
|
+
|
141
|
+
</dl>
|
143
142
|
|
144
143
|
|
145
144
|
|
@@ -150,7 +149,7 @@
|
|
150
149
|
|
151
150
|
<h2>
|
152
151
|
Instance Method Summary
|
153
|
-
<small
|
152
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
154
153
|
</h2>
|
155
154
|
|
156
155
|
<ul class="summary">
|
@@ -158,7 +157,7 @@
|
|
158
157
|
<li class="public ">
|
159
158
|
<span class="summary_signature">
|
160
159
|
|
161
|
-
<a href="#begin-instance_method" title="#begin (instance method)"
|
160
|
+
<a href="#begin-instance_method" title="#begin (instance method)">#<strong>begin</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ Object </a>
|
162
161
|
|
163
162
|
|
164
163
|
|
@@ -181,7 +180,7 @@
|
|
181
180
|
<li class="public ">
|
182
181
|
<span class="summary_signature">
|
183
182
|
|
184
|
-
<a href="#debug-instance_method" title="#debug (instance method)"
|
183
|
+
<a href="#debug-instance_method" title="#debug (instance method)">#<strong>debug</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ Object </a>
|
185
184
|
|
186
185
|
|
187
186
|
|
@@ -204,7 +203,7 @@
|
|
204
203
|
<li class="public ">
|
205
204
|
<span class="summary_signature">
|
206
205
|
|
207
|
-
<a href="#error-instance_method" title="#error (instance method)"
|
206
|
+
<a href="#error-instance_method" title="#error (instance method)">#<strong>error</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ Object </a>
|
208
207
|
|
209
208
|
|
210
209
|
|
@@ -227,7 +226,7 @@
|
|
227
226
|
<li class="public ">
|
228
227
|
<span class="summary_signature">
|
229
228
|
|
230
|
-
<a href="#fatal-instance_method" title="#fatal (instance method)"
|
229
|
+
<a href="#fatal-instance_method" title="#fatal (instance method)">#<strong>fatal</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, return_code: -1,, print: true) ⇒ Object </a>
|
231
230
|
|
232
231
|
|
233
232
|
|
@@ -250,7 +249,7 @@
|
|
250
249
|
<li class="public ">
|
251
250
|
<span class="summary_signature">
|
252
251
|
|
253
|
-
<a href="#get_banner-instance_method" title="#get_banner (instance method)"
|
252
|
+
<a href="#get_banner-instance_method" title="#get_banner (instance method)">#<strong>get_banner</strong>(label, base_color, full_colored: false, bracket_color: "blue", brackets: ["[", "]"]) ⇒ String </a>
|
254
253
|
|
255
254
|
|
256
255
|
|
@@ -273,7 +272,7 @@
|
|
273
272
|
<li class="public ">
|
274
273
|
<span class="summary_signature">
|
275
274
|
|
276
|
-
<a href="#info-instance_method" title="#info (instance method)"
|
275
|
+
<a href="#info-instance_method" title="#info (instance method)">#<strong>info</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true, banner: []) ⇒ Object </a>
|
277
276
|
|
278
277
|
|
279
278
|
|
@@ -296,7 +295,7 @@
|
|
296
295
|
<li class="public ">
|
297
296
|
<span class="summary_signature">
|
298
297
|
|
299
|
-
<a href="#progress-instance_method" title="#progress (instance method)"
|
298
|
+
<a href="#progress-instance_method" title="#progress (instance method)">#<strong>progress</strong>(current, total, type: :list, precision: 0) ⇒ String </a>
|
300
299
|
|
301
300
|
|
302
301
|
|
@@ -319,7 +318,7 @@
|
|
319
318
|
<li class="public ">
|
320
319
|
<span class="summary_signature">
|
321
320
|
|
322
|
-
<a href="#status-instance_method" title="#status (instance method)"
|
321
|
+
<a href="#status-instance_method" title="#status (instance method)">#<strong>status</strong>(status, plain: false, go_up: true, right: true, print: true) ⇒ Array </a>
|
323
322
|
|
324
323
|
|
325
324
|
|
@@ -342,7 +341,7 @@
|
|
342
341
|
<li class="public ">
|
343
342
|
<span class="summary_signature">
|
344
343
|
|
345
|
-
<a href="#warn-instance_method" title="#warn (instance method)"
|
344
|
+
<a href="#warn-instance_method" title="#warn (instance method)">#<strong>warn</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ Object </a>
|
346
345
|
|
347
346
|
|
348
347
|
|
@@ -365,7 +364,7 @@
|
|
365
364
|
<li class="public ">
|
366
365
|
<span class="summary_signature">
|
367
366
|
|
368
|
-
<a href="#write-instance_method" title="#write (instance method)"
|
367
|
+
<a href="#write-instance_method" title="#write (instance method)">#<strong>write</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, print: true) ⇒ String </a>
|
369
368
|
|
370
369
|
|
371
370
|
|
@@ -388,7 +387,7 @@
|
|
388
387
|
<li class="public ">
|
389
388
|
<span class="summary_signature">
|
390
389
|
|
391
|
-
<a href="#write_banner_aligned-instance_method" title="#write_banner_aligned (instance method)"
|
390
|
+
<a href="#write_banner_aligned-instance_method" title="#write_banner_aligned (instance method)">#<strong>write_banner_aligned</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, print: true) ⇒ String </a>
|
392
391
|
|
393
392
|
|
394
393
|
|
@@ -421,7 +420,7 @@
|
|
421
420
|
<div class="method_details first">
|
422
421
|
<h3 class="signature first" id="begin-instance_method">
|
423
422
|
|
424
|
-
|
423
|
+
#<strong>begin</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ <tt>Object</tt>
|
425
424
|
|
426
425
|
|
427
426
|
|
@@ -597,7 +596,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
597
596
|
<div class="method_details ">
|
598
597
|
<h3 class="signature " id="debug-instance_method">
|
599
598
|
|
600
|
-
|
599
|
+
#<strong>debug</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ <tt>Object</tt>
|
601
600
|
|
602
601
|
|
603
602
|
|
@@ -789,7 +788,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
789
788
|
<div class="method_details ">
|
790
789
|
<h3 class="signature " id="error-instance_method">
|
791
790
|
|
792
|
-
|
791
|
+
#<strong>error</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ <tt>Object</tt>
|
793
792
|
|
794
793
|
|
795
794
|
|
@@ -981,7 +980,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
981
980
|
<div class="method_details ">
|
982
981
|
<h3 class="signature " id="fatal-instance_method">
|
983
982
|
|
984
|
-
|
983
|
+
#<strong>fatal</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, return_code: -1,, print: true) ⇒ <tt>Object</tt>
|
985
984
|
|
986
985
|
|
987
986
|
|
@@ -1170,7 +1169,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1170
1169
|
<div class="method_details ">
|
1171
1170
|
<h3 class="signature " id="get_banner-instance_method">
|
1172
1171
|
|
1173
|
-
|
1172
|
+
#<strong>get_banner</strong>(label, base_color, full_colored: false, bracket_color: "blue", brackets: ["[", "]"]) ⇒ <tt>String</tt>
|
1174
1173
|
|
1175
1174
|
|
1176
1175
|
|
@@ -1306,7 +1305,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1306
1305
|
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 368</span>
|
1307
1306
|
|
1308
1307
|
<span class='kw'>def</span> <span class='id identifier rubyid_get_banner'>get_banner</span><span class='lparen'>(</span><span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_base_color'>base_color</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>bracket_color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>blue</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>brackets:</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>[</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>]</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
1309
|
-
<span class='id identifier rubyid_label'>label</span> <span class='op'>=</span> <span class='id identifier rubyid_label'>label</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Console</span><span class='period'>.</span><span class='id identifier rubyid_min_banner_length'>min_banner_length</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1308
|
+
<span class='id identifier rubyid_label'>label</span> <span class='op'>=</span> <span class='id identifier rubyid_label'>label</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</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="../Console.html" title="Bovem::Console (class)">Console</a></span></span><span class='period'>.</span><span class='id identifier rubyid_min_banner_length'>min_banner_length</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1310
1309
|
<span class='id identifier rubyid_brackets'>brackets</span> <span class='op'>=</span> <span class='id identifier rubyid_brackets'>brackets</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span>
|
1311
1310
|
<span class='id identifier rubyid_bracket_color'>bracket_color</span> <span class='op'>=</span> <span class='id identifier rubyid_base_color'>base_color</span> <span class='kw'>if</span> <span class='id identifier rubyid_full_colored'>full_colored</span>
|
1312
1311
|
<span class='id identifier rubyid_sprintf'>sprintf</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=%s}%s{mark=%s}%s{/mark}%s{/mark}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_bracket_color'>bracket_color</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span><span class='comma'>,</span> <span class='id identifier rubyid_brackets'>brackets</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_base_color'>base_color</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span><span class='comma'>,</span> <span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_brackets'>brackets</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -1319,7 +1318,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1319
1318
|
<div class="method_details ">
|
1320
1319
|
<h3 class="signature " id="info-instance_method">
|
1321
1320
|
|
1322
|
-
|
1321
|
+
#<strong>info</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true, banner: []) ⇒ <tt>Object</tt>
|
1323
1322
|
|
1324
1323
|
|
1325
1324
|
|
@@ -1514,7 +1513,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1514
1513
|
<div class="method_details ">
|
1515
1514
|
<h3 class="signature " id="progress-instance_method">
|
1516
1515
|
|
1517
|
-
|
1516
|
+
#<strong>progress</strong>(current, total, type: :list, precision: 0) ⇒ <tt>String</tt>
|
1518
1517
|
|
1519
1518
|
|
1520
1519
|
|
@@ -1647,7 +1646,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1647
1646
|
<div class="method_details ">
|
1648
1647
|
<h3 class="signature " id="status-instance_method">
|
1649
1648
|
|
1650
|
-
|
1649
|
+
#<strong>status</strong>(status, plain: false, go_up: true, right: true, print: true) ⇒ <tt>Array</tt>
|
1651
1650
|
|
1652
1651
|
|
1653
1652
|
|
@@ -1788,7 +1787,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1788
1787
|
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 340</span>
|
1789
1788
|
|
1790
1789
|
<span class='kw'>def</span> <span class='id identifier rubyid_status'>status</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>go_up:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>right:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1791
|
-
<span class='id identifier rubyid_statuses'>statuses</span> <span class='op'>=</span> <span class='const'>DEFAULT_STATUSES</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
1790
|
+
<span class='id identifier rubyid_statuses'>statuses</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="#DEFAULT_STATUSES-constant" title="Bovem::ConsoleMethods::Logging::DEFAULT_STATUSES (constant)">DEFAULT_STATUSES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
1792
1791
|
<span class='id identifier rubyid_statuses'>statuses</span><span class='period'>.</span><span class='id identifier rubyid_default'>default</span> <span class='op'>=</span> <span class='id identifier rubyid_statuses'>statuses</span><span class='lbracket'>[</span><span class='symbol'>:ok</span><span class='rbracket'>]</span>
|
1793
1792
|
|
1794
1793
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_statuses'>statuses</span><span class='lbracket'>[</span><span class='id identifier rubyid_status'>status</span><span class='rbracket'>]</span>
|
@@ -1813,7 +1812,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1813
1812
|
<div class="method_details ">
|
1814
1813
|
<h3 class="signature " id="warn-instance_method">
|
1815
1814
|
|
1816
|
-
|
1815
|
+
#<strong>warn</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, indented_banner: false, full_colored: false, print: true) ⇒ <tt>Object</tt>
|
1817
1816
|
|
1818
1817
|
|
1819
1818
|
|
@@ -2005,7 +2004,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2005
2004
|
<div class="method_details ">
|
2006
2005
|
<h3 class="signature " id="write-instance_method">
|
2007
2006
|
|
2008
|
-
|
2007
|
+
#<strong>write</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, print: true) ⇒ <tt>String</tt>
|
2009
2008
|
|
2010
2009
|
|
2011
2010
|
|
@@ -2168,7 +2167,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2168
2167
|
<div class="method_details ">
|
2169
2168
|
<h3 class="signature " id="write_banner_aligned-instance_method">
|
2170
2169
|
|
2171
|
-
|
2170
|
+
#<strong>write_banner_aligned</strong>(message, suffix: "\n", indented: true, wrap: false, plain: false, print: true) ⇒ <tt>String</tt>
|
2172
2171
|
|
2173
2172
|
|
2174
2173
|
|
@@ -2325,7 +2324,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2325
2324
|
|
2326
2325
|
<span class='kw'>def</span> <span class='id identifier rubyid_write_banner_aligned'>write_banner_aligned</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2327
2326
|
<span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span>
|
2328
|
-
<span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'>*</span> <span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Console</span><span class='period'>.</span><span class='id identifier rubyid_min_banner_length'>min_banner_length</span> <span class='op'>+</span> <span class='int'>3</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>+</span> <span class='id identifier rubyid_message'>message</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='comma'>,</span>
|
2327
|
+
<span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'>*</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="../Console.html" title="Bovem::Console (class)">Console</a></span></span><span class='period'>.</span><span class='id identifier rubyid_min_banner_length'>min_banner_length</span> <span class='op'>+</span> <span class='int'>3</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>+</span> <span class='id identifier rubyid_message'>message</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='comma'>,</span>
|
2329
2328
|
<span class='label'>suffix:</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span>
|
2330
2329
|
<span class='label'>indented:</span> <span class='id identifier rubyid_indented'>indented</span><span class='comma'>,</span>
|
2331
2330
|
<span class='label'>wrap:</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span>
|
@@ -2342,11 +2341,12 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2342
2341
|
|
2343
2342
|
</div>
|
2344
2343
|
|
2345
|
-
|
2346
|
-
Generated on
|
2344
|
+
<div id="footer">
|
2345
|
+
Generated on Thu Jan 12 16:10:58 2017 by
|
2347
2346
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2348
|
-
0.
|
2347
|
+
0.9.7 (ruby-2.3.0).
|
2349
2348
|
</div>
|
2350
2349
|
|
2350
|
+
</div>
|
2351
2351
|
</body>
|
2352
2352
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Logging::ClassMethods
|
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::ConsoleMethods::Logging::ClassMethods";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!Bovem/ConsoleMethods/Logging/ClassMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../../Bovem.html" title="Bovem (module)">Bovem</a></span></span> » <span class='title'><span class='object_link'><a href="../../ConsoleMethods.html" title="Bovem::ConsoleMethods (module)">ConsoleMethods</a></span></span> » <span class='title'><span class='object_link'><a href="../Logging.html" title="Bovem::ConsoleMethods::Logging (module)">Logging</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ClassMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: Bovem::ConsoleMethods::Logging::ClassMethods
|
62
|
+
<div id="content"><h1>Module: Bovem::ConsoleMethods::Logging::ClassMethods
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/bovem/console.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
<h2>Overview</h2><div class="docstring">
|
88
87
|
<div class="discussion">
|
@@ -104,7 +103,7 @@
|
|
104
103
|
|
105
104
|
<h2>
|
106
105
|
Instance Method Summary
|
107
|
-
<small
|
106
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
107
|
</h2>
|
109
108
|
|
110
109
|
<ul class="summary">
|
@@ -112,7 +111,7 @@
|
|
112
111
|
<li class="public ">
|
113
112
|
<span class="summary_signature">
|
114
113
|
|
115
|
-
<a href="#min_banner_length-instance_method" title="#min_banner_length (instance method)"
|
114
|
+
<a href="#min_banner_length-instance_method" title="#min_banner_length (instance method)">#<strong>min_banner_length</strong> ⇒ Fixnum </a>
|
116
115
|
|
117
116
|
|
118
117
|
|
@@ -144,7 +143,7 @@
|
|
144
143
|
<div class="method_details first">
|
145
144
|
<h3 class="signature first" id="min_banner_length-instance_method">
|
146
145
|
|
147
|
-
|
146
|
+
#<strong>min_banner_length</strong> ⇒ <tt>Fixnum</tt>
|
148
147
|
|
149
148
|
|
150
149
|
|
@@ -202,11 +201,12 @@
|
|
202
201
|
|
203
202
|
</div>
|
204
203
|
|
205
|
-
|
206
|
-
Generated on
|
204
|
+
<div id="footer">
|
205
|
+
Generated on Thu Jan 12 16:10:58 2017 by
|
207
206
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
208
|
-
0.
|
207
|
+
0.9.7 (ruby-2.3.0).
|
209
208
|
</div>
|
210
209
|
|
210
|
+
</div>
|
211
211
|
</body>
|
212
212
|
</html>
|