lazier 2.8.0 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -288,7 +288,7 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Sun Mar 24 10:59:44 2013 by
291
+ Generated on Sat Apr 13 11:56:53 2013 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.8.5.2 (ruby-1.9.3).
294
294
  </div>
@@ -1568,7 +1568,7 @@ Date.years(1, true, 2010, true)
1568
1568
  </div>
1569
1569
 
1570
1570
  <div id="footer">
1571
- Generated on Sun Mar 24 10:59:44 2013 by
1571
+ Generated on Sat Apr 13 11:56:54 2013 by
1572
1572
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1573
1573
  0.8.5.2 (ruby-1.9.3).
1574
1574
  </div>
@@ -725,7 +725,7 @@ DateTime.civil(2013, 6, 1).in_months(2011)
725
725
  </div>
726
726
 
727
727
  <div id="footer">
728
- Generated on Sun Mar 24 10:59:44 2013 by
728
+ Generated on Sat Apr 13 11:56:53 2013 by
729
729
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
730
730
  0.8.5.2 (ruby-1.9.3).
731
731
  </div>
@@ -73,12 +73,12 @@
73
73
 
74
74
  <dt class="r1">Inherits:</dt>
75
75
  <dd class="r1">
76
- <span class="inheritName">RuntimeError</span>
76
+ <span class="inheritName">StandardError</span>
77
77
 
78
78
  <ul class="fullTree">
79
79
  <li>Object</li>
80
80
 
81
- <li class="next">RuntimeError</li>
81
+ <li class="next">StandardError</li>
82
82
 
83
83
  <li class="next">Lazier::Exceptions::Dump</li>
84
84
 
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Sun Mar 24 10:59:45 2013 by
127
+ Generated on Sat Apr 13 11:56:54 2013 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.5.2 (ruby-1.9.3).
130
130
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Sun Mar 24 10:59:45 2013 by
241
+ Generated on Sat Apr 13 11:56:54 2013 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.8.5.2 (ruby-1.9.3).
244
244
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sun Mar 24 10:59:45 2013 by
119
+ Generated on Sat Apr 13 11:56:54 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>
data/doc/Lazier/Hash.html CHANGED
@@ -376,7 +376,7 @@
376
376
  </div>
377
377
 
378
378
  <div id="footer">
379
- Generated on Sun Mar 24 10:59:43 2013 by
379
+ Generated on Sat Apr 13 11:56:53 2013 by
380
380
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
381
381
  0.8.5.2 (ruby-1.9.3).
382
382
  </div>
data/doc/Lazier/I18n.html CHANGED
@@ -1014,7 +1014,7 @@
1014
1014
  </div>
1015
1015
 
1016
1016
  <div id="footer">
1017
- Generated on Sun Mar 24 10:59:43 2013 by
1017
+ Generated on Sat Apr 13 11:56:53 2013 by
1018
1018
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1019
1019
  0.8.5.2 (ruby-1.9.3).
1020
1020
  </div>
@@ -540,7 +540,7 @@
540
540
  </div>
541
541
 
542
542
  <div id="footer">
543
- Generated on Sun Mar 24 10:59:45 2013 by
543
+ Generated on Sat Apr 13 11:56:54 2013 by
544
544
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
545
545
  0.8.5.2 (ruby-1.9.3).
546
546
  </div>
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
 
323
323
  <div id="footer">
324
- Generated on Sun Mar 24 10:59:44 2013 by
324
+ Generated on Sat Apr 13 11:56:53 2013 by
325
325
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
326
326
  0.8.5.2 (ruby-1.9.3).
327
327
  </div>
data/doc/Lazier/Math.html CHANGED
@@ -121,7 +121,7 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Sun Mar 24 10:59:44 2013 by
124
+ Generated on Sat Apr 13 11:56:53 2013 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.5.2 (ruby-1.9.3).
127
127
  </div>
@@ -1576,7 +1576,7 @@
1576
1576
  </div>
1577
1577
 
