lazier 2.8.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/Gemfile +3 -3
  2. data/doc/Lazier.html +69 -99
  3. data/doc/Lazier/Boolean.html +6 -6
  4. data/doc/Lazier/DateTime.html +35 -39
  5. data/doc/Lazier/DateTime/ClassMethods.html +59 -85
  6. data/doc/Lazier/Exceptions.html +6 -6
  7. data/doc/Lazier/Exceptions/Debug.html +133 -0
  8. data/doc/Lazier/Exceptions/MissingTranslation.html +8 -8
  9. data/doc/Lazier/Hash.html +5 -270
  10. data/doc/Lazier/I18n.html +68 -26
  11. data/doc/Lazier/Localizer.html +17 -21
  12. data/doc/Lazier/Math.html +5 -5
  13. data/doc/Lazier/Math/ClassMethods.html +5 -5
  14. data/doc/Lazier/Object.html +681 -218
  15. data/doc/Lazier/Pathname.html +7 -11
  16. data/doc/Lazier/Settings.html +166 -262
  17. data/doc/Lazier/String.html +21 -25
  18. data/doc/Lazier/TimeZone.html +119 -130
  19. data/doc/Lazier/TimeZone/ClassMethods.html +75 -83
  20. data/doc/Lazier/Version.html +8 -8
  21. data/doc/_index.html +7 -7
  22. data/doc/class_list.html +2 -2
  23. data/doc/file.README.html +5 -5
  24. data/doc/file_list.html +1 -1
  25. data/doc/frames.html +1 -1
  26. data/doc/index.html +5 -5
  27. data/doc/js/full_list.js +6 -1
  28. data/doc/method_list.html +134 -324
  29. data/doc/top-level-namespace.html +5 -5
  30. data/lazier.gemspec +4 -3
  31. data/lib/lazier.rb +9 -23
  32. data/lib/lazier/boolean.rb +1 -1
  33. data/lib/lazier/datetime.rb +47 -79
  34. data/lib/lazier/exceptions.rb +4 -4
  35. data/lib/lazier/hash.rb +0 -24
  36. data/lib/lazier/i18n.rb +13 -6
  37. data/lib/lazier/localizer.rb +3 -5
  38. data/lib/lazier/object.rb +107 -78
  39. data/lib/lazier/pathname.rb +1 -3
  40. data/lib/lazier/settings.rb +22 -30
  41. data/lib/lazier/string.rb +3 -5
  42. data/lib/lazier/version.rb +3 -3
  43. data/spec/lazier/datetime_spec.rb +8 -8
  44. data/spec/lazier/hash_spec.rb +9 -10
  45. data/spec/lazier/object_spec.rb +85 -11
  46. data/spec/lazier/settings_spec.rb +10 -17
  47. data/spec/lazier_spec.rb +1 -1
  48. metadata +26 -9
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Module: Lazier::TimeZone::ClassMethods
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.1
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;
@@ -355,14 +355,14 @@
355
355
  <pre class="lines">
356
356
 
357
357
 
358
- 391
359
- 392
360
- 393
361
- 394
362
- 395</pre>
358
+ 373
359
+ 374
360
+ 375
361
+ 376
362
+ 377</pre>
363
363
  </td>
364
364
  <td>
365
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 391</span>
365
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 373</span>
366
366
 
367
367
  <span class='kw'>def</span> <span class='id identifier rubyid_compare'>compare</span><span class='lparen'>(</span><span class='id identifier rubyid_left'>left</span><span class='comma'>,</span> <span class='id identifier rubyid_right'>right</span><span class='rparen'>)</span>
368
368
  <span class='id identifier rubyid_left'>left</span> <span class='op'>=</span> <span class='id identifier rubyid_left'>left</span><span class='period'>.</span><span class='id identifier rubyid_to_str'>to_str</span> <span class='kw'>if</span> <span class='id identifier rubyid_left'>left</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'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='rparen'>)</span>
