bovem 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/Gemfile +6 -6
  2. data/README.md +1 -0
  3. data/bovem.gemspec +1 -1
  4. data/doc/Bovem.html +5 -5
  5. data/doc/Bovem/Configuration.html +21 -157
  6. data/doc/Bovem/Console.html +39 -39
  7. data/doc/Bovem/ConsoleMethods.html +5 -5
  8. data/doc/Bovem/ConsoleMethods/Interactions.html +21 -21
  9. data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +9 -9
  10. data/doc/Bovem/ConsoleMethods/Logging.html +71 -73
  11. data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +9 -9
  12. data/doc/Bovem/ConsoleMethods/Output.html +20 -28
  13. data/doc/Bovem/ConsoleMethods/StyleHandling.html +5 -5
  14. data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +7 -7
  15. data/doc/Bovem/Errors.html +5 -5
  16. data/doc/Bovem/Errors/InvalidConfiguration.html +5 -5
  17. data/doc/Bovem/Errors/InvalidLogger.html +5 -5
  18. data/doc/Bovem/Logger.html +126 -69
  19. data/doc/Bovem/Shell.html +16 -16
  20. data/doc/Bovem/ShellMethods.html +5 -5
  21. data/doc/Bovem/ShellMethods/Directories.html +10 -12
  22. data/doc/Bovem/ShellMethods/Execute.html +7 -7
  23. data/doc/Bovem/ShellMethods/General.html +7 -7
  24. data/doc/Bovem/ShellMethods/Read.html +7 -7
  25. data/doc/Bovem/ShellMethods/Write.html +7 -7
  26. data/doc/Bovem/Version.html +7 -7
  27. data/doc/_index.html +6 -6
  28. data/doc/class_list.html +3 -2
  29. data/doc/file.README.html +7 -6
  30. data/doc/file_list.html +2 -1
  31. data/doc/frames.html +1 -1
  32. data/doc/index.html +7 -6
  33. data/doc/js/full_list.js +7 -2
  34. data/doc/method_list.html +72 -183
  35. data/doc/top-level-namespace.html +5 -5
  36. data/lib/bovem.rb +1 -1
  37. data/lib/bovem/configuration.rb +11 -33
  38. data/lib/bovem/console.rb +34 -39
  39. data/lib/bovem/logger.rb +6 -9
  40. data/lib/bovem/shell.rb +25 -26
  41. data/lib/bovem/version.rb +2 -2
  42. data/spec/bovem/configuration_spec.rb +7 -22
  43. data/spec/bovem/console_spec.rb +1 -1
  44. data/spec/bovem/shell_spec.rb +9 -10
  45. data/spec/coverage_helper.rb +3 -0
  46. metadata +5 -5
data/Gemfile CHANGED
@@ -9,13 +9,13 @@ source "http://rubygems.org"
9
9
  gemspec
10
10
 
11
11
  # Testing
12
- gem "rspec", "~> 2.13.0"
13
- gem "rake", "~> 10.0.3"
12
+ gem "rspec", "~> 2.14.1"
13
+ gem "rake", "~> 10.1.0"
14
14
 
15
15
  # Documentation
16
16
  gem "simplecov", ">= 0.7.1"
17
+ gem "coveralls", ">= 0.6.7", require: false
17
18
  gem "pry", ">= 0"