1578
1578
  <div id="footer">
1579
- Generated on Sun Mar 24 10:59:44 2013 by
1579
+ Generated on Sat Apr 13 11:56:53 2013 by
1580
1580
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1581
1581
  0.8.5.2 (ruby-1.9.3).
1582
1582
  </div>
@@ -217,7 +217,7 @@ Pathname.new("/usr/bin/ruby").components
217
217
  </div>
218
218
 
219
219
  <div id="footer">
220
- Generated on Sun Mar 24 10:59:45 2013 by
220
+ Generated on Sat Apr 13 11:56:54 2013 by
221
221
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
222
222
  0.8.5.2 (ruby-1.9.3).
223
223
  </div>
@@ -2501,7 +2501,7 @@
2501
2501
  </div>
2502
2502
 
2503
2503
  <div id="footer">
2504
- Generated on Sun Mar 24 10:59:45 2013 by
2504
+ Generated on Sat Apr 13 11:56:54 2013 by
2505
2505
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2506
2506
  0.8.5.2 (ruby-1.9.3).
2507
2507
  </div>
@@ -464,7 +464,7 @@
464
464
  </div>
465
465
 
466
466
  <div id="footer">
467
- Generated on Sun Mar 24 10:59:44 2013 by
467
+ Generated on Sat Apr 13 11:56:53 2013 by
468
468
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
469
469
  0.8.5.2 (ruby-1.9.3).
470
470
  </div>
@@ -1023,7 +1023,7 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canad
1023
1023
  </div>
1024
1024
 
1025
1025
  <div id="footer">
1026
- Generated on Sun Mar 24 10:59:45 2013 by
1026
+ Generated on Sat Apr 13 11:56:54 2013 by
1027
1027
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1028
1028
  0.8.5.2 (ruby-1.9.3).
1029
1029
  </div>
@@ -1674,7 +1674,7 @@
1674
1674
  </div>
1675
1675
 
1676
1676
  <div id="footer">
1677
- Generated on Sun Mar 24 10:59:44 2013 by
1677
+ Generated on Sat Apr 13 11:56:54 2013 by
1678
1678
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1679
1679
  0.8.5.2 (ruby-1.9.3).
1680
1680
  </div>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>0</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>1</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Sun Mar 24 10:59:44 2013 by
183
+ Generated on Sat Apr 13 11:56:53 2013 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.5.2 (ruby-1.9.3).
186
186
  </div>
data/doc/Lazier.html CHANGED
@@ -480,7 +480,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
480
480
  <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 128</span>
481
481
 
482
482
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>::%CLASS%</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_only_in_scope'>only_in_scope</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
483
- <span class='kw'>if</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Symbol</span><span class='rparen'>)</span> <span class='kw'>then</span>
483
+ <span class='kw'>if</span> <span class='id identifier rubyid_cls'>cls</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'>String</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_cls'>cls</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'>Symbol</span><span class='rparen'>)</span> <span class='kw'>then</span>
484
484
  <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='kw'>nil</span>
485
485
  <span class='id identifier rubyid_cls'>cls</span> <span class='op'>=</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_camelize'>camelize</span>
486
486
 
@@ -493,7 +493,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
493
493
  <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_search_class'>search_class</span><span class='lparen'>(</span><span class='id identifier rubyid_scope'>scope</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>%CLASS%</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_cls'>cls</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_rv'>rv</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_cls'>cls</span> <span class='op'>!~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^::</span><span class='regexp_end'>/</span></span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_scope'>scope</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='comment'># Search inside scope
494
494
  </span> <span class='id identifier rubyid_rv'>rv</span> <span class='op'>||</span> <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>NameError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_cls'>cls</span><span class='rparen'>)</span><span class='rparen'>)</span>
495
495
  <span class='kw'>else</span>
496
- <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Class</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_cls'>cls</span> <span class='op'>:</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span>
496
+ <span class='id identifier rubyid_cls'>cls</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'>Class</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_cls'>cls</span> <span class='op'>:</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span>
497
497
  <span class='kw'>end</span>
