lazier 2.8.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +3 -3
- data/doc/Lazier.html +69 -99
- data/doc/Lazier/Boolean.html +6 -6
- data/doc/Lazier/DateTime.html +35 -39
- data/doc/Lazier/DateTime/ClassMethods.html +59 -85
- data/doc/Lazier/Exceptions.html +6 -6
- data/doc/Lazier/Exceptions/Debug.html +133 -0
- data/doc/Lazier/Exceptions/MissingTranslation.html +8 -8
- data/doc/Lazier/Hash.html +5 -270
- data/doc/Lazier/I18n.html +68 -26
- data/doc/Lazier/Localizer.html +17 -21
- data/doc/Lazier/Math.html +5 -5
- data/doc/Lazier/Math/ClassMethods.html +5 -5
- data/doc/Lazier/Object.html +681 -218
- data/doc/Lazier/Pathname.html +7 -11
- data/doc/Lazier/Settings.html +166 -262
- data/doc/Lazier/String.html +21 -25
- data/doc/Lazier/TimeZone.html +119 -130
- data/doc/Lazier/TimeZone/ClassMethods.html +75 -83
- data/doc/Lazier/Version.html +8 -8
- data/doc/_index.html +7 -7
- data/doc/class_list.html +2 -2
- data/doc/file.README.html +5 -5
- data/doc/file_list.html +1 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -5
- data/doc/js/full_list.js +6 -1
- data/doc/method_list.html +134 -324
- data/doc/top-level-namespace.html +5 -5
- data/lazier.gemspec +4 -3
- data/lib/lazier.rb +9 -23
- data/lib/lazier/boolean.rb +1 -1
- data/lib/lazier/datetime.rb +47 -79
- data/lib/lazier/exceptions.rb +4 -4
- data/lib/lazier/hash.rb +0 -24
- data/lib/lazier/i18n.rb +13 -6
- data/lib/lazier/localizer.rb +3 -5
- data/lib/lazier/object.rb +107 -78
- data/lib/lazier/pathname.rb +1 -3
- data/lib/lazier/settings.rb +22 -30
- data/lib/lazier/string.rb +3 -5
- data/lib/lazier/version.rb +3 -3
- data/spec/lazier/datetime_spec.rb +8 -8
- data/spec/lazier/hash_spec.rb +9 -10
- data/spec/lazier/object_spec.rb +85 -11
- data/spec/lazier/settings_spec.rb +10 -17
- data/spec/lazier_spec.rb +1 -1
- metadata +26 -9
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::TimeZone::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— 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"
|
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"
|
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
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
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
|
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
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
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
|
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
|
-
|
565
|
-
|
566
|
-
|
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
|
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'
|
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
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
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
|
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'>"</span><span class='tstring_content'>(DST)</span><span class='tstring_end'>"</span></span>
|
@@ -766,20 +764,20 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
766
764
|
<pre class="lines">
|
767
765
|
|
768
766
|
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
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
|
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 & Canad
|
|
858
856
|
<pre class="lines">
|
859
857
|
|
860
858
|
|
861
|
-
|
862
|
-
|
863
|
-
|
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
|
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='
|
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 & Canad
|
|
977
973
|
<pre class="lines">
|
978
974
|
|
979
975
|
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
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
|
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='
|
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='
|
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='
|
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='
|
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 & Canad
|
|
1023
1015
|
</div>
|
1024
1016
|
|
1025
1017
|
<div id="footer">
|
1026
|
-
Generated on
|
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.
|
1020
|
+
0.8.6.1 (ruby-1.9.3).
|
1029
1021
|
</div>
|
1030
1022
|
|
1031
1023
|
</body>
|
data/doc/Lazier/Version.html
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— 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"
|
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"
|
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'>
|
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'>
|
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'>
|
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
|
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.
|
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.
|
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"
|
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"
|
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.
|
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/
|
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
|
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.
|
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/
|
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> < 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> < 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> < 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> < 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
|
-
— Documentation by YARD 0.8.
|
9
|
+
— 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"
|
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"
|
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
|
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.
|
109
|
+
0.8.6.1 (ruby-1.9.3).
|
110
110
|
</div>
|
111
111
|
|
112
112
|
</body>
|
data/doc/file_list.html
CHANGED
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.
|
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
|
-
— Documentation by YARD 0.8.
|
9
|
+
— 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"
|
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"
|
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
|
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.
|
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) {
|