18
- gem "yard", ">= 0.8.5"
19
- gem "kramdown", ">= 1.0.1"
20
- gem "github-markup", ">= 0.7.5"
21
-
19
+ gem "yard", ">= 0.8.6"
20
+ gem "kramdown", ">= 1.1.0"
21
+ gem "github-markup", ">= 0.7.5"
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Dependency Status](https://gemnasium.com/ShogunPanda/bovem.png?travis)](https://gemnasium.com/ShogunPanda/bovem)
5
5
  [![Build Status](https://secure.travis-ci.org/ShogunPanda/bovem.png?branch=master)](http://travis-ci.org/ShogunPanda/bovem)
6
6
  [![Code Climate](https://codeclimate.com/github/ShogunPanda/bovem.png)](https://codeclimate.com/github/ShogunPanda/bovem)
7
+ [![Coverage Status](https://coveralls.io/repos/ShogunPanda/bovem/badge.png)](https://coveralls.io/r/ShogunPanda/bovem)
7
8
 
8
9
  A collection of utilities for developers.
9
10
 
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
23
23
 
24
24
  gem.required_ruby_version = ">= 1.9.3"
25
25
 
26
- gem.add_dependency("lazier", "~> 2.8.1")
26
+ gem.add_dependency("lazier", "~> 3.2.2")
27
27
  gem.add_dependency("open4", "~> 1.3.0")
28
28
  end
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Module: Bovem
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -158,9 +158,9 @@ 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 Sat Apr 13 12:04:07 2013 by
161
+ Generated on Sun Jul 14 14:51:50 2013 by
162
162
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
163
- 0.8.5.2 (ruby-1.9.3).
163
+ 0.8.6.2 (ruby-1.9.3).
164
164
  </div>
165
165
 
166
166
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Bovem::Configuration
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -73,11 +73,13 @@
73
73
 
74
74
  <dt class="r1">Inherits:</dt>
75
75
  <dd class="r1">
76
- <span class="inheritName">Object</span>
76
+ <span class="inheritName">Lazier::Configuration</span>
77
77
 
78
78
  <ul class="fullTree">
79
79
  <li>Object</li>
80
80
 
81
+ <li class="next">Lazier::Configuration</li>
82
+
81
83
  <li class="next">Bovem::Configuration</li>
82
84
 
83
85
  </ul>
@@ -90,15 +92,11 @@
90
92
 
91
93
 
92
94
 
93
- <dt class="r2">Includes:</dt>
94
- <dd class="r2">Lazier::I18n</dd>
95
-
96
-
97
95
 
98
96
 
99
97
 
100
- <dt class="r1 last">Defined in:</dt>
101
- <dd class="r1 last">lib/bovem/configuration.rb</dd>
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/bovem/configuration.rb</dd>
102
100
 
103
101
  </dl>
104
102
  <div class="clear"></div>
@@ -107,7 +105,7 @@
107
105
  <div class="discussion">
108
106
  <p>This class holds the configuration of an application.</p>
109
107
 
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.
108
+ <p>Extend this class and add valid properties via property method.
111
109
  Example:</p>
112
110
 
113
111
  <p>```ruby
@@ -133,38 +131,6 @@ end</p>
133
131
 
134
132
 
135
133
 
136
- <h2>
137
- Class Method Summary
138
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
139
- </h2>
140
-
141
- <ul class="summary">
142
-
143
- <li class="public ">
144
- <span class="summary_signature">
145
-
146
- <a href="#property-class_method" title="property (class method)">+ (Object) <strong>property</strong>(name, options = {}) </a>
147
-
148
-
149
-
150
- </span>
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
- <span class="summary_desc"><div class='inline'><p>Defines a new property for the configuration.</p>
161
- </div></span>
162
-
163
- </li>
164
-
165
-
166
- </ul>
167
-
168
134
  <h2>
169
135
  Instance Method Summary
170
136
  <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
@@ -316,17 +282,21 @@ end</p>
316
282
  <pre class="lines">
317
283
 
318
284
 
285
+ 30
286
+ 31
319
287
  32
320
288
  33
321
289
  34
322
290
  35</pre>
323
291
  </td>
324
292
  <td>
325
- <pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 32</span>
293
+ <pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 30</span>
326
294
 
327
295
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
328
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
329
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span><span class='rparen'>)</span>
296
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
297
+
298
+ <span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
299
+ <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span><span class='rparen'>)</span>
330
300
  <span class='kw'>end</span></pre>
331
301
  </td>
332
302
  </tr>
@@ -336,104 +306,6 @@ end</p>
336
306
  </div>
337
307
 
338
308
 
339
- <div id="class_method_details" class="method_details_list">
340
- <h2>Class Method Details</h2>
341
-
342
-
343
- <div class="method_details first">
344
- <h3 class="signature first" id="property-class_method">
345
-
346
- + (<tt>Object</tt>) <strong>property</strong>(name, options = {})
347
-
348
-
349
-
350
-
351
-
352
- </h3><div class="docstring">
353
- <div class="discussion">
354
- <p>Defines a new property for the configuration.</p>
355
-
356
-
357
- </div>
358
- </div>
359
- <div class="tags">
360
- <p class="tag_title">Parameters:</p>
361
- <ul class="param">
362
-
363
- <li>
364
-
365
- <span class='name'>name</span>
366
-
367
-
368
- <span class='type'>(<tt>Symbol</tt>)</span>
369
-
370
-
371
-
372
- &mdash;
373
- <div class='inline'><p>The name of the property.</p>
374
- </div>
375
-
376
- </li>
377
-
378
- <li>
379
-
380
- <span class='name'>options</span>
381
-
382
-
383
- <span class='type'>(<tt>Hash</tt>)</span>
384
-
385
-
386
- <em class="default">(defaults to: <tt>{}</tt>)</em>
387
-
388
-
389
- &mdash;
390
- <div class='inline'><p>A set of options for the property. Currently, only <code>:default</code> (which holds the default value) is supported.</p>
391
- </div>
392
-
393
- </li>
394
-
395
- </ul>
396
-
397
-
398
- </div><table class="source_code">
399
- <tr>
400
- <td>
401
- <pre class="lines">
402
-
403
-
404
- 75
405
- 76
406
- 77
407
- 78
408
- 79
409
- 80
410
- 81
411
- 82
412
- 83
413
- 84
414
- 85</pre>
415
- </td>
416
- <td>
417
- <pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 75</span>
418
-
419
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_property'>property</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
420
- <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Hash</span><span class='rparen'>)</span>
421
-
422
- <span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span> <span class='kw'>do</span>
423
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:default</span><span class='rbracket'>]</span>
424
- <span class='kw'>end</span>
425
-
426
- <span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
427
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
428
- <span class='kw'>end</span>
429
- <span class='kw'>end</span></pre>
430
- </td>
431
- </tr>
432
- </table>
433
- </div>
434
-
435
- </div>
436
-
437
309
  <div id="instance_method_details" class="method_details_list">
438
310
  <h2>Instance Method Details</h2>
439
311
 
@@ -541,11 +413,7 @@ config.property = "VALUE"
541
413
  62
542
414
  63
543
415
  64
544
- 65
545
- 66
546
- 67
547
- 68
548
- 69</pre>
416
+ 65</pre>
549
417
  </td>
550
418
  <td>
551
419
  <pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 50</span>
@@ -557,16 +425,12 @@ config.property = "VALUE"
557
425
  <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_readable?'>readable?</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span> <span class='kw'>then</span>
558
426
  <span class='id identifier rubyid_read_configuration_file'>read_configuration_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span><span class='rparen'>)</span>
559
427
  <span class='kw'>else</span>
560
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>InvalidConfiguration</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span><span class='period'>.</span><span class='id identifier rubyid_not_found'>not_found</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span><span class='rparen'>)</span>
428
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>InvalidConfiguration</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span><span class='period'>.</span><span class='id identifier rubyid_not_found'>not_found</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span><span class='rparen'>)</span>
561
429
  <span class='kw'>end</span>
562
430
  <span class='kw'>end</span>
563
431
 
564
432
  <span class='comment'># Apply overrides
565
- </span> <span class='kw'>if</span> <span class='id identifier rubyid_overrides'>overrides</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Hash</span><span class='rparen'>)</span> <span class='kw'>then</span>
566
- <span class='id identifier rubyid_overrides'>overrides</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
567
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
568
- <span class='kw'>end</span>
569
- <span class='kw'>end</span>
433
+ </span> <span class='id identifier rubyid_overrides'>overrides</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</span> <span class='kw'>if</span> <span class='id identifier rubyid_overrides'>overrides</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Hash</span><span class='rparen'>)</span>
570
434
 
571
435
  <span class='kw'>self</span>
572
436
  <span class='kw'>end</span></pre>
@@ -580,9 +444,9 @@ config.property = "VALUE"
580
444
  </div>
581
445
 
582
446
  <div id="footer">
583
- Generated on Sat Apr 13 12:04:09 2013 by
447
+ Generated on Sun Jul 14 14:51:52 2013 by
584
448
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
585
- 0.8.5.2 (ruby-1.9.3).
449
+ 0.8.6.2 (ruby-1.9.3).
586
450
  </div>
587
451
 
588
452
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Bovem::Console
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -344,19 +344,19 @@
344
344
  <pre class="lines">
345
345
 
346
346
 
347
- 606
348
- 607
349
- 608
350
- 609
351
- 610</pre>
347
+ 601
348
+ 602
349
+ 603
350
+ 604
351
+ 605</pre>
352
352
  </td>
353
353
  <td>
354
- <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 606</span>
354
+ <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 601</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>
358
358
  <span class='ivar'>@indentation_string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span>
359
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
359
+ <span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
360
360
  <span class='kw'>end</span></pre>
361
361
  </td>
362
362
  </tr>
@@ -412,6 +412,11 @@
412
412
  <pre class="lines">
413
413
 
414
414
 
415
+ 583
416
+ 584
417
+ 585
418
+ 586
419
+ 587
415
420
  588
416
421
  589
417
422
  590
@@ -442,15 +447,10 @@
442
447
  615
443
448
  616
444
449
  617
445
- 618
446
- 619
447
- 620
448
- 621
449
- 622
450
- 623</pre>
450
+ 618</pre>
451
451
  </td>
452
452
  <td>
453
- <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 588</span>
453
+ <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 583</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>
@@ -473,7 +473,7 @@
473
473
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
474
474
  <span class='ivar'>@indentation</span> <span class='op'>=</span> <span class='int'>0</span>
475
475
  <span class='ivar'>@indentation_string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span>
476
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
476
+ <span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
477
477
  <span class='kw'>end</span>
478
478
 
479
479
  <span class='comment'># Get the width of the terminal.
@@ -537,6 +537,11 @@
537
537
  <pre class="lines">
538
538
 
539
539
 
540
+ 583
541
+ 584
542
+ 585
543
+ 586
544
+ 587
540
545
  588
541
546
  589
542
547
  590
@@ -567,15 +572,10 @@
567
572
  615
568
573
  616
569
574
  617
570
- 618
571
- 619
572
- 620
573
- 621
574
- 622
575
- 623</pre>
575
+ 618</pre>
576
576
  </td>
577
577
  <td>
578
- <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 588</span>
578
+ <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 583</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>
@@ -598,7 +598,7 @@
598
598
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
599
599
  <span class='ivar'>@indentation</span> <span class='op'>=</span> <span class='int'>0</span>
600
600
  <span class='ivar'>@indentation_string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span>
601
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
601
+ <span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='symbol'>:bovem</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
602
602
  <span class='kw'>end</span>
603
603
 
604
604
  <span class='comment'># Get the width of the terminal.
@@ -667,12 +667,12 @@
667
667
  <pre class="lines">
668
668
 
669
669
 
670
- 601
671
- 602
672
- 603</pre>
670
+ 596
671
+ 597
672
+ 598</pre>
673
673
  </td>
674
674
  <td>
675
- <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 601</span>
675
+ <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 596</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,17 +730,17 @@
730
730
  <pre class="lines">
731
731
 
732
732
 
733
+ 610
734
+ 611
735
+ 612
736
+ 613
737
+ 614
733
738
  615
734
739
  616
735
- 617
736
- 618
737
- 619
738
- 620
739
- 621
740
- 622</pre>
740
+ 617</pre>
741
741
  </td>
742
742
  <td>
743
- <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 615</span>
743
+ <pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 610</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>
@@ -760,9 +760,9 @@
760
760
  </div>
761
761
 
762
762
  <div id="footer">
763
- Generated on Sat Apr 13 12:04:09 2013 by
763
+ Generated on Sun Jul 14 14:51:51 2013 by
764
764
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
765
- 0.8.5.2 (ruby-1.9.3).
765
+ 0.8.6.2 (ruby-1.9.3).
766
766
  </div>
767
767
 
768
768
  </body>