498
498
  <span class='kw'>end</span></pre>
499
499
  </td>
@@ -999,7 +999,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
999
999
  </div>
1000
1000
 
1001
1001
  <div id="footer">
1002
- Generated on Sun Mar 24 10:59:43 2013 by
1002
+ Generated on Sat Apr 13 11:56:53 2013 by
1003
1003
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1004
1004
  0.8.5.2 (ruby-1.9.3).
1005
1005
  </div>
data/doc/_index.html CHANGED
@@ -326,7 +326,7 @@
326
326
  </div>
327
327
 
328
328
  <div id="footer">
329
- Generated on Sun Mar 24 10:59:43 2013 by
329
+ Generated on Sat Apr 13 11:56:52 2013 by
330
330
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
331
331
  0.8.5.2 (ruby-1.9.3).
332
332
  </div>
data/doc/class_list.html CHANGED
@@ -45,7 +45,7 @@
45
45
 
46
46
  <ul id="full_list" class="class">
47
47
  <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
48
- <li><a class='toggle'></a> <span class='object_link'><a href="Lazier.html" title="Lazier (module)">Lazier</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Lazier/Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span><small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/DateTime.html" title="Lazier::DateTime (module)">DateTime</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/DateTime/ClassMethods.html" title="Lazier::DateTime::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::DateTime</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/Exceptions.html" title="Lazier::Exceptions (module)">Exceptions</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/Exceptions/Dump.html" title="Lazier::Exceptions::Dump (class)">Dump</a></span> &lt; RuntimeError<small class='search_info'>Lazier::Exceptions</small></li><li><span class='object_link'><a href="Lazier/Exceptions/MissingTranslation.html" title="Lazier::Exceptions::MissingTranslation (class)">MissingTranslation</a></span> &lt; Exception<small class='search_info'>Lazier::Exceptions</small></li></ul><li><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/I18n.html" title="Lazier::I18n (module)">I18n</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Localizer.html" title="Lazier::Localizer (class)">Localizer</a></span> &lt; Object<small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/Math.html" title="Lazier::Math (module)">Math</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/Math/ClassMethods.html" title="Lazier::Math::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::Math</small></li></ul><li><span class='object_link'><a href="Lazier/Object.html" title="Lazier::Object (module)">Object</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Pathname.html" title="Lazier::Pathname (module)">Pathname</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Settings.html" title="Lazier::Settings (class)">Settings</a></span> &lt; Object<small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/String.html" title="Lazier::String (module)">String</a></span><small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html" title="Lazier::TimeZone::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::TimeZone</small></li></ul><li><span class='object_link'><a href="Lazier/Version.html" title="Lazier::Version (module)">Version</a></span><small class='search_info'>Lazier</small></li></ul>
48
+ <li><a class='toggle'></a> <span class='object_link'><a href="Lazier.html" title="Lazier (module)">Lazier</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Lazier/Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span><small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/DateTime.html" title="Lazier::DateTime (module)">DateTime</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/DateTime/ClassMethods.html" title="Lazier::DateTime::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::DateTime</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/Exceptions.html" title="Lazier::Exceptions (module)">Exceptions</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/Exceptions/Dump.html" title="Lazier::Exceptions::Dump (class)">Dump</a></span> &lt; StandardError<small class='search_info'>Lazier::Exceptions</small></li><li><span class='object_link'><a href="Lazier/Exceptions/MissingTranslation.html" title="Lazier::Exceptions::MissingTranslation (class)">MissingTranslation</a></span> &lt; Exception<small class='search_info'>Lazier::Exceptions</small></li></ul><li><span class='object_link'><a href="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/I18n.html" title="Lazier::I18n (module)">I18n</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Localizer.html" title="Lazier::Localizer (class)">Localizer</a></span> &lt; Object<small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/Math.html" title="Lazier::Math (module)">Math</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/Math/ClassMethods.html" title="Lazier::Math::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::Math</small></li></ul><li><span class='object_link'><a href="Lazier/Object.html" title="Lazier::Object (module)">Object</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Pathname.html" title="Lazier::Pathname (module)">Pathname</a></span><small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/Settings.html" title="Lazier::Settings (class)">Settings</a></span> &lt; Object<small class='search_info'>Lazier</small></li><li><span class='object_link'><a href="Lazier/String.html" title="Lazier::String (module)">String</a></span><small class='search_info'>Lazier</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Lazier/TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span><small class='search_info'>Lazier</small></li><ul><li><span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html" title="Lazier::TimeZone::ClassMethods (module)">ClassMethods</a></span><small class='search_info'>Lazier::TimeZone</small></li></ul><li><span class='object_link'><a href="Lazier/Version.html" title="Lazier::Version (module)">Version</a></span><small class='search_info'>Lazier</small></li></ul>
49
49
 