@@ -452,20 +452,20 @@
452
452
  <pre class="lines">
453
453
 
454
454
 
455
- 315
456
- 316
457
- 317
458
- 318
459
- 319
460
- 320
461
- 321
462
- 322
463
- 323
464
- 324
465
- 325</pre>
455
+ 299
456
+ 300
457
+ 301
458
+ 302
459
+ 303
460
+ 304
461
+ 305
462
+ 306
463
+ 307
464
+ 308
465
+ 309</pre>
466
466
  </td>
467
467
  <td>
468
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 315</span>
468
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 299</span>
469
469
 
470
470
  <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
471
471
  <span class='id identifier rubyid_catch'>catch</span><span class='lparen'>(</span><span class='symbol'>:zone</span><span class='rparen'>)</span> <span class='kw'>do</span>
@@ -561,17 +561,15 @@
561
561
  <pre class="lines">
562
562
 
563
563
 
564
- 305
565
- 306
566
- 307
567
- 308</pre>
564
+ 290
565
+ 291
566
+ 292</pre>
568
567
  </td>
569
568
  <td>
570
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 305</span>
569
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 290</span>
571
570
 
572
571
  <span class='kw'>def</span> <span class='id identifier rubyid_format_offset'>format_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span><span class='comma'>,</span> <span class='id identifier rubyid_colon'>colon</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
573
- <span class='id identifier rubyid_offset'>offset</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span> <span class='op'>*</span> <span class='int'>86400</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='kw'>if</span> <span class='id identifier rubyid_offset'>offset</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'>Rational</span><span class='rparen'>)</span>
574
- <span class='id identifier rubyid_offset'>offset</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'>Fixnum</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_seconds_to_utc_offset'>seconds_to_utc_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span><span class='comma'>,</span> <span class='id identifier rubyid_colon'>colon</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
572
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_seconds_to_utc_offset'>seconds_to_utc_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</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'>Rational</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span> <span class='op'>*</span> <span class='int'>86400</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>:</span> <span class='id identifier rubyid_offset'>offset</span><span class='comma'>,</span> <span class='id identifier rubyid_colon'>colon</span><span class='rparen'>)</span>
575
573
  <span class='kw'>end</span></pre>
576
574
  </td>
577
575
  </tr>
@@ -658,17 +656,17 @@
658
656
  <pre class="lines">
659
657
 
660
658
 
661
- 332
662
- 333
663
- 334
664
- 335
665
- 336
666
- 337
667
- 338
668
- 339</pre>
659
+ 316
660
+ 317
661
+ 318
662
+ 319
663
+ 320
664
+ 321
665
+ 322
666
+ 323</pre>
669
667
  </td>
670
668
  <td>
671
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 332</span>
669
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 316</span>
672
670
 
673
671
  <span class='kw'>def</span> <span class='id identifier rubyid_list_all'>list_all</span><span class='lparen'>(</span><span class='id identifier rubyid_with_dst'>with_dst</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
674
672
  <span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(DST)</span><span class='tstring_end'>&quot;</span></span>
@@ -766,20 +764,20 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canad
766
764
  <pre class="lines">
767
765
 
768
766
 
769
- 350
770
- 351
771
- 352
772
- 353
773
- 354
774
- 355
775
- 356
776
- 357
777
- 358
778
- 359
779
- 360</pre>
767
+ 334
768
+ 335
769
+ 336
770
+ 337
771
+ 338
772
+ 339
773
+ 340
774
+ 341
775
+ 342
776
+ 343
777
+ 344</pre>
780
778
  </td>
781
779
  <td>
782
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 350</span>
780
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 334</span>
783
781
 
784
782
  <span class='kw'>def</span> <span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='comma'>,</span> <span class='id identifier rubyid_with_offset'>with_offset</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
785
783
  <span class='id identifier rubyid_tz'>tz</span> <span class='op'>=</span> <span class='id identifier rubyid_tz'>tz</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_tz'>tz</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>
@@ -858,17 +856,15 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canad
858
856
  <pre class="lines">
859
857
 
860
858
 
861
- 295
862
- 296
863
- 297
864
- 298</pre>
859
+ 281
860
+ 282
861
+ 283</pre>
865
862
  </td>
866
863
  <td>
867
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 295</span>
864
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 281</span>
868
865
 
869
866
  <span class='kw'>def</span> <span class='id identifier rubyid_rationalize_offset'>rationalize_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span><span class='rparen'>)</span>
