bovem 2.1.3 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bovem.gemspec +1 -1
- data/doc/Bovem.html +1 -1
- data/doc/Bovem/Configuration.html +2 -2
- data/doc/Bovem/Console.html +28 -28
- data/doc/Bovem/ConsoleMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Interactions.html +12 -12
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +5 -5
- data/doc/Bovem/ConsoleMethods/Logging.html +49 -49
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +5 -5
- data/doc/Bovem/ConsoleMethods/Output.html +39 -41
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +5 -5
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +14 -18
- data/doc/Bovem/Errors.html +1 -1
- data/doc/Bovem/Errors/InvalidConfiguration.html +1 -1
- data/doc/Bovem/Errors/InvalidLogger.html +1 -1
- data/doc/Bovem/Logger.html +6 -6
- data/doc/Bovem/Shell.html +13 -13
- data/doc/Bovem/ShellMethods.html +1 -1
- data/doc/Bovem/ShellMethods/Directories.html +9 -9
- data/doc/Bovem/ShellMethods/Execute.html +9 -9
- data/doc/Bovem/ShellMethods/General.html +1 -1
- data/doc/Bovem/ShellMethods/Read.html +1 -1
- data/doc/Bovem/ShellMethods/Write.html +7 -9
- data/doc/Bovem/Version.html +3 -3
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/bovem/configuration.rb +2 -2
- data/lib/bovem/console.rb +10 -13
- data/lib/bovem/logger.rb +2 -2
- data/lib/bovem/shell.rb +14 -12
- data/lib/bovem/version.rb +2 -2
- data/spec/bovem/console_spec.rb +1 -1
- data/spec/bovem/shell_spec.rb +8 -8
- metadata +5 -5
data/bovem.gemspec
CHANGED
data/doc/Bovem.html
CHANGED
@@ -158,7 +158,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
158
158
|
</div>
|
159
159
|
|
160
160
|
<div id="footer">
|
161
|
-
Generated on
|
161
|
+
Generated on Thu Feb 28 10:15:57 2013 by
|
162
162
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
163
163
|
0.8.5.2 (ruby-1.9.3).
|
164
164
|
</div>
|
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
108
|
-
<p>This class holds the configuration of an
|
108
|
+
<p>This class holds the configuration of an application.</p>
|
109
109
|
|
110
110
|
<p>Extend this class and add valid properties via <span class='object_link'><a href="#property-class_method" title="Bovem::Configuration.property (method)">property</a></span> method.
|
111
111
|
Example:</p>
|
@@ -580,7 +580,7 @@ config.property = "VALUE"
|
|
580
580
|
</div>
|
581
581
|
|
582
582
|
<div id="footer">
|
583
|
-
Generated on
|
583
|
+
Generated on Thu Feb 28 10:15:59 2013 by
|
584
584
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
585
585
|
0.8.5.2 (ruby-1.9.3).
|
586
586
|
</div>
|
data/doc/Bovem/Console.html
CHANGED
@@ -344,14 +344,14 @@
|
|
344
344
|
<pre class="lines">
|
345
345
|
|
346
346
|
|
347
|
+
606
|
348
|
+
607
|
349
|
+
608
|
347
350
|
609
|
348
|
-
610
|
349
|
-
611
|
350
|
-
612
|
351
|
-
613</pre>
|
351
|
+
610</pre>
|
352
352
|
</td>
|
353
353
|
<td>
|
354
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
354
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 606</span>
|
355
355
|
|
356
356
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
357
357
|
<span class='ivar'>@indentation</span> <span class='op'>=</span> <span class='int'>0</span>
|
@@ -412,6 +412,9 @@
|
|
412
412
|
<pre class="lines">
|
413
413
|
|
414
414
|
|
415
|
+
588
|
416
|
+
589
|
417
|
+
590
|
415
418
|
591
|
416
419
|
592
|
417
420
|
593
|
@@ -444,13 +447,10 @@
|
|
444
447
|
620
|
445
448
|
621
|
446
449
|
622
|
447
|
-
623
|
448
|
-
624
|
449
|
-
625
|
450
|
-
626</pre>
|
450
|
+
623</pre>
|
451
451
|
</td>
|
452
452
|
<td>
|
453
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
453
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 588</span>
|
454
454
|
|
455
455
|
<span class='kw'>class</span> <span class='const'>Console</span>
|
456
456
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:indentation</span>
|
@@ -483,7 +483,7 @@
|
|
483
483
|
<span class='kw'>begin</span>
|
484
484
|
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>io/console</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='op'>!</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='rparen'>)</span>
|
485
485
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
486
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier
|
486
|
+
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid__'>_</span>
|
487
487
|
<span class='int'>80</span>
|
488
488
|
<span class='kw'>end</span>
|
489
489
|
<span class='kw'>end</span>
|
@@ -537,6 +537,9 @@
|
|
537
537
|
<pre class="lines">
|
538
538
|
|
539
539
|
|
540
|
+
588
|
541
|
+
589
|
542
|
+
590
|
540
543
|
591
|
541
544
|
592
|
542
545
|
593
|
@@ -569,13 +572,10 @@
|
|
569
572
|
620
|
570
573
|
621
|
571
574
|
622
|
572
|
-
623
|
573
|
-
624
|
574
|
-
625
|
575
|
-
626</pre>
|
575
|
+
623</pre>
|
576
576
|
</td>
|
577
577
|
<td>
|
578
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
578
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 588</span>
|
579
579
|
|
580
580
|
<span class='kw'>class</span> <span class='const'>Console</span>
|
581
581
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:indentation</span>
|
@@ -608,7 +608,7 @@
|
|
608
608
|
<span class='kw'>begin</span>
|
609
609
|
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>io/console</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='op'>!</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='rparen'>)</span>
|
610
610
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
611
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier
|
611
|
+
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid__'>_</span>
|
612
612
|
<span class='int'>80</span>
|
613
613
|
<span class='kw'>end</span>
|
614
614
|
<span class='kw'>end</span>
|
@@ -667,12 +667,12 @@
|
|
667
667
|
<pre class="lines">
|
668
668
|
|
669
669
|
|
670
|
-
|
671
|
-
|
672
|
-
|
670
|
+
601
|
671
|
+
602
|
672
|
+
603</pre>
|
673
673
|
</td>
|
674
674
|
<td>
|
675
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
675
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 601</span>
|
676
676
|
|
677
677
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
|
678
678
|
<span class='ivar'>@instance</span> <span class='op'>||=</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_new'>new</span>
|
@@ -730,23 +730,23 @@
|
|
730
730
|
<pre class="lines">
|
731
731
|
|
732
732
|
|
733
|
+
615
|
734
|
+
616
|
735
|
+
617
|
733
736
|
618
|
734
737
|
619
|
735
738
|
620
|
736
739
|
621
|
737
|
-
622
|
738
|
-
623
|
739
|
-
624
|
740
|
-
625</pre>
|
740
|
+
622</pre>
|
741
741
|
</td>
|
742
742
|
<td>
|
743
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
743
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 615</span>
|
744
744
|
|
745
745
|
<span class='kw'>def</span> <span class='id identifier rubyid_line_width'>line_width</span>
|
746
746
|
<span class='kw'>begin</span>
|
747
747
|
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>io/console</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='op'>!</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='rparen'>)</span>
|
748
748
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
749
|
-
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier
|
749
|
+
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid__'>_</span>
|
750
750
|
<span class='int'>80</span>
|
751
751
|
<span class='kw'>end</span>
|
752
752
|
<span class='kw'>end</span></pre>
|
@@ -760,7 +760,7 @@
|
|
760
760
|
</div>
|
761
761
|
|
762
762
|
<div id="footer">
|
763
|
-
Generated on
|
763
|
+
Generated on Thu Feb 28 10:15:59 2013 by
|
764
764
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
765
765
|
0.8.5.2 (ruby-1.9.3).
|
766
766
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Thu Feb 28 10:15:57 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -280,6 +280,9 @@
|
|
280
280
|
<pre class="lines">
|
281
281
|
|
282
282
|
|
283
|
+
458
|
284
|
+
459
|
285
|
+
460
|
283
286
|
461
|
284
287
|
462
|
285
288
|
463
|
@@ -291,13 +294,10 @@
|
|
291
294
|
469
|
292
295
|
470
|
293
296
|
471
|
294
|
-
472
|
295
|
-
473
|
296
|
-
474
|
297
|
-
475</pre>
|
297
|
+
472</pre>
|
298
298
|
</td>
|
299
299
|
<td>
|
300
|
-
<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 458</span>
|
301
301
|
|
302
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>
|
303
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>
|
@@ -310,7 +310,7 @@
|
|
310
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>
|
311
311
|
<span class='kw'>end</span>
|
312
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
|
313
|
+
<span class='kw'>rescue</span> <span class='const'>Interrupt</span> <span class='op'>=></span> <span class='id identifier rubyid__'>_</span>
|
314
314
|
<span class='id identifier rubyid_default_value'>default_value</span>
|
315
315
|
<span class='kw'>end</span>
|
316
316
|
<span class='kw'>end</span></pre>
|
@@ -518,6 +518,9 @@
|
|
518
518
|
<pre class="lines">
|
519
519
|
|
520
520
|
|
521
|
+
486
|
522
|
+
487
|
523
|
+
488
|
521
524
|
489
|
522
525
|
490
|
523
526
|
491
|
@@ -527,13 +530,10 @@
|
|
527
530
|
495
|
528
531
|
496
|
529
532
|
497
|
530
|
-
498
|
531
|
-
499
|
532
|
-
500
|
533
|
-
501</pre>
|
533
|
+
498</pre>
|
534
534
|
</td>
|
535
535
|
<td>
|
536
|
-
<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 486</span>
|
537
537
|
|
538
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>
|
539
539
|
<span class='id identifier rubyid_status'>status</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -558,7 +558,7 @@
|
|
558
558
|
</div>
|
559
559
|
|
560
560
|
<div id="footer">
|
561
|
-
Generated on
|
561
|
+
Generated on Thu Feb 28 10:15:58 2013 by
|
562
562
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
563
563
|
0.8.5.2 (ruby-1.9.3).
|
564
564
|
</div>
|
@@ -202,12 +202,12 @@
|
|
202
202
|
<pre class="lines">
|
203
203
|
|
204
204
|
|
205
|
-
|
206
|
-
|
207
|
-
|
205
|
+
447
|
206
|
+
448
|
207
|
+
449</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 447</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,7 +222,7 @@
|
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div id="footer">
|
225
|
-
Generated on
|
225
|
+
Generated on Thu Feb 28 10:15:58 2013 by
|
226
226
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
227
227
|
0.8.5.2 (ruby-1.9.3).
|
228
228
|
</div>
|
@@ -537,17 +537,17 @@
|
|
537
537
|
<pre class="lines">
|
538
538
|
|
539
539
|
|
540
|
+
342
|
541
|
+
343
|
542
|
+
344
|
540
543
|
345
|
541
|
-
346
|
542
|
-
347
|
543
|
-
348
|
544
|
-
349</pre>
|
544
|
+
346</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 342</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
|
-
<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>
|
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='comma'>,</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='rparen'>)</span>
|
551
551
|
<span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_indent'>indent</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span> <span class='op'>?</span> <span class='int'>0</span> <span class='op'>:</span> <span class='id identifier rubyid_indent'>indent</span><span class='rparen'>)</span>
|
552
552
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_banner'>banner</span> <span class='op'>+</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='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_indented_banner'>indented_banner</span> <span class='op'>?</span> <span class='id identifier rubyid_indent'>indent</span> <span class='op'>:</span> <span class='int'>0</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>
|
553
553
|
<span class='kw'>end</span></pre>
|
@@ -726,12 +726,12 @@
|
|
726
726
|
<pre class="lines">
|
727
727
|
|
728
728
|
|
729
|
-
|
730
|
-
|
731
|
-
|
729
|
+
399
|
730
|
+
400
|
731
|
+
401</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 399</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
|
+
432
|
915
|
+
433
|
916
|
+
434</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 432</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
|
+
361
|
1117
|
+
362
|
1118
|
+
363
|
1119
|
+
364</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 361</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
|
+
323
|
1268
|
+
324
|
1269
|
+
325
|
1267
1270
|
326
|
1268
1271
|
327
|
1269
|
-
328
|
1270
|
-
329
|
1271
|
-
330
|
1272
|
-
331</pre>
|
1272
|
+
328</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 323</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
|
+
379
|
1474
|
+
380
|
1475
|
+
381
|
1473
1476
|
382
|
1474
1477
|
383
|
1475
1478
|
384
|
1476
|
-
385
|
1477
|
-
386
|
1478
|
-
387
|
1479
|
-
388</pre>
|
1479
|
+
385</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 379</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,9 @@
|
|
1622
1622
|
<pre class="lines">
|
1623
1623
|
|
1624
1624
|
|
1625
|
+
290
|
1626
|
+
291
|
1627
|
+
292
|
1625
1628
|
293
|
1626
1629
|
294
|
1627
1630
|
295
|
@@ -1641,13 +1644,10 @@
|
|
1641
1644
|
309
|
1642
1645
|
310
|
1643
1646
|
311
|
1644
|
-
312
|
1645
|
-
313
|
1646
|
-
314
|
1647
|
-
315</pre>
|
1647
|
+
312</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 290</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
|
+
415
|
1851
|
+
416
|
1852
|
+
417
|
1853
|
+
418</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 415</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
|
+
261
|
2021
|
+
262
|
2022
|
+
263
|
2020
2023
|
264
|
2021
|
-
265
|
2022
|
-
266
|
2023
|
-
267
|
2024
|
-
268</pre>
|
2024
|
+
265</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 261</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
|
+
278
|
2193
|
+
279
|
2194
|
+
280</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 278</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,7 +2209,7 @@
|
|
2209
2209
|
</div>
|
2210
2210
|
|
2211
2211
|
<div id="footer">
|
2212
|
-
Generated on
|
2212
|
+
Generated on Thu Feb 28 10:15:58 2013 by
|
2213
2213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2214
2214
|
0.8.5.2 (ruby-1.9.3).
|
2215
2215
|
</div>
|