cowtech-extensions 2.5.1 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/Cowtech.html +2 -2
- data/doc/Cowtech/Extensions.html +83 -86
- data/doc/Cowtech/Extensions/Boolean.html +8 -10
- data/doc/Cowtech/Extensions/DateTime.html +52 -58
- data/doc/Cowtech/Extensions/DateTime/ClassMethods.html +79 -91
- data/doc/Cowtech/Extensions/Exceptions.html +2 -2
- data/doc/Cowtech/Extensions/Exceptions/Dump.html +2 -2
- data/doc/Cowtech/Extensions/Hash.html +18 -20
- data/doc/Cowtech/Extensions/Math.html +2 -2
- data/doc/Cowtech/Extensions/Math/ClassMethods.html +22 -24
- data/doc/Cowtech/Extensions/Object.html +81 -95
- data/doc/Cowtech/Extensions/Pathname.html +10 -11
- data/doc/Cowtech/Extensions/Settings.html +70 -80
- data/doc/Cowtech/Extensions/String.html +22 -26
- data/doc/Cowtech/Extensions/TimeZone.html +205 -92
- data/doc/Cowtech/Extensions/TimeZone/ClassMethods.html +59 -65
- data/doc/Cowtech/Extensions/Version.html +6 -10
- data/doc/_index.html +2 -2
- data/doc/file.README.html +5 -5
- data/doc/index.html +5 -5
- data/doc/method_list.html +82 -74
- data/doc/top-level-namespace.html +2 -2
- data/lib/cowtech-extensions/datetime.rb +16 -5
- data/lib/cowtech-extensions/settings.rb +5 -5
- data/lib/cowtech-extensions/version.rb +2 -2
- data/spec/cowtech-extensions/datetime_spec.rb +12 -3
- metadata +120 -138
@@ -347,16 +347,15 @@
|
|
347
347
|
<td>
|
348
348
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 290</span>
|
349
349
|
|
350
|
-
<span class='
|
351
|
-
<span class='
|
352
|
-
<span class='
|
353
|
-
<span class='
|
354
|
-
<span class='
|
355
|
-
|
356
|
-
<span class='
|
357
|
-
<span class='
|
358
|
-
<span class='
|
359
|
-
</pre>
|
350
|
+
<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>
|
351
|
+
<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>
|
352
|
+
<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_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_zone'>zone</span><span class='op'>|</span>
|
353
|
+
<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='lbracket'>[</span><span class='id identifier rubyid_zone'>zone</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span> <span class='id identifier rubyid_zone'>zone</span><span class='period'>.</span><span class='id identifier rubyid_to_s_with_dst'>to_s_with_dst</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
354
|
+
<span class='kw'>end</span>
|
355
|
+
|
356
|
+
<span class='kw'>nil</span>
|
357
|
+
<span class='kw'>end</span>
|
358
|
+
<span class='kw'>end</span></pre>
|
360
359
|
</td>
|
361
360
|
</tr>
|
362
361
|
</table>
|
@@ -448,11 +447,10 @@
|
|
448
447
|
<td>
|
449
448
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 280</span>
|
450
449
|
|
451
|
-
<span class='
|
452
|
-
<span class='
|
453
|
-
<span class='
|
454
|
-
<span class='
|
455
|
-
</pre>
|
450
|
+
<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>
|
451
|
+
<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>
|
452
|
+
<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>
|
453
|
+
<span class='kw'>end</span></pre>
|
456
454
|
</td>
|
457
455
|
</tr>
|
458
456
|
</table>
|
@@ -557,22 +555,21 @@
|
|
557
555
|
<td>
|
558
556
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 305</span>
|
559
557
|
|
560
|
-
<span class='
|
561
|
-
<span class='
|
562
|
-
<span class='
|
558
|
+
<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>
|
559
|
+
<span class='id identifier rubyid_dst_key'>dst_key</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='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
560
|
+
<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='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_collect'>collect</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_s</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
563
561
|
|
564
|
-
<span class='
|
565
|
-
<span class='
|
562
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_with_dst'>with_dst</span> <span class='op'>&&</span> <span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='id identifier rubyid_dst_key'>dst_key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span> <span class='kw'>then</span>
|
563
|
+
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='id identifier rubyid_dst_key'>dst_key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
566
564
|
|
567
|
-
<span class='
|
568
|
-
<span class='
|
569
|
-
<span class='
|
570
|
-
<span class='
|
571
|
-
<span class='
|
565
|
+
<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_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_zone'>zone</span><span class='op'>|</span>
|
566
|
+
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='id identifier rubyid_dst_key'>dst_key</span><span class='rbracket'>]</span> <span class='op'><<</span> <span class='id identifier rubyid_zone'>zone</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
567
|
+
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='id identifier rubyid_dst_key'>dst_key</span><span class='rbracket'>]</span> <span class='op'><<</span> <span class='id identifier rubyid_zone'>zone</span><span class='period'>.</span><span class='id identifier rubyid_to_s_with_dst'>to_s_with_dst</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_zone'>zone</span><span class='period'>.</span><span class='id identifier rubyid_uses_dst?'>uses_dst?</span>
|
568
|
+
<span class='kw'>end</span>
|
569
|
+
<span class='kw'>end</span>
|
572
570
|
|
573
|
-
<span class='
|
574
|
-
<span class='
|
575
|
-
</pre>
|
571
|
+
<span class='ivar'>@zones_names</span><span class='lbracket'>[</span><span class='id identifier rubyid_with_dst'>with_dst</span> <span class='op'>?</span> <span class='id identifier rubyid_dst_key'>dst_key</span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>STANDARD</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
572
|
+
<span class='kw'>end</span></pre>
|
576
573
|
</td>
|
577
574
|
</tr>
|
578
575
|
</table>
|
@@ -591,9 +588,9 @@
|
|
591
588
|
<div class="discussion">
|
592
589
|
<p>Returns a string representation of a timezone.</p>
|
593
590
|
|
594
|
-
<pre class="code ruby"><code><span class='
|
595
|
-
<span class='comment
|
596
|
-
</code></pre>
|
591
|
+
<pre class="code ruby"><code><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Pacific Time (US & Canada)</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
592
|
+
<span class='comment'># => "-0800@pacific-time-us-canada"
|
593
|
+
</span></code></pre>
|
597
594
|
|
598
595
|
|
599
596
|
</div>
|
@@ -675,18 +672,17 @@
|
|
675
672
|
<td>
|
676
673
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 330</span>
|
677
674
|
|
678
|
-
<span class='
|
679
|
-
<span class='
|
680
|
-
|
681
|
-
<span class='
|
682
|
-
<span class='
|
683
|
-
<span class='
|
684
|
-
<span class='
|
685
|
-
<span class='
|
686
|
-
<span class='
|
687
|
-
<span class='
|
688
|
-
<span class='
|
689
|
-
</pre>
|
675
|
+
<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>
|
676
|
+
<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>
|
677
|
+
|
678
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_tz'>tz</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='kw'>then</span>
|
679
|
+
<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='backref'>$2</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='backref'>$3</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='backref'>$5</span><span class='rbrace'>}</span><span class='tstring_content'>@</span><span class='embexpr_beg'>#{</span><span class='backref'>$6</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='backref'>$6</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span>
|
680
|
+
<span class='kw'>elsif</span> <span class='op'>!</span><span class='id identifier rubyid_with_offset'>with_offset</span> <span class='kw'>then</span>
|
681
|
+
<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>
|
682
|
+
<span class='kw'>else</span>
|
683
|
+
<span class='id identifier rubyid_tz'>tz</span><span class='period'>.</span><span class='id identifier rubyid_parameterize'>parameterize</span>
|
684
|
+
<span class='kw'>end</span>
|
685
|
+
<span class='kw'>end</span></pre>
|
690
686
|
</td>
|
691
687
|
</tr>
|
692
688
|
</table>
|
@@ -761,11 +757,10 @@
|
|
761
757
|
<td>
|
762
758
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 270</span>
|
763
759
|
|
764
|
-
<span class='
|
765
|
-
<span class='
|
766
|
-
<span class='
|
767
|
-
<span class='
|
768
|
-
</pre>
|
760
|
+
<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>
|
761
|
+
<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>
|
762
|
+
<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>
|
763
|
+
<span class='kw'>end</span></pre>
|
769
764
|
</td>
|
770
765
|
</tr>
|
771
766
|
</table>
|
@@ -894,24 +889,23 @@
|
|
894
889
|
<td>
|
895
890
|
<pre class="code"><span class="info file"># File 'lib/cowtech-extensions/datetime.rb', line 349</span>
|
896
891
|
|
897
|
-
<span class='
|
898
|
-
<span class='
|
892
|
+
<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>
|
893
|
+
<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>
|
899
894
|
|
900
|
-
<span class='
|
901
|
-
<span class='
|
902
|
-
<span class='
|
903
|
-
<span class='
|
895
|
+
<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>
|
896
|
+
<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>
|
897
|
+
<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='id identifier rubyid_tz'>tz</span>
|
898
|
+
<span class='kw'>end</span>
|
904
899
|
|
905
|
-
<span class='
|
906
|
-
<span class='
|
900
|
+
<span class='kw'>nil</span>
|
901
|
+
<span class='kw'>end</span>
|
907
902
|
|
908
|
-
<span class='
|
909
|
-
<span class='lparen
|
910
|
-
<span class='
|
911
|
-
<span class='
|
912
|
-
<span class='
|
913
|
-
<span class='
|
914
|
-
</pre>
|
903
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span> <span class='kw'>then</span>
|
904
|
+
<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>
|
905
|
+
<span class='kw'>else</span>
|
906
|
+
<span class='kw'>nil</span>
|
907
|
+
<span class='kw'>end</span>
|
908
|
+
<span class='kw'>end</span></pre>
|
915
909
|
</td>
|
916
910
|
</tr>
|
917
911
|
</table>
|
@@ -922,9 +916,9 @@
|
|
922
916
|
</div>
|
923
917
|
|
924
918
|
<div id="footer">
|
925
|
-
Generated on Fri Jul 20
|
919
|
+
Generated on Fri Jul 20 14:28:07 2012 by
|
926
920
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
927
|
-
0.8.2.1 (ruby-1.
|
921
|
+
0.8.2.1 (ruby-1.9.2).
|
928
922
|
</div>
|
929
923
|
|
930
924
|
</body>
|
@@ -119,8 +119,7 @@
|
|
119
119
|
|
120
120
|
</div>
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='
|
123
|
-
</pre></dd>
|
122
|
+
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
124
123
|
|
125
124
|
<dt id="MINOR-constant" class="">MINOR =
|
126
125
|
<div class="docstring">
|
@@ -135,8 +134,7 @@
|
|
135
134
|
|
136
135
|
</div>
|
137
136
|
</dt>
|
138
|
-
<dd><pre class="code"><span class='
|
139
|
-
</pre></dd>
|
137
|
+
<dd><pre class="code"><span class='int'>6</span></pre></dd>
|
140
138
|
|
141
139
|
<dt id="PATCH-constant" class="">PATCH =
|
142
140
|
<div class="docstring">
|
@@ -151,8 +149,7 @@
|
|
151
149
|
|
152
150
|
</div>
|
153
151
|
</dt>
|
154
|
-
<dd><pre class="code"><span class='
|
155
|
-
</pre></dd>
|
152
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
156
153
|
|
157
154
|
<dt id="STRING-constant" class="">STRING =
|
158
155
|
<div class="docstring">
|
@@ -167,8 +164,7 @@
|
|
167
164
|
|
168
165
|
</div>
|
169
166
|
</dt>
|
170
|
-
<dd><pre class="code"><span class='
|
171
|
-
</pre></dd>
|
167
|
+
<dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>PATCH</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span></pre></dd>
|
172
168
|
|
173
169
|
</dl>
|
174
170
|
|
@@ -184,9 +180,9 @@
|
|
184
180
|
</div>
|
185
181
|
|
186
182
|
<div id="footer">
|
187
|
-
Generated on Fri Jul 20
|
183
|
+
Generated on Fri Jul 20 14:28:07 2012 by
|
188
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
189
|
-
0.8.2.1 (ruby-1.
|
185
|
+
0.8.2.1 (ruby-1.9.2).
|
190
186
|
</div>
|
191
187
|
|
192
188
|
</body>
|
data/doc/_index.html
CHANGED
@@ -296,9 +296,9 @@
|
|
296
296
|
</div>
|
297
297
|
|
298
298
|
<div id="footer">
|
299
|
-
Generated on Fri Jul 20
|
299
|
+
Generated on Fri Jul 20 14:28:06 2012 by
|
300
300
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
301
|
-
0.8.2.1 (ruby-1.
|
301
|
+
0.8.2.1 (ruby-1.9.2).
|
302
302
|
</div>
|
303
303
|
|
304
304
|
</body>
|
data/doc/file.README.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
@@ -68,8 +68,8 @@
|
|
68
68
|
|
69
69
|
<h2>Usage</h2>
|
70
70
|
|
71
|
-
<pre class="code ruby"><code><span class='
|
72
|
-
<span class='
|
71
|
+
<pre class="code ruby"><code><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>cowtech-extensions</span><span class='tstring_end'>"</span></span>
|
72
|
+
<span class='const'>Cowtech</span><span class='op'>::</span><span class='const'>Extensions</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span>
|
73
73
|
</code></pre>
|
74
74
|
|
75
75
|
<p>That's all!
|
@@ -94,9 +94,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
94
94
|
</div></div>
|
95
95
|
|
96
96
|
<div id="footer">
|
97
|
-
Generated on Fri Jul 20
|
97
|
+
Generated on Fri Jul 20 14:28:06 2012 by
|
98
98
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
99
|
-
0.8.2.1 (ruby-1.
|
99
|
+
0.8.2.1 (ruby-1.9.2).
|
100
100
|
</div>
|
101
101
|
|
102
102
|
</body>
|
data/doc/index.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
@@ -68,8 +68,8 @@
|
|
68
68
|
|
69
69
|
<h2>Usage</h2>
|
70
70
|
|
71
|
-
<pre class="code ruby"><code><span class='
|
72
|
-
<span class='
|
71
|
+
<pre class="code ruby"><code><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>cowtech-extensions</span><span class='tstring_end'>"</span></span>
|
72
|
+
<span class='const'>Cowtech</span><span class='op'>::</span><span class='const'>Extensions</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span>
|
73
73
|
</code></pre>
|
74
74
|
|
75
75
|
<p>That's all!
|
@@ -94,9 +94,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
94
94
|
</div></div>
|
95
95
|
|
96
96
|
<div id="footer">
|
97
|
-
Generated on Fri Jul 20
|
97
|
+
Generated on Fri Jul 20 14:28:06 2012 by
|
98
98
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
99
|
-
0.8.2.1 (ruby-1.
|
99
|
+
0.8.2.1 (ruby-1.9.2).
|
100
100
|
</div>
|
101
101
|
|
102
102
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -119,7 +119,7 @@
|
|
119
119
|
|
120
120
|
|
121
121
|
<li class="r2 ">
|
122
|
-
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#
|
122
|
+
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#dst_name-instance_method" title="Cowtech::Extensions::TimeZone#dst_name (method)">#dst_name</a></span>
|
123
123
|
|
124
124
|
<small>Cowtech::Extensions::TimeZone</small>
|
125
125
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
|
128
128
|
|
129
129
|
<li class="r1 ">
|
130
|
-
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#
|
130
|
+
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#dst_offset-instance_method" title="Cowtech::Extensions::TimeZone#dst_offset (method)">#dst_offset</a></span>
|
131
131
|
|
132
132
|
<small>Cowtech::Extensions::TimeZone</small>
|
133
133
|
|
@@ -135,23 +135,23 @@
|
|
135
135
|
|
136
136
|
|
137
137
|
<li class="r2 ">
|
138
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
138
|
+
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#dst_period-instance_method" title="Cowtech::Extensions::TimeZone#dst_period (method)">#dst_period</a></span>
|
139
139
|
|
140
|
-
<small>Cowtech::Extensions::
|
140
|
+
<small>Cowtech::Extensions::TimeZone</small>
|
141
141
|
|
142
142
|
</li>
|
143
143
|
|
144
144
|
|
145
145
|
<li class="r1 ">
|
146
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
146
|
+
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#easter-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#easter (method)">#easter</a></span>
|
147
147
|
|
148
|
-
<small>Cowtech::Extensions::
|
148
|
+
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
149
149
|
|
150
150
|
</li>
|
151
151
|
|
152
152
|
|
153
153
|
<li class="r2 ">
|
154
|
-
<span class='object_link'><a href="Cowtech/Extensions/Object.html#
|
154
|
+
<span class='object_link'><a href="Cowtech/Extensions/Object.html#ensure_array-instance_method" title="Cowtech::Extensions::Object#ensure_array (method)">#ensure_array</a></span>
|
155
155
|
|
156
156
|
<small>Cowtech::Extensions::Object</small>
|
157
157
|
|
@@ -159,31 +159,31 @@
|
|
159
159
|
|
160
160
|
|
161
161
|
<li class="r1 ">
|
162
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
162
|
+
<span class='object_link'><a href="Cowtech/Extensions/Object.html#ensure_string-instance_method" title="Cowtech::Extensions::Object#ensure_string (method)">#ensure_string</a></span>
|
163
163
|
|
164
|
-
<small>Cowtech::Extensions::
|
164
|
+
<small>Cowtech::Extensions::Object</small>
|
165
165
|
|
166
166
|
</li>
|
167
167
|
|
168
168
|
|
169
169
|
<li class="r2 ">
|
170
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
170
|
+
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#find-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#find (method)">#find</a></span>
|
171
171
|
|
172
|
-
<small>Cowtech::Extensions::
|
172
|
+
<small>Cowtech::Extensions::TimeZone::ClassMethods</small>
|
173
173
|
|
174
174
|
</li>
|
175
175
|
|
176
176
|
|
177
177
|
<li class="r1 ">
|
178
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
178
|
+
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#find_timezone-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#find_timezone (method)">#find_timezone</a></span>
|
179
179
|
|
180
|
-
<small>Cowtech::Extensions::
|
180
|
+
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
181
181
|
|
182
182
|
</li>
|
183
183
|
|
184
184
|
|
185
185
|
<li class="r2 ">
|
186
|
-
<span class='object_link'><a href="Cowtech/Extensions/Object.html#
|
186
|
+
<span class='object_link'><a href="Cowtech/Extensions/Object.html#format_boolean-instance_method" title="Cowtech::Extensions::Object#format_boolean (method)">#format_boolean</a></span>
|
187
187
|
|
188
188
|
<small>Cowtech::Extensions::Object</small>
|
189
189
|
|
@@ -199,6 +199,14 @@
|
|
199
199
|
|
200
200
|
|
201
201
|
<li class="r2 ">
|
202
|
+
<span class='object_link'><a href="Cowtech/Extensions/Object.html#format_number-instance_method" title="Cowtech::Extensions::Object#format_number (method)">#format_number</a></span>
|
203
|
+
|
204
|
+
<small>Cowtech::Extensions::Object</small>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
|
209
|
+
<li class="r1 ">
|
202
210
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#format_offset-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#format_offset (method)">#format_offset</a></span>
|
203
211
|
|
204
212
|
<small>Cowtech::Extensions::TimeZone::ClassMethods</small>
|
@@ -206,7 +214,7 @@
|
|
206
214
|
</li>
|
207
215
|
|
208
216
|
|
209
|
-
<li class="
|
217
|
+
<li class="r2 ">
|
210
218
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#in_months-instance_method" title="Cowtech::Extensions::DateTime#in_months (method)">#in_months</a></span>
|
211
219
|
|
212
220
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -214,7 +222,7 @@
|
|
214
222
|
</li>
|
215
223
|
|
216
224
|
|
217
|
-
<li class="
|
225
|
+
<li class="r1 ">
|
218
226
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#initialize-instance_method" title="Cowtech::Extensions::Settings#initialize (method)">#initialize</a></span>
|
219
227
|
|
220
228
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -222,7 +230,7 @@
|
|
222
230
|
</li>
|
223
231
|
|
224
232
|
|
225
|
-
<li class="
|
233
|
+
<li class="r2 ">
|
226
234
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#instance-class_method" title="Cowtech::Extensions::Settings.instance (method)">instance</a></span>
|
227
235
|
|
228
236
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -230,7 +238,7 @@
|
|
230
238
|
</li>
|
231
239
|
|
232
240
|
|
233
|
-
<li class="
|
241
|
+
<li class="r1 ">
|
234
242
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#is_boolean%3F-instance_method" title="Cowtech::Extensions::Object#is_boolean? (method)">#is_boolean?</a></span>
|
235
243
|
|
236
244
|
<small>Cowtech::Extensions::Object</small>
|
@@ -238,7 +246,7 @@
|
|
238
246
|
</li>
|
239
247
|
|
240
248
|
|
241
|
-
<li class="
|
249
|
+
<li class="r2 ">
|
242
250
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#is_float%3F-instance_method" title="Cowtech::Extensions::Object#is_float? (method)">#is_float?</a></span>
|
243
251
|
|
244
252
|
<small>Cowtech::Extensions::Object</small>
|
@@ -246,7 +254,7 @@
|
|
246
254
|
</li>
|
247
255
|
|
248
256
|
|
249
|
-
<li class="
|
257
|
+
<li class="r1 ">
|
250
258
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#is_integer%3F-instance_method" title="Cowtech::Extensions::Object#is_integer? (method)">#is_integer?</a></span>
|
251
259
|
|
252
260
|
<small>Cowtech::Extensions::Object</small>
|
@@ -254,7 +262,7 @@
|
|
254
262
|
</li>
|
255
263
|
|
256
264
|
|
257
|
-
<li class="
|
265
|
+
<li class="r2 ">
|
258
266
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#is_number%3F-instance_method" title="Cowtech::Extensions::Object#is_number? (method)">#is_number?</a></span>
|
259
267
|
|
260
268
|
<small>Cowtech::Extensions::Object</small>
|
@@ -262,7 +270,7 @@
|
|
262
270
|
</li>
|
263
271
|
|
264
272
|
|
265
|
-
<li class="
|
273
|
+
<li class="r1 ">
|
266
274
|
<span class='object_link'><a href="Cowtech/Extensions.html#is_ruby_18%3F-class_method" title="Cowtech::Extensions.is_ruby_18? (method)">is_ruby_18?</a></span>
|
267
275
|
|
268
276
|
<small>Cowtech::Extensions</small>
|
@@ -270,7 +278,7 @@
|
|
270
278
|
</li>
|
271
279
|
|
272
280
|
|
273
|
-
<li class="
|
281
|
+
<li class="r2 ">
|
274
282
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#is_valid%3F-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#is_valid? (method)">#is_valid?</a></span>
|
275
283
|
|
276
284
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
@@ -278,7 +286,7 @@
|
|
278
286
|
</li>
|
279
287
|
|
280
288
|
|
281
|
-
<li class="
|
289
|
+
<li class="r1 ">
|
282
290
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#list_all-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#list_all (method)">#list_all</a></span>
|
283
291
|
|
284
292
|
<small>Cowtech::Extensions::TimeZone::ClassMethods</small>
|
@@ -286,7 +294,7 @@
|
|
286
294
|
</li>
|
287
295
|
|
288
296
|
|
289
|
-
<li class="
|
297
|
+
<li class="r2 ">
|
290
298
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#list_timezones-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#list_timezones (method)">#list_timezones</a></span>
|
291
299
|
|
292
300
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
@@ -294,7 +302,7 @@
|
|
294
302
|
</li>
|
295
303
|
|
296
304
|
|
297
|
-
<li class="
|
305
|
+
<li class="r1 ">
|
298
306
|
<span class='object_link'><a href="Cowtech/Extensions.html#load%21-class_method" title="Cowtech::Extensions.load! (method)">load!</a></span>
|
299
307
|
|
300
308
|
<small>Cowtech::Extensions</small>
|
@@ -302,7 +310,7 @@
|
|
302
310
|
</li>
|
303
311
|
|
304
312
|
|
305
|
-
<li class="
|
313
|
+
<li class="r2 ">
|
306
314
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#local_lstrftime-instance_method" title="Cowtech::Extensions::DateTime#local_lstrftime (method)">#local_lstrftime</a></span>
|
307
315
|
|
308
316
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -310,7 +318,7 @@
|
|
310
318
|
</li>
|
311
319
|
|
312
320
|
|
313
|
-
<li class="
|
321
|
+
<li class="r1 ">
|
314
322
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#local_strftime-instance_method" title="Cowtech::Extensions::DateTime#local_strftime (method)">#local_strftime</a></span>
|
315
323
|
|
316
324
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -318,7 +326,7 @@
|
|
318
326
|
</li>
|
319
327
|
|
320
328
|
|
321
|
-
<li class="
|
329
|
+
<li class="r2 ">
|
322
330
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#lstrftime-instance_method" title="Cowtech::Extensions::DateTime#lstrftime (method)">#lstrftime</a></span>
|
323
331
|
|
324
332
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -326,7 +334,7 @@
|
|
326
334
|
</li>
|
327
335
|
|
328
336
|
|
329
|
-
<li class="
|
337
|
+
<li class="r1 ">
|
330
338
|
<span class='object_link'><a href="Cowtech/Extensions/Math/ClassMethods.html#max-instance_method" title="Cowtech::Extensions::Math::ClassMethods#max (method)">#max</a></span>
|
331
339
|
|
332
340
|
<small>Cowtech::Extensions::Math::ClassMethods</small>
|
@@ -334,7 +342,7 @@
|
|
334
342
|
</li>
|
335
343
|
|
336
344
|
|
337
|
-
<li class="
|
345
|
+
<li class="r2 ">
|
338
346
|
<span class='object_link'><a href="Cowtech/Extensions/Hash.html#method_missing-instance_method" title="Cowtech::Extensions::Hash#method_missing (method)">#method_missing</a></span>
|
339
347
|
|
340
348
|
<small>Cowtech::Extensions::Hash</small>
|
@@ -342,7 +350,7 @@
|
|
342
350
|
</li>
|
343
351
|
|
344
352
|
|
345
|
-
<li class="
|
353
|
+
<li class="r1 ">
|
346
354
|
<span class='object_link'><a href="Cowtech/Extensions/Math/ClassMethods.html#min-instance_method" title="Cowtech::Extensions::Math::ClassMethods#min (method)">#min</a></span>
|
347
355
|
|
348
356
|
<small>Cowtech::Extensions::Math::ClassMethods</small>
|
@@ -350,7 +358,7 @@
|
|
350
358
|
</li>
|
351
359
|
|
352
360
|
|
353
|
-
<li class="
|
361
|
+
<li class="r2 ">
|
354
362
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#months-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#months (method)">#months</a></span>
|
355
363
|
|
356
364
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
@@ -358,7 +366,7 @@
|
|
358
366
|
</li>
|
359
367
|
|
360
368
|
|
361
|
-
<li class="
|
369
|
+
<li class="r1 ">
|
362
370
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#normalize_number-instance_method" title="Cowtech::Extensions::Object#normalize_number (method)">#normalize_number</a></span>
|
363
371
|
|
364
372
|
<small>Cowtech::Extensions::Object</small>
|
@@ -366,7 +374,7 @@
|
|
366
374
|
</li>
|
367
375
|
|
368
376
|
|
369
|
-
<li class="
|
377
|
+
<li class="r2 ">
|
370
378
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#offset-instance_method" title="Cowtech::Extensions::TimeZone#offset (method)">#offset</a></span>
|
371
379
|
|
372
380
|
<small>Cowtech::Extensions::TimeZone</small>
|
@@ -374,7 +382,7 @@
|
|
374
382
|
</li>
|
375
383
|
|
376
384
|
|
377
|
-
<li class="
|
385
|
+
<li class="r1 ">
|
378
386
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#padded_month-instance_method" title="Cowtech::Extensions::DateTime#padded_month (method)">#padded_month</a></span>
|
379
387
|
|
380
388
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -382,14 +390,6 @@
|
|
382
390
|
</li>
|
383
391
|
|
384
392
|
|
385
|
-
<li class="r1 ">
|
386
|
-
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#parameterize_zone-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
387
|
-
|
388
|
-
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
389
|
-
|
390
|
-
</li>
|
391
|
-
|
392
|
-
|
393
393
|
<li class="r2 ">
|
394
394
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#parameterize_zone-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
395
395
|
|
@@ -399,9 +399,9 @@
|
|
399
399
|
|
400
400
|
|
401
401
|
<li class="r1 ">
|
402
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
402
|
+
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#parameterize_zone-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
403
403
|
|
404
|
-
<small>Cowtech::Extensions::
|
404
|
+
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
405
405
|
|
406
406
|
</li>
|
407
407
|
|
@@ -415,6 +415,14 @@
|
|
415
415
|
|
416
416
|
|
417
417
|
<li class="r1 ">
|
418
|
+
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#rationalize_offset-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
419
|
+
|
420
|
+
<small>Cowtech::Extensions::TimeZone::ClassMethods</small>
|
421
|
+
|
422
|
+
</li>
|
423
|
+
|
424
|
+
|
425
|
+
<li class="r2 ">
|
418
426
|
<span class='object_link'><a href="Cowtech/Extensions/String.html#remove_accents-instance_method" title="Cowtech::Extensions::String#remove_accents (method)">#remove_accents</a></span>
|
419
427
|
|
420
428
|
<small>Cowtech::Extensions::String</small>
|
@@ -422,7 +430,7 @@
|
|
422
430
|
</li>
|
423
431
|
|
424
432
|
|
425
|
-
<li class="
|
433
|
+
<li class="r1 ">
|
426
434
|
<span class='object_link'><a href="Cowtech/Extensions/String.html#replace_ampersands-instance_method" title="Cowtech::Extensions::String#replace_ampersands (method)">#replace_ampersands</a></span>
|
427
435
|
|
428
436
|
<small>Cowtech::Extensions::String</small>
|
@@ -430,7 +438,7 @@
|
|
430
438
|
</li>
|
431
439
|
|
432
440
|
|
433
|
-
<li class="
|
441
|
+
<li class="r2 ">
|
434
442
|
<span class='object_link'><a href="Cowtech/Extensions/Hash.html#respond_to%3F-instance_method" title="Cowtech::Extensions::Hash#respond_to? (method)">#respond_to?</a></span>
|
435
443
|
|
436
444
|
<small>Cowtech::Extensions::Hash</small>
|
@@ -438,7 +446,7 @@
|
|
438
446
|
</li>
|
439
447
|
|
440
448
|
|
441
|
-
<li class="
|
449
|
+
<li class="r1 ">
|
442
450
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#round_to_precision-instance_method" title="Cowtech::Extensions::Object#round_to_precision (method)">#round_to_precision</a></span>
|
443
451
|
|
444
452
|
<small>Cowtech::Extensions::Object</small>
|
@@ -446,7 +454,7 @@
|
|
446
454
|
</li>
|
447
455
|
|
448
456
|
|
449
|
-
<li class="
|
457
|
+
<li class="r2 ">
|
450
458
|
<span class='object_link'><a href="Cowtech/Extensions.html#settings-class_method" title="Cowtech::Extensions.settings (method)">settings</a></span>
|
451
459
|
|
452
460
|
<small>Cowtech::Extensions</small>
|
@@ -454,7 +462,7 @@
|
|
454
462
|
</li>
|
455
463
|
|
456
464
|
|
457
|
-
<li class="
|
465
|
+
<li class="r1 ">
|
458
466
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#setup_boolean_names-instance_method" title="Cowtech::Extensions::Settings#setup_boolean_names (method)">#setup_boolean_names</a></span>
|
459
467
|
|
460
468
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -462,7 +470,7 @@
|
|
462
470
|
</li>
|
463
471
|
|
464
472
|
|
465
|
-
<li class="
|
473
|
+
<li class="r2 ">
|
466
474
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#setup_date_formats-instance_method" title="Cowtech::Extensions::Settings#setup_date_formats (method)">#setup_date_formats</a></span>
|
467
475
|
|
468
476
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -470,7 +478,7 @@
|
|
470
478
|
</li>
|
471
479
|
|
472
480
|
|
473
|
-
<li class="
|
481
|
+
<li class="r1 ">
|
474
482
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#setup_date_names-instance_method" title="Cowtech::Extensions::Settings#setup_date_names (method)">#setup_date_names</a></span>
|
475
483
|
|
476
484
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -478,7 +486,7 @@
|
|
478
486
|
</li>
|
479
487
|
|
480
488
|
|
481
|
-
<li class="
|
489
|
+
<li class="r2 ">
|
482
490
|
<span class='object_link'><a href="Cowtech/Extensions/Settings.html#setup_format_number-instance_method" title="Cowtech::Extensions::Settings#setup_format_number (method)">#setup_format_number</a></span>
|
483
491
|
|
484
492
|
<small>Cowtech::Extensions::Settings</small>
|
@@ -486,7 +494,7 @@
|
|
486
494
|
</li>
|
487
495
|
|
488
496
|
|
489
|
-
<li class="
|
497
|
+
<li class="r1 ">
|
490
498
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#timezones-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#timezones (method)">#timezones</a></span>
|
491
499
|
|
492
500
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
@@ -494,7 +502,7 @@
|
|
494
502
|
</li>
|
495
503
|
|
496
504
|
|
497
|
-
<li class="
|
505
|
+
<li class="r2 ">
|
498
506
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#to_boolean-instance_method" title="Cowtech::Extensions::Object#to_boolean (method)">#to_boolean</a></span>
|
499
507
|
|
500
508
|
<small>Cowtech::Extensions::Object</small>
|
@@ -502,7 +510,7 @@
|
|
502
510
|
</li>
|
503
511
|
|
504
512
|
|
505
|
-
<li class="
|
513
|
+
<li class="r1 ">
|
506
514
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#to_float-instance_method" title="Cowtech::Extensions::Object#to_float (method)">#to_float</a></span>
|
507
515
|
|
508
516
|
<small>Cowtech::Extensions::Object</small>
|
@@ -510,7 +518,7 @@
|
|
510
518
|
</li>
|
511
519
|
|
512
520
|
|
513
|
-
<li class="
|
521
|
+
<li class="r2 ">
|
514
522
|
<span class='object_link'><a href="Cowtech/Extensions/Boolean.html#to_i-instance_method" title="Cowtech::Extensions::Boolean#to_i (method)">#to_i</a></span>
|
515
523
|
|
516
524
|
<small>Cowtech::Extensions::Boolean</small>
|
@@ -518,7 +526,7 @@
|
|
518
526
|
</li>
|
519
527
|
|
520
528
|
|
521
|
-
<li class="
|
529
|
+
<li class="r1 ">
|
522
530
|
<span class='object_link'><a href="Cowtech/Extensions/Object.html#to_integer-instance_method" title="Cowtech::Extensions::Object#to_integer (method)">#to_integer</a></span>
|
523
531
|
|
524
532
|
<small>Cowtech::Extensions::Object</small>
|
@@ -526,7 +534,7 @@
|
|
526
534
|
</li>
|
527
535
|
|
528
536
|
|
529
|
-
<li class="
|
537
|
+
<li class="r2 ">
|
530
538
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#to_s_parameterized-instance_method" title="Cowtech::Extensions::TimeZone#to_s_parameterized (method)">#to_s_parameterized</a></span>
|
531
539
|
|
532
540
|
<small>Cowtech::Extensions::TimeZone</small>
|
@@ -534,7 +542,7 @@
|
|
534
542
|
</li>
|
535
543
|
|
536
544
|
|
537
|
-
<li class="
|
545
|
+
<li class="r1 ">
|
538
546
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#to_s_with_dst-instance_method" title="Cowtech::Extensions::TimeZone#to_s_with_dst (method)">#to_s_with_dst</a></span>
|
539
547
|
|
540
548
|
<small>Cowtech::Extensions::TimeZone</small>
|
@@ -542,7 +550,7 @@
|
|
542
550
|
</li>
|
543
551
|
|
544
552
|
|
545
|
-
<li class="
|
553
|
+
<li class="r2 ">
|
546
554
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#to_s_with_dst_parameterized-instance_method" title="Cowtech::Extensions::TimeZone#to_s_with_dst_parameterized (method)">#to_s_with_dst_parameterized</a></span>
|
547
555
|
|
548
556
|
<small>Cowtech::Extensions::TimeZone</small>
|
@@ -550,7 +558,7 @@
|
|
550
558
|
</li>
|
551
559
|
|
552
560
|
|
553
|
-
<li class="
|
561
|
+
<li class="r1 ">
|
554
562
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone/ClassMethods.html#unparameterize_zone-instance_method" title="Cowtech::Extensions::TimeZone::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
555
563
|
|
556
564
|
<small>Cowtech::Extensions::TimeZone::ClassMethods</small>
|
@@ -558,7 +566,7 @@
|
|
558
566
|
</li>
|
559
567
|
|
560
568
|
|
561
|
-
<li class="
|
569
|
+
<li class="r2 ">
|
562
570
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#unparameterize_zone-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
563
571
|
|
564
572
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|
@@ -566,7 +574,7 @@
|
|
566
574
|
</li>
|
567
575
|
|
568
576
|
|
569
|
-
<li class="
|
577
|
+
<li class="r1 ">
|
570
578
|
<span class='object_link'><a href="Cowtech/Extensions/String.html#untitleize-instance_method" title="Cowtech::Extensions::String#untitleize (method)">#untitleize</a></span>
|
571
579
|
|
572
580
|
<small>Cowtech::Extensions::String</small>
|
@@ -574,7 +582,7 @@
|
|
574
582
|
</li>
|
575
583
|
|
576
584
|
|
577
|
-
<li class="
|
585
|
+
<li class="r2 ">
|
578
586
|
<span class='object_link'><a href="Cowtech/Extensions/TimeZone.html#uses_dst%3F-instance_method" title="Cowtech::Extensions::TimeZone#uses_dst? (method)">#uses_dst?</a></span>
|
579
587
|
|
580
588
|
<small>Cowtech::Extensions::TimeZone</small>
|
@@ -582,7 +590,7 @@
|
|
582
590
|
</li>
|
583
591
|
|
584
592
|
|
585
|
-
<li class="
|
593
|
+
<li class="r1 ">
|
586
594
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime.html#utc_time-instance_method" title="Cowtech::Extensions::DateTime#utc_time (method)">#utc_time</a></span>
|
587
595
|
|
588
596
|
<small>Cowtech::Extensions::DateTime</small>
|
@@ -590,23 +598,23 @@
|
|
590
598
|
</li>
|
591
599
|
|
592
600
|
|
593
|
-
<li class="
|
594
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
601
|
+
<li class="r2 ">
|
602
|
+
<span class='object_link'><a href="Cowtech/Extensions/Boolean.html#value-instance_method" title="Cowtech::Extensions::Boolean#value (method)">#value</a></span>
|
595
603
|
|
596
|
-
<small>Cowtech::Extensions::
|
604
|
+
<small>Cowtech::Extensions::Boolean</small>
|
597
605
|
|
598
606
|
</li>
|
599
607
|
|
600
608
|
|
601
|
-
<li class="
|
602
|
-
<span class='object_link'><a href="Cowtech/Extensions/
|
609
|
+
<li class="r1 ">
|
610
|
+
<span class='object_link'><a href="Cowtech/Extensions/String.html#value-instance_method" title="Cowtech::Extensions::String#value (method)">#value</a></span>
|
603
611
|
|
604
|
-
<small>Cowtech::Extensions::
|
612
|
+
<small>Cowtech::Extensions::String</small>
|
605
613
|
|
606
614
|
</li>
|
607
615
|
|
608
616
|
|
609
|
-
<li class="
|
617
|
+
<li class="r2 ">
|
610
618
|
<span class='object_link'><a href="Cowtech/Extensions/DateTime/ClassMethods.html#years-instance_method" title="Cowtech::Extensions::DateTime::ClassMethods#years (method)">#years</a></span>
|
611
619
|
|
612
620
|
<small>Cowtech::Extensions::DateTime::ClassMethods</small>
|