870
- <span class='id identifier rubyid_offset'>offset</span> <span class='op'>=</span> <span class='id identifier rubyid_offset'>offset</span><span class='period'>.</span><span class='id identifier rubyid_try'>try</span><span class='lparen'>(</span><span class='symbol'>:offset</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_offset'>offset</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'>Fixnum</span><span class='rparen'>)</span>
871
- <span class='op'>::</span><span class='const'>TZInfo</span><span class='op'>::</span><span class='const'>OffsetRationals</span><span class='period'>.</span><span class='id identifier rubyid_rational_for_offset'>rational_for_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span><span class='rparen'>)</span>
867
+ <span class='op'>::</span><span class='const'>TZInfo</span><span class='op'>::</span><span class='const'>OffsetRationals</span><span class='period'>.</span><span class='id identifier rubyid_rational_for_offset'>rational_for_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_offset'>offset</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'>Fixnum</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_offset'>offset</span> <span class='op'>:</span> <span class='id identifier rubyid_offset'>offset</span><span class='period'>.</span><span class='id identifier rubyid_offset'>offset</span><span class='rparen'>)</span>
872
868
  <span class='kw'>end</span></pre>
873
869
  </td>
874
870
  </tr>
@@ -977,41 +973,37 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canad
977
973
  <pre class="lines">
978
974
 
979
975
 
980
- 369
981
- 370
982
- 371
983
- 372
984
- 373
985
- 374
986
- 375
987
- 376
988
- 377
989
- 378
990
- 379
991
- 380
992
- 381
993
- 382
994
- 383
995
- 384</pre>
976
+ 353
977
+ 354
978
+ 355
979
+ 356
980
+ 357
981
+ 358
982
+ 359
983
+ 360
984
+ 361
985
+ 362
986
+ 363
987
+ 364
988
+ 365
989
+ 366</pre>
996
990
  </td>
997
991
  <td>
998
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 369</span>
992
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 353</span>
999
993
 
1000
994
  <span class='kw'>def</span> <span class='id identifier rubyid_unparameterize_zone'>unparameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='comma'>,</span> <span class='id identifier rubyid_as_string'>as_string</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1001
- <span class='id identifier rubyid_tz'>tz</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='comma'>,</span> <span class='kw'>false</span><span class='rparen'>)</span>
995
+ <span class='id identifier rubyid_tz'>tz</span> <span class='op'>=</span> <span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='comma'>,</span> <span class='kw'>false</span><span class='rparen'>)</span>
996
+ <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_quote'>quote</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>)$</span><span class='regexp_end'>/</span></span>
997
+
1002
998
  <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_catch'>catch</span><span class='lparen'>(</span><span class='symbol'>:zone</span><span class='rparen'>)</span> <span class='kw'>do</span>