50
50
  </ul>
51
51
  </div>
data/doc/file.README.html CHANGED
@@ -104,7 +104,7 @@ See documentation for more informations.</p>
104
104
  </div></div>
105
105
 
106
106
  <div id="footer">
107
- Generated on Sun Mar 24 10:59:43 2013 by
107
+ Generated on Sat Apr 13 11:56:53 2013 by
108
108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
109
109
  0.8.5.2 (ruby-1.9.3).
110
110
  </div>
data/doc/index.html CHANGED
@@ -104,7 +104,7 @@ See documentation for more informations.</p>
104
104
  </div></div>
105
105
 
106
106
  <div id="footer">
107
- Generated on Sun Mar 24 10:59:43 2013 by
107
+ Generated on Sat Apr 13 11:56:53 2013 by
108
108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
109
109
  0.8.5.2 (ruby-1.9.3).
110
110
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Sun Mar 24 10:59:43 2013 by
106
+ Generated on Sat Apr 13 11:56:53 2013 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.5.2 (ruby-1.9.3).
109
109
  </div>
@@ -8,7 +8,7 @@ module Lazier
8
8
  # Exceptions for lazier.
9
9
  module Exceptions
10
10
  # This exception is raised from {Object#debug_dump} when `must_raise` is `true`.
11
- class Dump < ::RuntimeError
11
+ class Dump < ::StandardError
12
12
  end
13
13
 
14
14
  # This exception is raised from {I18n I18n} if no valid translation are found in the specified path.
@@ -16,7 +16,7 @@ module Lazier
16
16
  MINOR = 8
17
17
 
18
18
  # The patch version.
19
- PATCH = 0
19
+ PATCH = 1
20
20
 
21
21
  # The current version of lazier.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
data/lib/lazier.rb CHANGED
@@ -126,7 +126,7 @@ module Lazier
126
126
  # @param only_in_scope [Boolean] If only try to instantiate the class in the scope.
127
127
  # @return [Class] The found class.
128
128
  def self.find_class(cls, scope = "::%CLASS%", only_in_scope = false)
129
- if cls.is_a?(String) || cls.is_a?(Symbol) then
129
+ if cls.is_a?(::String) || cls.is_a?(::Symbol) then
130
130
  rv = nil
131
131
  cls = cls.to_s.camelize
132
132
 
@@ -139,7 +139,7 @@ module Lazier
139
139
  rv = search_class(scope.to_s.gsub("%CLASS%", cls)) if !rv && cls !~ /^::/ && scope.present? # Search inside scope
140
140
  rv || raise(NameError.new("", cls))
141
141
  else
142
- cls.is_a?(Class) ? cls : cls.class
142
+ cls.is_a?(::Class) ? cls : cls.class
143
143
  end
144
144
  end
145
145
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazier
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-24 00:00:00.000000000 Z
12
+ date: 2013-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: 4017477931142204248
174
+ hash: 4187585535154153470
175
175
  requirements: []
176
176
  rubyforge_project: lazier
177
177
  rubygems_version: 1.8.25