lazier 3.5.1 → 3.5.2
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.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.rubocop.yml +29 -0
- data/.travis-gemfile +1 -1
- data/.travis.yml +2 -2
- data/CHANGELOG.md +5 -0
- data/Gemfile +3 -3
- data/README.md +1 -1
- data/doc/Lazier.html +56 -68
- data/doc/Lazier/Boolean.html +4 -4
- data/doc/Lazier/Configuration.html +5 -5
- data/doc/Lazier/DateTime.html +29 -29
- data/doc/Lazier/DateTime/ClassMethods.html +136 -124
- data/doc/Lazier/Exceptions.html +4 -4
- data/doc/Lazier/Exceptions/Debug.html +4 -4
- data/doc/Lazier/Exceptions/MissingTranslation.html +4 -4
- data/doc/Lazier/Hash.html +144 -32
- data/doc/Lazier/I18n.html +109 -103
- data/doc/Lazier/Localizer.html +4 -4
- data/doc/Lazier/Math.html +4 -4
- data/doc/Lazier/Math/ClassMethods.html +4 -4
- data/doc/Lazier/Object.html +357 -243
- data/doc/Lazier/Pathname.html +4 -4
- data/doc/Lazier/Settings.html +58 -34
- data/doc/Lazier/String.html +6 -6
- data/doc/Lazier/TimeZone.html +86 -86
- data/doc/Lazier/TimeZone/ClassMethods.html +66 -68
- data/doc/Lazier/Version.html +5 -5
- data/doc/_index.html +5 -5
- data/doc/css/style.css +1 -0
- data/doc/file.README.html +4 -4
- data/doc/frames.html +1 -1
- data/doc/index.html +4 -4
- data/doc/method_list.html +103 -91
- data/doc/top-level-namespace.html +4 -4
- data/lazier.gemspec +2 -2
- data/lib/lazier.rb +59 -22
- data/lib/lazier/boolean.rb +1 -1
- data/lib/lazier/configuration.rb +21 -20
- data/lib/lazier/datetime.rb +127 -101
- data/lib/lazier/hash.rb +20 -12
- data/lib/lazier/i18n.rb +33 -32
- data/lib/lazier/math.rb +1 -1
- data/lib/lazier/object.rb +102 -56
- data/lib/lazier/pathname.rb +1 -1
- data/lib/lazier/settings.rb +4 -2
- data/lib/lazier/string.rb +3 -3
- data/lib/lazier/version.rb +1 -1
- data/spec/lazier/datetime_spec.rb +1 -1
- data/spec/lazier/hash_spec.rb +2 -2
- data/spec/lazier/object_spec.rb +16 -0
- data/spec/lazier/string_spec.rb +4 -10
- data/spec/lazier_spec.rb +9 -9
- data/spec/spec_helper.rb +1 -1
- metadata +7 -6
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::TimeZone::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!"
|
20
|
+
framesUrl = "../../frames.html#!Lazier/TimeZone/ClassMethods.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -355,14 +355,14 @@
|
|
355
355
|
<pre class="lines">
|
356
356
|
|
357
357
|
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
358
|
+
378
|
359
|
+
379
|
360
|
+
380
|
361
|
+
381
|
362
|
+
382</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 378</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
|
-
299
|
456
|
-
300
|
457
|
-
301
|
458
|
-
302
|
459
|
-
303
|
460
|
-
304
|
461
455
|
305
|
462
456
|
306
|
463
457
|
307
|
464
458
|
308
|
465
|
-
309
|
459
|
+
309
|
460
|
+
310
|
461
|
+
311
|
462
|
+
312
|
463
|
+
313
|
464
|
+
314
|
465
|
+
315</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 305</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,15 +561,15 @@
|
|
561
561
|
<pre class="lines">
|
562
562
|
|
563
563
|
|
564
|
-
|
565
|
-
|
566
|
-
|
564
|
+
296
|
565
|
+
297
|
566
|
+
298</pre>
|
567
567
|
</td>
|
568
568
|
<td>
|
569
|
-
<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 296</span>
|
570
570
|
|
571
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>
|
572
|
-
<span class='
|
572
|
+
<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'>86_400</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>
|
573
573
|
<span class='kw'>end</span></pre>
|
574
574
|
</td>
|
575
575
|
</tr>
|
@@ -656,23 +656,27 @@
|
|
656
656
|
<pre class="lines">
|
657
657
|
|
658
658
|
|
659
|
-
316
|
660
|
-
317
|
661
|
-
318
|
662
|
-
319
|
663
|
-
320
|
664
|
-
321
|
665
659
|
322
|
666
|
-
323
|
660
|
+
323
|
661
|
+
324
|
662
|
+
325
|
663
|
+
326
|
664
|
+
327
|
665
|
+
328
|
666
|
+
329
|
667
|
+
330
|
668
|
+
331</pre>
|
667
669
|
</td>
|
668
670
|
<td>
|
669
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line
|
671
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 322</span>
|
670
672
|
|
671
673
|
<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>
|
672
674
|
<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>
|
673
675
|
|
674
676
|
<span class='ivar'>@zones_names</span> <span class='op'>||=</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>STANDARD</span><span class='tstring_end'>"</span></span> <span class='op'>=></span> <span class='op'>::</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_s</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
675
|
-
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>DST[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='embexpr_end'>}</span><span class='tstring_content'>]-STANDARD</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='period'
|
677
|
+
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>DST[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='embexpr_end'>}</span><span class='tstring_content'>]-STANDARD</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='period'>.</span><span class='id identifier rubyid_all'>all</span><span class='period'>
|
678
|
+
</span><span class='id identifier rubyid_ .map'> .map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_zone'>zone</span><span class='op'>|</span> <span class='id identifier rubyid_fetch_aliases'>fetch_aliases</span><span class='lparen'>(</span><span class='id identifier rubyid_zone'>zone</span><span class='comma'>,</span> <span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span><span class='period'>
|
679
|
+
</span><span class='id identifier rubyid_ .sort'> .sort</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_a'>a</span><span class='comma'>,</span> <span class='id identifier rubyid_b'>b</span><span class='op'>|</span> <span class='op'>::</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='period'>.</span><span class='id identifier rubyid_compare'>compare</span><span class='lparen'>(</span><span class='id identifier rubyid_a'>a</span><span class='comma'>,</span> <span class='id identifier rubyid_b'>b</span><span class='rparen'>)</span> <span class='rbrace'>}</span> <span class='comment'># Sort by name
|
676
680
|
</span>
|
677
681
|
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_with_dst'>with_dst</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>DST[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='embexpr_end'>}</span><span class='tstring_content'>]-</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='embexpr_end'>}</span><span class='tstring_content'>STANDARD</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
678
682
|
<span class='kw'>end</span></pre>
|
@@ -764,26 +768,28 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
764
768
|
<pre class="lines">
|
765
769
|
|
766
770
|
|
767
|
-
334
|
768
|
-
335
|
769
|
-
336
|
770
|
-
337
|
771
|
-
338
|
772
|
-
339
|
773
|
-
340
|
774
|
-
341
|
775
771
|
342
|
776
772
|
343
|
777
|
-
344
|
773
|
+
344
|
774
|
+
345
|
775
|
+
346
|
776
|
+
347
|
777
|
+
348
|
778
|
+
349
|
779
|
+
350
|
780
|
+
351
|
781
|
+
352
|
782
|
+
353</pre>
|
778
783
|
</td>
|
779
784
|
<td>
|
780
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line
|
785
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 342</span>
|
781
786
|
|
782
787
|
<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>
|
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'>
|
788
|
+
<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'>unless</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>
|
789
|
+
<span class='id identifier rubyid_mo'>mo</span> <span class='op'>=</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(\([a-z]+([+-])(\d{2})(:?)(\d{2})\)\s(.+))$</span><span class='regexp_end'>/i</span></span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_tz'>tz</span><span class='rparen'>)</span>
|
784
790
|
|
785
|
-
<span class='kw'>if</span> <span class='id identifier
|
786
|
-
<span class='id identifier rubyid_with_offset'>with_offset</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='
|
791
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_mo'>mo</span>
|
792
|
+
<span class='id identifier rubyid_with_offset'>with_offset</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mo'>mo</span><span class='lbracket'>[</span><span class='int'>2</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mo'>mo</span><span class='lbracket'>[</span><span class='int'>3</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mo'>mo</span><span class='lbracket'>[</span><span class='int'>5</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mo'>mo</span><span class='lbracket'>[</span><span class='int'>6</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='id identifier rubyid_mo'>mo</span><span class='lbracket'>[</span><span class='int'>6</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span>
|
787
793
|
<span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_with_offset'>with_offset</span> <span class='kw'>then</span>
|
788
794
|
<span class='id identifier rubyid_tz'>tz</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^([+-]?(\d{2})(:?)(\d{2})@)</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
789
795
|
<span class='kw'>else</span>
|
@@ -856,12 +862,12 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
856
862
|
<pre class="lines">
|
857
863
|
|
858
864
|
|
859
|
-
|
860
|
-
|
861
|
-
|
865
|
+
287
|
866
|
+
288
|
867
|
+
289</pre>
|
862
868
|
</td>
|
863
869
|
<td>
|
864
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line
|
870
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 287</span>
|
865
871
|
|
866
872
|
<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>
|
867
873
|
<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>
|
@@ -973,37 +979,29 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
973
979
|
<pre class="lines">
|
974
980
|
|
975
981
|
|
976
|
-
353
|
977
|
-
354
|
978
|
-
355
|
979
|
-
356
|
980
|
-
357
|
981
|
-
358
|
982
|
-
359
|
983
|
-
360
|
984
|
-
361
|
985
982
|
362
|
986
983
|
363
|
987
984
|
364
|
988
985
|
365
|
989
|
-
366
|
986
|
+
366
|
987
|
+
367
|
988
|
+
368
|
989
|
+
369
|
990
|
+
370
|
991
|
+
371</pre>
|
990
992
|
</td>
|
991
993
|
<td>
|
992
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line
|
994
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 362</span>
|
993
995
|
|
994
996
|
<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>
|
995
997
|
<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
|
997
|
-
|
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>
|
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>
|
1001
|
-
<span class='kw'>end</span>
|
998
|
+
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_find_parameterized_zone'>find_parameterized_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='comma'>,</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='embexpr_end'>}</span><span class='tstring_content'>)$</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
|
1002
999
|
|
1000
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span>
|
1001
|
+
<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='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>
|
1002
|
+
<span class='kw'>else</span>
|
1003
1003
|
<span class='kw'>nil</span>
|
1004
1004
|
<span class='kw'>end</span>
|
1005
|
-
|
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>
|
1007
1005
|
<span class='kw'>end</span></pre>
|
1008
1006
|
</td>
|
1009
1007
|
</tr>
|
@@ -1015,9 +1013,9 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
1015
1013
|
</div>
|
1016
1014
|
|
1017
1015
|
<div id="footer">
|
1018
|
-
Generated on Sun
|
1016
|
+
Generated on Sun Apr 27 17:16:42 2014 by
|
1019
1017
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1020
|
-
0.8.7.
|
1018
|
+
0.8.7.4 (ruby-2.1.0).
|
1021
1019
|
</div>
|
1022
1020
|
|
1023
1021
|
</body>
|
data/doc/Lazier/Version.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Lazier/Version.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -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'>2</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 Sun
|
183
|
+
Generated on Sun Apr 27 17:16:42 2014 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.
|
185
|
+
0.8.7.4 (ruby-2.1.0).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
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.
|
7
|
+
Documentation by YARD 0.8.7.4
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript" charset="utf-8">
|
16
16
|
hasFrames = window.top.frames.main ? true : false;
|
17
17
|
relpath = '';
|
18
|
-
framesUrl = "frames.html#!"
|
18
|
+
framesUrl = "frames.html#!_index.html";
|
19
19
|
</script>
|
20
20
|
|
21
21
|
|
@@ -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.7.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.4</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -333,9 +333,9 @@
|
|
333
333
|
</div>
|
334
334
|
|
335
335
|
<div id="footer">
|
336
|
-
Generated on Sun
|
336
|
+
Generated on Sun Apr 27 17:16:41 2014 by
|
337
337
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
338
|
-
0.8.7.
|
338
|
+
0.8.7.4 (ruby-2.1.0).
|
339
339
|
</div>
|
340
340
|
|
341
341
|
</body>
|
data/doc/css/style.css
CHANGED
@@ -291,6 +291,7 @@ li.r2 { background: #fafafa; }
|
|
291
291
|
-moz-box-shadow: -2px 2px 6px #bbb;
|
292
292
|
z-index: 5000;
|
293
293
|
position: relative;
|
294
|
+
overflow-x: auto;
|
294
295
|
}
|
295
296
|
#toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
296
297
|
#toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!
|
20
|
+
framesUrl = "frames.html#!file.README.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -106,9 +106,9 @@ See documentation for more informations.</p>
|
|
106
106
|
</div></div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on Sun
|
109
|
+
Generated on Sun Apr 27 17:16:41 2014 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.
|
111
|
+
0.8.7.4 (ruby-2.1.0).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
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.
|
7
|
+
<title>Documentation by YARD 0.8.7.4</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!
|
20
|
+
framesUrl = "frames.html#!file.README.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -106,9 +106,9 @@ See documentation for more informations.</p>
|
|
106
106
|
</div></div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on Sun
|
109
|
+
Generated on Sun Apr 27 17:16:41 2014 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.
|
111
|
+
0.8.7.4 (ruby-2.1.0).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -60,107 +60,119 @@
|
|
60
60
|
|
61
61
|
|
62
62
|
<li class="r1 ">
|
63
|
+
<span class='object_link'><a href="Lazier/Object.html#boolean%3F-instance_method" title="Lazier::Object#boolean? (method)">#boolean?</a></span>
|
64
|
+
<small>Lazier::Object</small>
|
65
|
+
</li>
|
66
|
+
|
67
|
+
|
68
|
+
<li class="r2 ">
|
63
69
|
<span class='object_link'><a href="Lazier/Settings.html#boolean_names-instance_method" title="Lazier::Settings#boolean_names (method)">#boolean_names</a></span>
|
64
70
|
<small>Lazier::Settings</small>
|
65
71
|
</li>
|
66
72
|
|
67
73
|
|
68
|
-
<li class="
|
74
|
+
<li class="r1 ">
|
69
75
|
<span class='object_link'><a href="Lazier/Hash.html#compact-instance_method" title="Lazier::Hash#compact (method)">#compact</a></span>
|
70
76
|
<small>Lazier::Hash</small>
|
71
77
|
</li>
|
72
78
|
|
73
79
|
|
74
|
-
<li class="
|
80
|
+
<li class="r2 ">
|
75
81
|
<span class='object_link'><a href="Lazier/Hash.html#compact%21-instance_method" title="Lazier::Hash#compact! (method)">#compact!</a></span>
|
76
82
|
<small>Lazier::Hash</small>
|
77
83
|
</li>
|
78
84
|
|
79
85
|
|
80
|
-
<li class="
|
86
|
+
<li class="r1 ">
|
81
87
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#compare-instance_method" title="Lazier::TimeZone::ClassMethods#compare (method)">#compare</a></span>
|
82
88
|
<small>Lazier::TimeZone::ClassMethods</small>
|
83
89
|
</li>
|
84
90
|
|
85
91
|
|
86
|
-
<li class="
|
92
|
+
<li class="r2 ">
|
87
93
|
<span class='object_link'><a href="Lazier/Pathname.html#components-instance_method" title="Lazier::Pathname#components (method)">#components</a></span>
|
88
94
|
<small>Lazier::Pathname</small>
|
89
95
|
</li>
|
90
96
|
|
91
97
|
|
92
|
-
<li class="
|
98
|
+
<li class="r1 ">
|
93
99
|
<span class='object_link'><a href="Lazier/TimeZone.html#current_alias-instance_method" title="Lazier::TimeZone#current_alias (method)">#current_alias</a></span>
|
94
100
|
<small>Lazier::TimeZone</small>
|
95
101
|
</li>
|
96
102
|
|
97
103
|
|
98
|
-
<li class="
|
104
|
+
<li class="r2 ">
|
99
105
|
<span class='object_link'><a href="Lazier/TimeZone.html#current_offset-instance_method" title="Lazier::TimeZone#current_offset (method)">#current_offset</a></span>
|
100
106
|
<small>Lazier::TimeZone</small>
|
101
107
|
</li>
|
102
108
|
|
103
109
|
|
104
|
-
<li class="
|
110
|
+
<li class="r1 ">
|
105
111
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#custom_format-instance_method" title="Lazier::DateTime::ClassMethods#custom_format (method)">#custom_format</a></span>
|
106
112
|
<small>Lazier::DateTime::ClassMethods</small>
|
107
113
|
</li>
|
108
114
|
|
109
115
|
|
110
|
-
<li class="
|
116
|
+
<li class="r2 ">
|
111
117
|
<span class='object_link'><a href="Lazier/Settings.html#date_formats-instance_method" title="Lazier::Settings#date_formats (method)">#date_formats</a></span>
|
112
118
|
<small>Lazier::Settings</small>
|
113
119
|
</li>
|
114
120
|
|
115
121
|
|
116
|
-
<li class="
|
122
|
+
<li class="r1 ">
|
117
123
|
<span class='object_link'><a href="Lazier/Settings.html#date_names-instance_method" title="Lazier::Settings#date_names (method)">#date_names</a></span>
|
118
124
|
<small>Lazier::Settings</small>
|
119
125
|
</li>
|
120
126
|
|
121
127
|
|
122
|
-
<li class="
|
128
|
+
<li class="r2 ">
|
123
129
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#days-instance_method" title="Lazier::DateTime::ClassMethods#days (method)">#days</a></span>
|
124
130
|
<small>Lazier::DateTime::ClassMethods</small>
|
125
131
|
</li>
|
126
132
|
|
127
133
|
|
128
|
-
<li class="
|
134
|
+
<li class="r1 ">
|
129
135
|
<span class='object_link'><a href="Lazier/TimeZone.html#dst_correction-instance_method" title="Lazier::TimeZone#dst_correction (method)">#dst_correction</a></span>
|
130
136
|
<small>Lazier::TimeZone</small>
|
131
137
|
</li>
|
132
138
|
|
133
139
|
|
134
|
-
<li class="
|
140
|
+
<li class="r2 ">
|
135
141
|
<span class='object_link'><a href="Lazier/TimeZone.html#dst_name-instance_method" title="Lazier::TimeZone#dst_name (method)">#dst_name</a></span>
|
136
142
|
<small>Lazier::TimeZone</small>
|
137
143
|
</li>
|
138
144
|
|
139
145
|
|
140
|
-
<li class="
|
146
|
+
<li class="r1 ">
|
141
147
|
<span class='object_link'><a href="Lazier/TimeZone.html#dst_offset-instance_method" title="Lazier::TimeZone#dst_offset (method)">#dst_offset</a></span>
|
142
148
|
<small>Lazier::TimeZone</small>
|
143
149
|
</li>
|
144
150
|
|
145
151
|
|
146
|
-
<li class="
|
152
|
+
<li class="r2 ">
|
147
153
|
<span class='object_link'><a href="Lazier/TimeZone.html#dst_period-instance_method" title="Lazier::TimeZone#dst_period (method)">#dst_period</a></span>
|
148
154
|
<small>Lazier::TimeZone</small>
|
149
155
|
</li>
|
150
156
|
|
151
157
|
|
152
|
-
<li class="
|
158
|
+
<li class="r1 ">
|
153
159
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#easter-instance_method" title="Lazier::DateTime::ClassMethods#easter (method)">#easter</a></span>
|
154
160
|
<small>Lazier::DateTime::ClassMethods</small>
|
155
161
|
</li>
|
156
162
|
|
157
163
|
|
158
|
-
<li class="
|
164
|
+
<li class="r2 ">
|
159
165
|
<span class='object_link'><a href="Lazier/Hash.html#enable_dotted_access-instance_method" title="Lazier::Hash#enable_dotted_access (method)">#enable_dotted_access</a></span>
|
160
166
|
<small>Lazier::Hash</small>
|
161
167
|
</li>
|
162
168
|
|
163
169
|
|
170
|
+
<li class="r1 ">
|
171
|
+
<span class='object_link'><a href="Lazier/Hash.html#enable_dotted_access_for_value-instance_method" title="Lazier::Hash#enable_dotted_access_for_value (method)">#enable_dotted_access_for_value</a></span>
|
172
|
+
<small>Lazier::Hash</small>
|
173
|
+
</li>
|
174
|
+
|
175
|
+
|
164
176
|
<li class="r2 ">
|
165
177
|
<span class='object_link'><a href="Lazier/Object.html#ensure-instance_method" title="Lazier::Object#ensure (method)">#ensure</a></span>
|
166
178
|
<small>Lazier::Object</small>
|
@@ -216,95 +228,95 @@
|
|
216
228
|
|
217
229
|
|
218
230
|
<li class="r1 ">
|
219
|
-
<span class='object_link'><a href="Lazier/Object.html#
|
231
|
+
<span class='object_link'><a href="Lazier/Object.html#float%3F-instance_method" title="Lazier::Object#float? (method)">#float?</a></span>
|
220
232
|
<small>Lazier::Object</small>
|
221
233
|
</li>
|
222
234
|
|
223
235
|
|
224
236
|
<li class="r2 ">
|
225
|
-
<span class='object_link'><a href="Lazier/Object.html#
|
237
|
+
<span class='object_link'><a href="Lazier/Object.html#for_debug-instance_method" title="Lazier::Object#for_debug (method)">#for_debug</a></span>
|
226
238
|
<small>Lazier::Object</small>
|
227
239
|
</li>
|
228
240
|
|
229
241
|
|
230
242
|
<li class="r1 ">
|
231
|
-
<span class='object_link'><a href="Lazier/Object.html#
|
243
|
+
<span class='object_link'><a href="Lazier/Object.html#format_boolean-instance_method" title="Lazier::Object#format_boolean (method)">#format_boolean</a></span>
|
232
244
|
<small>Lazier::Object</small>
|
233
245
|
</li>
|
234
246
|
|
235
247
|
|
236
248
|
<li class="r2 ">
|
249
|
+
<span class='object_link'><a href="Lazier/Object.html#format_number-instance_method" title="Lazier::Object#format_number (method)">#format_number</a></span>
|
250
|
+
<small>Lazier::Object</small>
|
251
|
+
</li>
|
252
|
+
|
253
|
+
|
254
|
+
<li class="r1 ">
|
237
255
|
<span class='object_link'><a href="Lazier/Settings.html#format_number-instance_method" title="Lazier::Settings#format_number (method)">#format_number</a></span>
|
238
256
|
<small>Lazier::Settings</small>
|
239
257
|
</li>
|
240
258
|
|
241
259
|
|
242
|
-
<li class="
|
260
|
+
<li class="r2 ">
|
243
261
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#format_offset-instance_method" title="Lazier::TimeZone::ClassMethods#format_offset (method)">#format_offset</a></span>
|
244
262
|
<small>Lazier::TimeZone::ClassMethods</small>
|
245
263
|
</li>
|
246
264
|
|
247
265
|
|
248
|
-
<li class="
|
266
|
+
<li class="r1 ">
|
249
267
|
<span class='object_link'><a href="Lazier/Settings.html#i18n-instance_method" title="Lazier::Settings#i18n (method)">#i18n</a></span>
|
250
268
|
<small>Lazier::Settings</small>
|
251
269
|
</li>
|
252
270
|
|
253
271
|
|
254
|
-
<li class="
|
272
|
+
<li class="r2 ">
|
255
273
|
<span class='object_link'><a href="Lazier/I18n.html#i18n-instance_method" title="Lazier::I18n#i18n (method)">#i18n</a></span>
|
256
274
|
<small>Lazier::I18n</small>
|
257
275
|
</li>
|
258
276
|
|
259
277
|
|
260
|
-
<li class="
|
278
|
+
<li class="r1 ">
|
261
279
|
<span class='object_link'><a href="Lazier/I18n.html#i18n%3D-instance_method" title="Lazier::I18n#i18n= (method)">#i18n=</a></span>
|
262
280
|
<small>Lazier::I18n</small>
|
263
281
|
</li>
|
264
282
|
|
265
283
|
|
266
|
-
<li class="
|
284
|
+
<li class="r2 ">
|
267
285
|
<span class='object_link'><a href="Lazier/I18n.html#i18n_locale-instance_method" title="Lazier::I18n#i18n_locale (method)">#i18n_locale</a></span>
|
268
286
|
<small>Lazier::I18n</small>
|
269
287
|
</li>
|
270
288
|
|
271
289
|
|
272
|
-
<li class="
|
290
|
+
<li class="r1 ">
|
273
291
|
<span class='object_link'><a href="Lazier/I18n.html#i18n_locales_path-instance_method" title="Lazier::I18n#i18n_locales_path (method)">#i18n_locales_path</a></span>
|
274
292
|
<small>Lazier::I18n</small>
|
275
293
|
</li>
|
276
294
|
|
277
295
|
|
278
|
-
<li class="
|
296
|
+
<li class="r2 ">
|
279
297
|
<span class='object_link'><a href="Lazier/I18n.html#i18n_root-instance_method" title="Lazier::I18n#i18n_root (method)">#i18n_root</a></span>
|
280
298
|
<small>Lazier::I18n</small>
|
281
299
|
</li>
|
282
300
|
|
283
301
|
|
284
|
-
<li class="
|
302
|
+
<li class="r1 ">
|
285
303
|
<span class='object_link'><a href="Lazier/I18n.html#i18n_setup-instance_method" title="Lazier::I18n#i18n_setup (method)">#i18n_setup</a></span>
|
286
304
|
<small>Lazier::I18n</small>
|
287
305
|
</li>
|
288
306
|
|
289
307
|
|
290
|
-
<li class="
|
308
|
+
<li class="r2 ">
|
291
309
|
<span class='object_link'><a href="Lazier/DateTime.html#in_months-instance_method" title="Lazier::DateTime#in_months (method)">#in_months</a></span>
|
292
310
|
<small>Lazier::DateTime</small>
|
293
311
|
</li>
|
294
312
|
|
295
313
|
|
296
|
-
<li class="
|
314
|
+
<li class="r1 ">
|
297
315
|
<span class='object_link'><a href="Lazier/Object.html#indexize-instance_method" title="Lazier::Object#indexize (method)">#indexize</a></span>
|
298
316
|
<small>Lazier::Object</small>
|
299
317
|
</li>
|
300
318
|
|
301
319
|
|
302
|
-
<li class="r1 ">
|
303
|
-
<span class='object_link'><a href="Lazier/Configuration.html#initialize-instance_method" title="Lazier::Configuration#initialize (method)">#initialize</a></span>
|
304
|
-
<small>Lazier::Configuration</small>
|
305
|
-
</li>
|
306
|
-
|
307
|
-
|
308
320
|
<li class="r2 ">
|
309
321
|
<span class='object_link'><a href="Lazier/Localizer.html#initialize-instance_method" title="Lazier::Localizer#initialize (method)">#initialize</a></span>
|
310
322
|
<small>Lazier::Localizer</small>
|
@@ -312,8 +324,8 @@
|
|
312
324
|
|
313
325
|
|
314
326
|
<li class="r1 ">
|
315
|
-
<span class='object_link'><a href="Lazier/
|
316
|
-
<small>Lazier::
|
327
|
+
<span class='object_link'><a href="Lazier/Configuration.html#initialize-instance_method" title="Lazier::Configuration#initialize (method)">#initialize</a></span>
|
328
|
+
<small>Lazier::Configuration</small>
|
317
329
|
</li>
|
318
330
|
|
319
331
|
|
@@ -324,35 +336,23 @@
|
|
324
336
|
|
325
337
|
|
326
338
|
<li class="r1 ">
|
327
|
-
<span class='object_link'><a href="Lazier/
|
328
|
-
<small>Lazier::
|
339
|
+
<span class='object_link'><a href="Lazier/Exceptions/MissingTranslation.html#initialize-instance_method" title="Lazier::Exceptions::MissingTranslation#initialize (method)">#initialize</a></span>
|
340
|
+
<small>Lazier::Exceptions::MissingTranslation</small>
|
329
341
|
</li>
|
330
342
|
|
331
343
|
|
332
344
|
<li class="r2 ">
|
333
|
-
<span class='object_link'><a href="Lazier/
|
334
|
-
<small>Lazier::
|
345
|
+
<span class='object_link'><a href="Lazier/Settings.html#instance-class_method" title="Lazier::Settings.instance (method)">instance</a></span>
|
346
|
+
<small>Lazier::Settings</small>
|
335
347
|
</li>
|
336
348
|
|
337
349
|
|
338
350
|
<li class="r1 ">
|
339
|
-
<span class='object_link'><a href="Lazier/Object.html#
|
340
|
-
<small>Lazier::Object</small>
|
341
|
-
</li>
|
342
|
-
|
343
|
-
|
344
|
-
<li class="r2 ">
|
345
|
-
<span class='object_link'><a href="Lazier/Object.html#is_integer%3F-instance_method" title="Lazier::Object#is_integer? (method)">#is_integer?</a></span>
|
351
|
+
<span class='object_link'><a href="Lazier/Object.html#integer%3F-instance_method" title="Lazier::Object#integer? (method)">#integer?</a></span>
|
346
352
|
<small>Lazier::Object</small>
|
347
353
|
</li>
|
348
354
|
|
349
355
|
|
350
|
-
<li class="r1 ">
|
351
|
-
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#is_valid%3F-instance_method" title="Lazier::DateTime::ClassMethods#is_valid? (method)">#is_valid?</a></span>
|
352
|
-
<small>Lazier::DateTime::ClassMethods</small>
|
353
|
-
</li>
|
354
|
-
|
355
|
-
|
356
356
|
<li class="r2 ">
|
357
357
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#list_all-instance_method" title="Lazier::TimeZone::ClassMethods#list_all (method)">#list_all</a></span>
|
358
358
|
<small>Lazier::TimeZone::ClassMethods</small>
|
@@ -474,41 +474,41 @@
|
|
474
474
|
|
475
475
|
|
476
476
|
<li class="r2 ">
|
477
|
+
<span class='object_link'><a href="Lazier/Object.html#numeric%3F-instance_method" title="Lazier::Object#numeric? (method)">#numeric?</a></span>
|
478
|
+
<small>Lazier::Object</small>
|
479
|
+
</li>
|
480
|
+
|
481
|
+
|
482
|
+
<li class="r1 ">
|
477
483
|
<span class='object_link'><a href="Lazier/TimeZone.html#offset-instance_method" title="Lazier::TimeZone#offset (method)">#offset</a></span>
|
478
484
|
<small>Lazier::TimeZone</small>
|
479
485
|
</li>
|
480
486
|
|
481
487
|
|
482
|
-
<li class="
|
488
|
+
<li class="r2 ">
|
483
489
|
<span class='object_link'><a href="Lazier/DateTime.html#padded_month-instance_method" title="Lazier::DateTime#padded_month (method)">#padded_month</a></span>
|
484
490
|
<small>Lazier::DateTime</small>
|
485
491
|
</li>
|
486
492
|
|
487
493
|
|
488
|
-
<li class="
|
494
|
+
<li class="r1 ">
|
489
495
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#parameterize_zone-instance_method" title="Lazier::TimeZone::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
490
496
|
<small>Lazier::TimeZone::ClassMethods</small>
|
491
497
|
</li>
|
492
498
|
|
493
499
|
|
494
|
-
<li class="
|
500
|
+
<li class="r2 ">
|
495
501
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#parameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
496
502
|
<small>Lazier::DateTime::ClassMethods</small>
|
497
503
|
</li>
|
498
504
|
|
499
505
|
|
500
|
-
<li class="
|
506
|
+
<li class="r1 ">
|
501
507
|
<span class='object_link'><a href="Lazier/Configuration.html#property-class_method" title="Lazier::Configuration.property (method)">property</a></span>
|
502
508
|
<small>Lazier::Configuration</small>
|
503
509
|
</li>
|
504
510
|
|
505
511
|
|
506
|
-
<li class="r1 ">
|
507
|
-
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#rationalize_offset-instance_method" title="Lazier::TimeZone::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
508
|
-
<small>Lazier::TimeZone::ClassMethods</small>
|
509
|
-
</li>
|
510
|
-
|
511
|
-
|
512
512
|
<li class="r2 ">
|
513
513
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#rationalize_offset-instance_method" title="Lazier::DateTime::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
514
514
|
<small>Lazier::DateTime::ClassMethods</small>
|
@@ -516,131 +516,131 @@
|
|
516
516
|
|
517
517
|
|
518
518
|
<li class="r1 ">
|
519
|
+
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#rationalize_offset-instance_method" title="Lazier::TimeZone::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
520
|
+
<small>Lazier::TimeZone::ClassMethods</small>
|
521
|
+
</li>
|
522
|
+
|
523
|
+
|
524
|
+
<li class="r2 ">
|
519
525
|
<span class='object_link'><a href="Lazier/String.html#remove_accents-instance_method" title="Lazier::String#remove_accents (method)">#remove_accents</a></span>
|
520
526
|
<small>Lazier::String</small>
|
521
527
|
</li>
|
522
528
|
|
523
529
|
|
524
|
-
<li class="
|
530
|
+
<li class="r1 ">
|
525
531
|
<span class='object_link'><a href="Lazier/String.html#replace_ampersands-instance_method" title="Lazier::String#replace_ampersands (method)">#replace_ampersands</a></span>
|
526
532
|
<small>Lazier::String</small>
|
527
533
|
</li>
|
528
534
|
|
529
535
|
|
530
|
-
<li class="
|
536
|
+
<li class="r2 ">
|
531
537
|
<span class='object_link'><a href="Lazier/Object.html#round_to_precision-instance_method" title="Lazier::Object#round_to_precision (method)">#round_to_precision</a></span>
|
532
538
|
<small>Lazier::Object</small>
|
533
539
|
</li>
|
534
540
|
|
535
541
|
|
536
|
-
<li class="
|
542
|
+
<li class="r1 ">
|
537
543
|
<span class='object_link'><a href="Lazier/Object.html#safe_send-instance_method" title="Lazier::Object#safe_send (method)">#safe_send</a></span>
|
538
544
|
<small>Lazier::Object</small>
|
539
545
|
</li>
|
540
546
|
|
541
547
|
|
542
|
-
<li class="
|
548
|
+
<li class="r2 ">
|
543
549
|
<span class='object_link'><a href="Lazier.html#settings-class_method" title="Lazier.settings (method)">settings</a></span>
|
544
550
|
<small>Lazier</small>
|
545
551
|
</li>
|
546
552
|
|
547
553
|
|
548
|
-
<li class="
|
554
|
+
<li class="r1 ">
|
549
555
|
<span class='object_link'><a href="Lazier/Settings.html#setup-instance_method" title="Lazier::Settings#setup (method)">#setup</a></span>
|
550
556
|
<small>Lazier::Settings</small>
|
551
557
|
</li>
|
552
558
|
|
553
559
|
|
554
|
-
<li class="
|
560
|
+
<li class="r2 ">
|
555
561
|
<span class='object_link'><a href="Lazier/Settings.html#setup_boolean_names-instance_method" title="Lazier::Settings#setup_boolean_names (method)">#setup_boolean_names</a></span>
|
556
562
|
<small>Lazier::Settings</small>
|
557
563
|
</li>
|
558
564
|
|
559
565
|
|
560
|
-
<li class="
|
566
|
+
<li class="r1 ">
|
561
567
|
<span class='object_link'><a href="Lazier/Settings.html#setup_date_formats-instance_method" title="Lazier::Settings#setup_date_formats (method)">#setup_date_formats</a></span>
|
562
568
|
<small>Lazier::Settings</small>
|
563
569
|
</li>
|
564
570
|
|
565
571
|
|
566
|
-
<li class="
|
572
|
+
<li class="r2 ">
|
567
573
|
<span class='object_link'><a href="Lazier/Settings.html#setup_date_names-instance_method" title="Lazier::Settings#setup_date_names (method)">#setup_date_names</a></span>
|
568
574
|
<small>Lazier::Settings</small>
|
569
575
|
</li>
|
570
576
|
|
571
577
|
|
572
|
-
<li class="
|
578
|
+
<li class="r1 ">
|
573
579
|
<span class='object_link'><a href="Lazier/Settings.html#setup_format_number-instance_method" title="Lazier::Settings#setup_format_number (method)">#setup_format_number</a></span>
|
574
580
|
<small>Lazier::Settings</small>
|
575
581
|
</li>
|
576
582
|
|
577
583
|
|
578
|
-
<li class="
|
584
|
+
<li class="r2 ">
|
579
585
|
<span class='object_link'><a href="Lazier/String.html#split_tokens-instance_method" title="Lazier::String#split_tokens (method)">#split_tokens</a></span>
|
580
586
|
<small>Lazier::String</small>
|
581
587
|
</li>
|
582
588
|
|
583
589
|
|
584
|
-
<li class="
|
590
|
+
<li class="r1 ">
|
585
591
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#timezones-instance_method" title="Lazier::DateTime::ClassMethods#timezones (method)">#timezones</a></span>
|
586
592
|
<small>Lazier::DateTime::ClassMethods</small>
|
587
593
|
</li>
|
588
594
|
|
589
595
|
|
590
|
-
<li class="
|
596
|
+
<li class="r2 ">
|
591
597
|
<span class='object_link'><a href="Lazier/Object.html#to_boolean-instance_method" title="Lazier::Object#to_boolean (method)">#to_boolean</a></span>
|
592
598
|
<small>Lazier::Object</small>
|
593
599
|
</li>
|
594
600
|
|
595
601
|
|
596
|
-
<li class="
|
602
|
+
<li class="r1 ">
|
597
603
|
<span class='object_link'><a href="Lazier/Object.html#to_float-instance_method" title="Lazier::Object#to_float (method)">#to_float</a></span>
|
598
604
|
<small>Lazier::Object</small>
|
599
605
|
</li>
|
600
606
|
|
601
607
|
|
602
|
-
<li class="
|
608
|
+
<li class="r2 ">
|
603
609
|
<span class='object_link'><a href="Lazier/Boolean.html#to_i-instance_method" title="Lazier::Boolean#to_i (method)">#to_i</a></span>
|
604
610
|
<small>Lazier::Boolean</small>
|
605
611
|
</li>
|
606
612
|
|
607
613
|
|
608
|
-
<li class="
|
614
|
+
<li class="r1 ">
|
609
615
|
<span class='object_link'><a href="Lazier/Object.html#to_integer-instance_method" title="Lazier::Object#to_integer (method)">#to_integer</a></span>
|
610
616
|
<small>Lazier::Object</small>
|
611
617
|
</li>
|
612
618
|
|
613
619
|
|
614
|
-
<li class="
|
620
|
+
<li class="r2 ">
|
615
621
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str-instance_method" title="Lazier::TimeZone#to_str (method)">#to_str</a></span>
|
616
622
|
<small>Lazier::TimeZone</small>
|
617
623
|
</li>
|
618
624
|
|
619
625
|
|
620
|
-
<li class="
|
626
|
+
<li class="r1 ">
|
621
627
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_parameterized-instance_method" title="Lazier::TimeZone#to_str_parameterized (method)">#to_str_parameterized</a></span>
|
622
628
|
<small>Lazier::TimeZone</small>
|
623
629
|
</li>
|
624
630
|
|
625
631
|
|
626
|
-
<li class="
|
632
|
+
<li class="r2 ">
|
627
633
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_with_dst-instance_method" title="Lazier::TimeZone#to_str_with_dst (method)">#to_str_with_dst</a></span>
|
628
634
|
<small>Lazier::TimeZone</small>
|
629
635
|
</li>
|
630
636
|
|
631
637
|
|
632
|
-
<li class="
|
638
|
+
<li class="r1 ">
|
633
639
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_with_dst_parameterized-instance_method" title="Lazier::TimeZone#to_str_with_dst_parameterized (method)">#to_str_with_dst_parameterized</a></span>
|
634
640
|
<small>Lazier::TimeZone</small>
|
635
641
|
</li>
|
636
642
|
|
637
643
|
|
638
|
-
<li class="r1 ">
|
639
|
-
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#unparameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
640
|
-
<small>Lazier::DateTime::ClassMethods</small>
|
641
|
-
</li>
|
642
|
-
|
643
|
-
|
644
644
|
<li class="r2 ">
|
645
645
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#unparameterize_zone-instance_method" title="Lazier::TimeZone::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
646
646
|
<small>Lazier::TimeZone::ClassMethods</small>
|
@@ -648,23 +648,35 @@
|
|
648
648
|
|
649
649
|
|
650
650
|
<li class="r1 ">
|
651
|
+
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#unparameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
652
|
+
<small>Lazier::DateTime::ClassMethods</small>
|
653
|
+
</li>
|
654
|
+
|
655
|
+
|
656
|
+
<li class="r2 ">
|
651
657
|
<span class='object_link'><a href="Lazier/String.html#untitleize-instance_method" title="Lazier::String#untitleize (method)">#untitleize</a></span>
|
652
658
|
<small>Lazier::String</small>
|
653
659
|
</li>
|
654
660
|
|
655
661
|
|
656
|
-
<li class="
|
662
|
+
<li class="r1 ">
|
657
663
|
<span class='object_link'><a href="Lazier/TimeZone.html#uses_dst%3F-instance_method" title="Lazier::TimeZone#uses_dst? (method)">#uses_dst?</a></span>
|
658
664
|
<small>Lazier::TimeZone</small>
|
659
665
|
</li>
|
660
666
|
|
661
667
|
|
662
|
-
<li class="
|
668
|
+
<li class="r2 ">
|
663
669
|
<span class='object_link'><a href="Lazier/DateTime.html#utc_time-instance_method" title="Lazier::DateTime#utc_time (method)">#utc_time</a></span>
|
664
670
|
<small>Lazier::DateTime</small>
|
665
671
|
</li>
|
666
672
|
|
667
673
|
|
674
|
+
<li class="r1 ">
|
675
|
+
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#valid%3F-instance_method" title="Lazier::DateTime::ClassMethods#valid? (method)">#valid?</a></span>
|
676
|
+
<small>Lazier::DateTime::ClassMethods</small>
|
677
|
+
</li>
|
678
|
+
|
679
|
+
|
668
680
|
<li class="r2 ">
|
669
681
|
<span class='object_link'><a href="Lazier/String.html#value-instance_method" title="Lazier::String#value (method)">#value</a></span>
|
670
682
|
<small>Lazier::String</small>
|