1003
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_list_all'>list_all</span><span class='lparen'>(</span><span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_zone'>zone</span><span class='op'>|</span>
1004
- <span class='id identifier rubyid_throw'>throw</span><span class='lparen'>(</span><span class='symbol'>:zone</span><span class='comma'>,</span> <span class='id identifier rubyid_zone'>zone</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_zone'>zone</span><span class='comma'>,</span> <span class='kw'>false</span><span class='rparen'>)</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_quote'>quote</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>)$</span><span class='regexp_end'>/</span></span>
999
+ <span class='id identifier rubyid_list_all'>list_all</span><span class='lparen'>(</span><span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_zone'>zone</span><span class='op'>|</span>
1000
+ <span class='id identifier rubyid_throw'>throw</span><span class='lparen'>(</span><span class='symbol'>:zone</span><span class='comma'>,</span> <span class='id identifier rubyid_zone'>zone</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_zone'>zone</span><span class='comma'>,</span> <span class='kw'>false</span><span class='rparen'>)</span> <span class='op'>=~</span> <span class='id identifier rubyid_matcher'>matcher</span>
1005
1001
  <span class='kw'>end</span>
1006
1002
 
1007
1003
  <span class='kw'>nil</span>
1008
1004
  <span class='kw'>end</span>
1009
1005
 
1010
- <span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span> <span class='kw'>then</span>
1011
- <span class='lparen'>(</span><span class='id identifier rubyid_as_string'>as_string</span> <span class='op'>?</span> <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_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_rv'>rv</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span><span class='rparen'>)</span>
1012
- <span class='kw'>else</span>
1013
- <span class='kw'>nil</span>
1014
- <span class='kw'>end</span>
1006
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>?</span> <span class='lparen'>(</span><span class='id identifier rubyid_as_string'>as_string</span> <span class='op'>?</span> <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_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_rv'>rv</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
1015
1007
  <span class='kw'>end</span></pre>
1016
1008
  </td>
1017
1009
  </tr>
@@ -1023,9 +1015,9 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canad
1023
1015
  </div>
1024
1016
 
1025
1017
  <div id="footer">
1026
- Generated on Sat Apr 13 11:56:54 2013 by
1018
+ Generated on Fri May 17 12:03:22 2013 by
1027
1019
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1028
- 0.8.5.2 (ruby-1.9.3).
1020
+ 0.8.6.1 (ruby-1.9.3).
1029
1021
  </div>
1030
1022
 
1031
1023
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Module: Lazier::Version
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.1
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;
@@ -119,7 +119,7 @@
119
119
 
120
120
  </div>
121
121
  </dt>
122
- <dd><pre class="code"><span class='int'>2</span></pre></dd>
122
+ <dd><pre class="code"><span class='int'>3</span></pre></dd>
123
123
 
124
124
  <dt id="MINOR-constant" class="">MINOR =
125
125
  <div class="docstring">
@@ -134,7 +134,7 @@
134
134
 
135
135
  </div>
136
136
  </dt>
137
- <dd><pre class="code"><span class='int'>8</span></pre></dd>
137
+ <dd><pre class="code"><span class='int'>0</span></pre></dd>
138
138
 
139
139
  <dt id="PATCH-constant" class="">PATCH =
140
140
  <div class="docstring">
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>1</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>0</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,9 +180,9 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Sat Apr 13 11:56:53 2013 by
183
+ Generated on Fri May 17 12:03:21 2013 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
- 0.8.5.2 (ruby-1.9.3).
185
+ 0.8.6.1 (ruby-1.9.3).
186
186
  </div>
187
187
 
188
188
  </body>
data/doc/_index.html CHANGED
@@ -4,13 +4,13 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.8.5.2
7
+ Documentation by YARD 0.8.6.1
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
14
 
15
15
  <script type="text/javascript" charset="utf-8">
16
16
  hasFrames = window.top.frames.main ? true : false;
@@ -56,7 +56,7 @@
56
56
 
57
57
  <iframe id="search_frame"></iframe>
58
58
 
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.5.2</h1>
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.6.1</h1>
60
60
  <div id="listing">
61
61
  <h1 class="alphaindex">Alphabetic Index</h1>
62
62
 
@@ -136,7 +136,7 @@
136
136
  </li>
137
137
 
138
138
  <li>
139
- <span class='object_link'><a href="Lazier/Exceptions/Dump.html" title="Lazier::Exceptions::Dump (class)">Dump</a></span>
139
+ <span class='object_link'><a href="Lazier/Exceptions/Debug.html" title="Lazier::Exceptions::Debug (class)">Debug</a></span>
140
140
 
141
141
  <small>(Lazier::Exceptions)</small>
142
142
 
@@ -326,9 +326,9 @@
326
326
  </div>
327
327
 
328
328
  <div id="footer">
329
- Generated on Sat Apr 13 11:56:52 2013 by
329
+ Generated on Fri May 17 12:03:20 2013 by
330
330
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
331
- 0.8.5.2 (ruby-1.9.3).
331
+ 0.8.6.1 (ruby-1.9.3).
332
332
  </div>
333
333
 
334
334
  </body>
data/doc/class_list.html CHANGED
@@ -44,8 +44,8 @@
44
44
  <div id="search">Search: <input type="text" /></div>
45
45
 
46
46
  <ul id="full_list" class="class">
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; 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>
47
+ <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (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/Debug.html" title="Lazier::Exceptions::Debug (class)">Debug</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; StandardError<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
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.1
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;
@@ -104,9 +104,9 @@ See documentation for more informations.</p>
104
104
  </div></div>
105
105
 
106
106
  <div id="footer">
107
- Generated on Sat Apr 13 11:56:53 2013 by
107
+ Generated on Fri May 17 12:03:20 2013 by
108
108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
109
- 0.8.5.2 (ruby-1.9.3).
109
+ 0.8.6.1 (ruby-1.9.3).
110
110
  </div>
111
111
 
112
112
  </body>
data/doc/file_list.html CHANGED
@@ -46,7 +46,7 @@
46
46
  <ul id="full_list" class="file">
47
47
 
48
48
 
49
- <li class="r1"><a href="index.html" title="README">README</a></li>
49
+ <li class="r1"><span class="object_link"><a href="index.html" title="README">README</a></a></li>
50
50
 
51
51
 
52
52
  </ul>
data/doc/frames.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
5
  <head>
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.8.5.2</title>
7
+ <title>Documentation by YARD 0.8.6.1</title>
8
8
  </head>
9
9
  <script type="text/javascript" charset="utf-8">
10
10
  window.onload = function() {
data/doc/index.html CHANGED
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; Documentation by YARD 0.8.6.1
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;
@@ -104,9 +104,9 @@ See documentation for more informations.</p>
104
104
  </div></div>
105
105
 
106
106
  <div id="footer">
107
- Generated on Sat Apr 13 11:56:53 2013 by
107
+ Generated on Fri May 17 12:03:20 2013 by
108
108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
109
- 0.8.5.2 (ruby-1.9.3).
109
+ 0.8.6.1 (ruby-1.9.3).
110
110
  </div>
111
111
 
112
112
  </body>
data/doc/js/full_list.js CHANGED
@@ -17,6 +17,7 @@ function fullListSearch() {
17
17
  searchCache = [];
18
18
  $('#full_list li').each(function() {
19
19
  var link = $(this).find('.object_link a');
20
+ if (link.length === 0) return;
20
21
  var fullName = link.attr('title').split(' ')[0];
21
22
  searchCache.push({name:link.text(), fullName:fullName, node:$(this), link:link});
22
23
  });
@@ -41,7 +42,7 @@ function fullListSearch() {
41
42
  $('#full_list li').removeClass('found').each(function() {
42
43
 
43
44
  var link = $(this).find('.object_link a');
44
- link.text(link.text());
45
+ if (link.length > 0) link.text(link.text());
45
46
  });
46
47
  if (clicked) {
47
48
  clicked.parents('ul').each(function() {
@@ -110,6 +111,10 @@ clicked = null;
110
111
  function linkList() {
111
112
  $('#full_list li, #full_list li a:last').click(function(evt) {
112
113
  if ($(this).hasClass('toggle')) return true;
114
+ if ($(this).find('.object_link a').length === 0) {
115
+ $(this).children('a.toggle').click();
116
+ return false;
117
+ }
113
118
  if (this.tagName.toLowerCase() == "li") {
114
119
  var toggle = $(this).children('a.toggle');
115
120
  if (toggle.size() > 0 && evt.pageX < toggle.offset().left) {