bovem 2.0.3 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis-gemfile +13 -0
- data/.travis.yml +4 -2
- data/Gemfile +13 -1
- data/bovem.gemspec +2 -10
- data/doc/Bovem.html +3 -3
- data/doc/Bovem/Configuration.html +14 -12
- data/doc/Bovem/Console.html +155 -301
- data/doc/Bovem/ConsoleMethods.html +3 -3
- data/doc/Bovem/ConsoleMethods/Interactions.html +36 -44
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +7 -7
- data/doc/Bovem/ConsoleMethods/Logging.html +62 -62
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +7 -7
- data/doc/Bovem/ConsoleMethods/Output.html +59 -141
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +3 -3
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +4 -4
- data/doc/Bovem/Errors.html +3 -3
- data/doc/Bovem/Errors/InvalidConfiguration.html +3 -3
- data/doc/Bovem/Errors/InvalidLogger.html +3 -3
- data/doc/Bovem/Logger.html +3 -3
- data/doc/Bovem/Shell.html +22 -22
- data/doc/Bovem/ShellMethods.html +3 -3
- data/doc/Bovem/ShellMethods/Directories.html +21 -21
- data/doc/Bovem/ShellMethods/Execute.html +21 -21
- data/doc/Bovem/ShellMethods/General.html +130 -20
- data/doc/Bovem/ShellMethods/Read.html +21 -21
- data/doc/Bovem/ShellMethods/Write.html +20 -20
- data/doc/Bovem/Version.html +5 -5
- data/doc/_index.html +4 -4
- data/doc/file.README.html +3 -3
- data/doc/frames.html +1 -1
- data/doc/index.html +3 -3
- data/doc/method_list.html +43 -51
- data/doc/top-level-namespace.html +3 -3
- data/lib/bovem.rb +1 -1
- data/lib/bovem/configuration.rb +12 -4
- data/lib/bovem/console.rb +25 -46
- data/lib/bovem/shell.rb +12 -5
- data/lib/bovem/version.rb +2 -2
- data/spec/bovem/configuration_spec.rb +3 -3
- data/spec/bovem/console_spec.rb +12 -30
- data/spec/bovem/shell_spec.rb +17 -2
- metadata +6 -118
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Feb 5 13:31:46 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.
|
121
|
+
0.8.4 (ruby-1.9.3).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Interactions
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -266,7 +266,7 @@
|
|
266
266
|
|
267
267
|
|
268
268
|
—
|
269
|
-
<div class='inline'><p>If to show submitted text to the user.</p>
|
269
|
+
<div class='inline'><p>If to show submitted text to the user. <strong>Not supported and thus ignored on Rubinius.</strong></p>
|
270
270
|
</div>
|
271
271
|
|
272
272
|
</li>
|
@@ -280,46 +280,38 @@
|
|
280
280
|
<pre class="lines">
|
281
281
|
|
282
282
|
|
283
|
+
461
|
284
|
+
462
|
285
|
+
463
|
286
|
+
464
|
287
|
+
465
|
288
|
+
466
|
289
|
+
467
|
290
|
+
468
|
283
291
|
469
|
284
292
|
470
|
285
293
|
471
|
286
294
|
472
|
287
295
|
473
|
288
296
|
474
|
289
|
-
475
|
290
|
-
476
|
291
|
-
477
|
292
|
-
478
|
293
|
-
479
|
294
|
-
480
|
295
|
-
481
|
296
|
-
482
|
297
|
-
483
|
298
|
-
484
|
299
|
-
485
|
300
|
-
486
|
301
|
-
487</pre>
|
297
|
+
475</pre>
|
302
298
|
</td>
|
303
299
|
<td>
|
304
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
300
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 461</span>
|
305
301
|
|
306
302
|
<span class='kw'>def</span> <span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='id identifier rubyid_prompt'>prompt</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_default_value'>default_value</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_validator'>validator</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_echo'>echo</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
307
303
|
<span class='id identifier rubyid_prompt'>prompt</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_prompt'>sanitize_prompt</span><span class='lparen'>(</span><span class='id identifier rubyid_prompt'>prompt</span><span class='rparen'>)</span>
|
304
|
+
<span class='id identifier rubyid_validator'>validator</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_validator'>sanitize_validator</span><span class='lparen'>(</span><span class='id identifier rubyid_validator'>validator</span><span class='rparen'>)</span>
|
308
305
|
|
309
|
-
<span class='
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
<span class='id identifier rubyid_catch'>catch</span><span class='lparen'>(</span><span class='symbol'>:reply</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
315
|
-
<span class='kw'>while</span> <span class='kw'>true</span> <span class='kw'>do</span>
|
316
|
-
<span class='id identifier rubyid_reply'>reply</span> <span class='op'>=</span> <span class='id identifier rubyid_validate_input_value'>validate_input_value</span><span class='lparen'>(</span><span class='id identifier rubyid_read_input_value'>read_input_value</span><span class='lparen'>(</span><span class='id identifier rubyid_prompt'>prompt</span><span class='comma'>,</span> <span class='id identifier rubyid_default_value'>default_value</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_validator'>validator</span><span class='rparen'>)</span>
|
317
|
-
<span class='id identifier rubyid_handle_reply'>handle_reply</span><span class='lparen'>(</span><span class='id identifier rubyid_reply'>reply</span><span class='rparen'>)</span>
|
318
|
-
<span class='kw'>end</span>
|
306
|
+
<span class='kw'>begin</span>
|
307
|
+
<span class='id identifier rubyid_catch'>catch</span><span class='lparen'>(</span><span class='symbol'>:reply</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
308
|
+
<span class='kw'>while</span> <span class='kw'>true</span> <span class='kw'>do</span>
|
309
|
+
<span class='id identifier rubyid_reply'>reply</span> <span class='op'>=</span> <span class='id identifier rubyid_validate_input_value'>validate_input_value</span><span class='lparen'>(</span><span class='id identifier rubyid_read_input_value'>read_input_value</span><span class='lparen'>(</span><span class='id identifier rubyid_prompt'>prompt</span><span class='comma'>,</span> <span class='id identifier rubyid_echo'>echo</span><span class='comma'>,</span> <span class='id identifier rubyid_default_value'>default_value</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_validator'>validator</span><span class='rparen'>)</span>
|
310
|
+
<span class='id identifier rubyid_handle_reply'>handle_reply</span><span class='lparen'>(</span><span class='id identifier rubyid_reply'>reply</span><span class='rparen'>)</span>
|
319
311
|
<span class='kw'>end</span>
|
320
|
-
<span class='kw'>rescue</span> <span class='const'>Interrupt</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
321
|
-
<span class='id identifier rubyid_default_value'>default_value</span>
|
322
312
|
<span class='kw'>end</span>
|
313
|
+
<span class='kw'>rescue</span> <span class='const'>Interrupt</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
314
|
+
<span class='id identifier rubyid_default_value'>default_value</span>
|
323
315
|
<span class='kw'>end</span>
|
324
316
|
<span class='kw'>end</span></pre>
|
325
317
|
</td>
|
@@ -526,22 +518,22 @@
|
|
526
518
|
<pre class="lines">
|
527
519
|
|
528
520
|
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
521
|
+
489
|
522
|
+
490
|
523
|
+
491
|
524
|
+
492
|
525
|
+
493
|
526
|
+
494
|
527
|
+
495
|
528
|
+
496
|
529
|
+
497
|
530
|
+
498
|
531
|
+
499
|
532
|
+
500
|
533
|
+
501</pre>
|
542
534
|
</td>
|
543
535
|
<td>
|
544
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
536
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 489</span>
|
545
537
|
|
546
538
|
<span class='kw'>def</span> <span class='id identifier rubyid_task'>task</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_block_indentation'>block_indentation</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_block_indentation_absolute'>block_indentation_absolute</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
547
539
|
<span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -566,9 +558,9 @@
|
|
566
558
|
</div>
|
567
559
|
|
568
560
|
<div id="footer">
|
569
|
-
Generated on
|
561
|
+
Generated on Tue Feb 5 13:31:46 2013 by
|
570
562
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
571
|
-
0.8.
|
563
|
+
0.8.4 (ruby-1.9.3).
|
572
564
|
</div>
|
573
565
|
|
574
566
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Interactions::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -202,12 +202,12 @@
|
|
202
202
|
<pre class="lines">
|
203
203
|
|
204
204
|
|
205
|
-
|
206
|
-
|
207
|
-
|
205
|
+
450
|
206
|
+
451
|
207
|
+
452</pre>
|
208
208
|
</td>
|
209
209
|
<td>
|
210
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
210
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 450</span>
|
211
211
|
|
212
212
|
<span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='rparen'>)</span>
|
213
213
|
<span class='backtick'>%x{</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_command'>command</span><span class='rbrace'>}</span><span class='tstring_end'>}</span></span>
|
@@ -222,9 +222,9 @@
|
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div id="footer">
|
225
|
-
Generated on
|
225
|
+
Generated on Tue Feb 5 13:31:46 2013 by
|
226
226
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
227
|
-
0.8.
|
227
|
+
0.8.4 (ruby-1.9.3).
|
228
228
|
</div>
|
229
229
|
|
230
230
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Logging
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -537,14 +537,14 @@
|
|
537
537
|
<pre class="lines">
|
538
538
|
|
539
539
|
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
540
|
+
345
|
541
|
+
346
|
542
|
+
347
|
543
|
+
348
|
544
|
+
349</pre>
|
545
545
|
</td>
|
546
546
|
<td>
|
547
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
547
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 345</span>
|
548
548
|
|
549
549
|
<span class='kw'>def</span> <span class='kw'>begin</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
550
550
|
<span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get_banner'>get_banner</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright green</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -726,12 +726,12 @@
|
|
726
726
|
<pre class="lines">
|
727
727
|
|
728
728
|
|
729
|
-
|
730
|
-
|
731
|
-
|
729
|
+
402
|
730
|
+
403
|
731
|
+
404</pre>
|
732
732
|
</td>
|
733
733
|
<td>
|
734
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
734
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 402</span>
|
735
735
|
|
736
736
|
<span class='kw'>def</span> <span class='id identifier rubyid_debug'>debug</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
737
737
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>D</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright magenta</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -911,12 +911,12 @@
|
|
911
911
|
<pre class="lines">
|
912
912
|
|
913
913
|
|
914
|
-
|
915
|
-
|
916
|
-
|
914
|
+
435
|
915
|
+
436
|
916
|
+
437</pre>
|
917
917
|
</td>
|
918
918
|
<td>
|
919
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
919
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 435</span>
|
920
920
|
|
921
921
|
<span class='kw'>def</span> <span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
922
922
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>E</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright red</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -1113,13 +1113,13 @@
|
|
1113
1113
|
<pre class="lines">
|
1114
1114
|
|
1115
1115
|
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1116
|
+
364
|
1117
|
+
365
|
1118
|
+
366
|
1119
|
+
367</pre>
|
1120
1120
|
</td>
|
1121
1121
|
<td>
|
1122
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1122
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 364</span>
|
1123
1123
|
|
1124
1124
|
<span class='kw'>def</span> <span class='id identifier rubyid_fatal'>fatal</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_return_code'>return_code</span> <span class='op'>=</span> <span class='op'>-</span><span class='int'>1</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1125
1125
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span><span class='rparen'>)</span>
|
@@ -1264,15 +1264,15 @@
|
|
1264
1264
|
<pre class="lines">
|
1265
1265
|
|
1266
1266
|
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1267
|
+
326
|
1268
|
+
327
|
1269
|
+
328
|
1270
|
+
329
|
1271
|
+
330
|
1272
|
+
331</pre>
|
1273
1273
|
</td>
|
1274
1274
|
<td>
|
1275
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1275
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 326</span>
|
1276
1276
|
|
1277
1277
|
<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='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_bracket_color'>bracket_color</span> <span class='op'>=</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='id identifier rubyid_brackets'>brackets</span> <span class='op'>=</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>
|
1278
1278
|
<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>
|
@@ -1470,16 +1470,16 @@
|
|
1470
1470
|
<pre class="lines">
|
1471
1471
|
|
1472
1472
|
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1473
|
+
382
|
1474
|
+
383
|
1475
|
+
384
|
1476
|
+
385
|
1477
|
+
386
|
1478
|
+
387
|
1479
|
+
388</pre>
|
1480
1480
|
</td>
|
1481
1481
|
<td>
|
1482
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1482
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 382</span>
|
1483
1483
|
|
1484
1484
|
<span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_banner'>banner</span><span class='rparen'>)</span>
|
1485
1485
|
<span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='id identifier rubyid_banner'>banner</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span>
|
@@ -1622,6 +1622,14 @@
|
|
1622
1622
|
<pre class="lines">
|
1623
1623
|
|
1624
1624
|
|
1625
|
+
293
|
1626
|
+
294
|
1627
|
+
295
|
1628
|
+
296
|
1629
|
+
297
|
1630
|
+
298
|
1631
|
+
299
|
1632
|
+
300
|
1625
1633
|
301
|
1626
1634
|
302
|
1627
1635
|
303
|
@@ -1636,18 +1644,10 @@
|
|
1636
1644
|
312
|
1637
1645
|
313
|
1638
1646
|
314
|
1639
|
-
315
|
1640
|
-
316
|
1641
|
-
317
|
1642
|
-
318
|
1643
|
-
319
|
1644
|
-
320
|
1645
|
-
321
|
1646
|
-
322
|
1647
|
-
323</pre>
|
1647
|
+
315</pre>
|
1648
1648
|
</td>
|
1649
1649
|
<td>
|
1650
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1650
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 293</span>
|
1651
1651
|
|
1652
1652
|
<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='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_go_up'>go_up</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_right'>right</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1653
1653
|
<span class='id identifier rubyid_statuses'>statuses</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
@@ -1847,13 +1847,13 @@
|
|
1847
1847
|
<pre class="lines">
|
1848
1848
|
|
1849
1849
|
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1850
|
+
418
|
1851
|
+
419
|
1852
|
+
420
|
1853
|
+
421</pre>
|
1854
1854
|
</td>
|
1855
1855
|
<td>
|
1856
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1856
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 418</span>
|
1857
1857
|
|
1858
1858
|
<span class='kw'>def</span> <span class='id identifier rubyid_warn'>warn</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1859
1859
|
<span class='id identifier rubyid_warn_banner'>warn_banner</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>W</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright yellow</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
@@ -2017,14 +2017,14 @@
|
|
2017
2017
|
<pre class="lines">
|
2018
2018
|
|
2019
2019
|
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
|
2024
|
-
|
2020
|
+
264
|
2021
|
+
265
|
2022
|
+
266
|
2023
|
+
267
|
2024
|
+
268</pre>
|
2025
2025
|
</td>
|
2026
2026
|
<td>
|
2027
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
2027
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 264</span>
|
2028
2028
|
|
2029
2029
|
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2030
2030
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_format'>format</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span><span class='rparen'>)</span>
|
@@ -2189,12 +2189,12 @@
|
|
2189
2189
|
<pre class="lines">
|
2190
2190
|
|
2191
2191
|
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2192
|
+
281
|
2193
|
+
282
|
2194
|
+
283</pre>
|
2195
2195
|
</td>
|
2196
2196
|
<td>
|
2197
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
2197
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 281</span>
|
2198
2198
|
|
2199
2199
|
<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='id identifier rubyid_suffix'>suffix</span> <span class='op'>=</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='id identifier rubyid_indent'>indent</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2200
2200
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'>*</span> <span class='lparen'>(</span><span class='op'>::</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> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='id identifier rubyid_plain'>plain</span><span class='comma'>,</span> <span class='id identifier rubyid_print'>print</span><span class='rparen'>)</span>
|
@@ -2209,9 +2209,9 @@
|
|
2209
2209
|
</div>
|
2210
2210
|
|
2211
2211
|
<div id="footer">
|
2212
|
-
Generated on
|
2212
|
+
Generated on Tue Feb 5 13:31:46 2013 by
|
2213
2213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2214
|
-
0.8.
|
2214
|
+
0.8.4 (ruby-1.9.3).
|
2215
2215
|
</div>
|
2216
2216
|
|
2217
2217
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Bovem::ConsoleMethods::Logging::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -183,12 +183,12 @@
|
|
183
183
|
<pre class="lines">
|
184
184
|
|
185
185
|
|
186
|
-
|
187
|
-
|
188
|
-
|
186
|
+
248
|
187
|
+
249
|
188
|
+
250</pre>
|
189
189
|
</td>
|
190
190
|
<td>
|
191
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
191
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 248</span>
|
192
192
|
|
193
193
|
<span class='kw'>def</span> <span class='id identifier rubyid_min_banner_length'>min_banner_length</span>
|
194
194
|
<span class='int'>1</span>
|
@@ -203,9 +203,9 @@
|
|
203
203
|
</div>
|
204
204
|
|
205
205
|
<div id="footer">
|
206
|
-
Generated on
|
206
|
+
Generated on Tue Feb 5 13:31:46 2013 by
|
207
207
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
208
|
-
0.8.
|
208
|
+
0.8.4 (ruby-1.9.3).
|
209
209
|
</div>
|
210
210
|
|
211
211
|
</body>
|