lazier 3.5.2 → 3.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5cbfe527cd0654a9bf0f8b58aa88a2d9c3b48ef
4
- data.tar.gz: b5e03bd484dd04c10311a9b98f3294e1a8dbae35
3
+ metadata.gz: 7779705919def4862c0a567879aa043fe53ab1ec
4
+ data.tar.gz: 5405184c6d034fcb6b04344a36f881d7dfe64804
5
5
  SHA512:
6
- metadata.gz: f00f80be06aaf55726b13fc85eb6a878d4c1d35c64395d16141df19f8876a950bc2164fc62eda60a5e93ff9a121dbfb3e96708609775b944ce6e005486b90303
7
- data.tar.gz: 3ce0e54b4c12141bbe99b2477e91d56414bb18dd41b5af7dc7b543fe4849f6d883a01cf75b805757e5483ca99cc1a18420e5f4c829cf6e818321a029fdcc2675
6
+ metadata.gz: 2775839fd317547ab0c54479084dba15cb6f3186f2e40b5cebe783d609397b0024dbb36fecbc0acf1617453e94de3bf95c790a721bfff06466e6e2a226440d52
7
+ data.tar.gz: 77f81a235944326a32af060d6c789bf32d5ee23ad6badc2667065b9540c3d86dae9e195861e663605b10d02977b9c08a84c58001dc5823513224b7fd14316eaa
data/doc/Lazier.html CHANGED
@@ -80,7 +80,7 @@
80
80
 
81
81
  <dt class="r1 last">Defined in:</dt>
82
82
  <dd class="r1 last">lib/lazier.rb<span class="defines">,<br />
83
- lib/lazier/hash.rb,<br /> lib/lazier/i18n.rb,<br /> lib/lazier/math.rb,<br /> lib/lazier/string.rb,<br /> lib/lazier/object.rb,<br /> lib/lazier/boolean.rb,<br /> lib/lazier/version.rb,<br /> lib/lazier/datetime.rb,<br /> lib/lazier/settings.rb,<br /> lib/lazier/pathname.rb,<br /> lib/lazier/localizer.rb,<br /> lib/lazier/exceptions.rb,<br /> lib/lazier/configuration.rb</span>
83
+ lib/lazier/hash.rb,<br /> lib/lazier/i18n.rb,<br /> lib/lazier/math.rb,<br /> lib/lazier/object.rb,<br /> lib/lazier/string.rb,<br /> lib/lazier/version.rb,<br /> lib/lazier/boolean.rb,<br /> lib/lazier/timezone.rb,<br /> lib/lazier/datetime.rb,<br /> lib/lazier/settings.rb,<br /> lib/lazier/pathname.rb,<br /> lib/lazier/localizer.rb,<br /> lib/lazier/exceptions.rb,<br /> lib/lazier/configuration.rb</span>
84
84
  </dd>
85
85
 
86
86
  </dl>
@@ -505,13 +505,13 @@ otherwise the duration alone as a number.</p>
505
505
  <pre class="lines">
506
506
 
507
507
 
508
- 139
509
508
  140
510
509
  141
511
- 142</pre>
510
+ 142
511
+ 143</pre>
512
512
  </td>
513
513
  <td>
514
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 139</span>
514
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 140</span>
515
515
 
516
516
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_benchmark'>benchmark</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>0</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
517
517
  <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='const'>Benchmark</span><span class='period'>.</span><span class='id identifier rubyid_ms'>ms</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
@@ -618,7 +618,6 @@ Otherwise the class of the object will returned.</p>
618
618
  <pre class="lines">
619
619
 
620
620
 
621
- 122
622
621
  123
623
622
  124
624
623
  125
@@ -626,10 +625,11 @@ Otherwise the class of the object will returned.</p>
626
625
  127
627
626
  128
628
627
  129
629
- 130</pre>
628
+ 130
629
+ 131</pre>
630
630
  </td>
631
631
  <td>
632
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 122</span>
632
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 123</span>
633
633
 
634
634
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>::%CLASS%</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_only_in_scope'>only_in_scope</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
635
635
  <span class='kw'>if</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>String</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Symbol</span><span class='rparen'>)</span>
@@ -715,16 +715,16 @@ Otherwise the class of the object will returned.</p>
715
715
  <pre class="lines">
716
716
 
717
717
 
718
- 50
719
718
  51
720
719
  52
721
720
  53
722
721
  54
723
722
  55
724
- 56</pre>
723
+ 56
724
+ 57</pre>
725
725
  </td>
726
726
  <td>
727
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 50</span>
727
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 51</span>
728
728
 
729
729
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_what'>what</span><span class='rparen'>)</span>
730
730
  <span class='id identifier rubyid_modules'>modules</span> <span class='op'>=</span> <span class='id identifier rubyid_what'>what</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='op'>?</span> <span class='id identifier rubyid_what'>what</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:to_s</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='qwords_beg'>%w(</span><span class='tstring_content'>object</span><span class='words_sep'> </span><span class='tstring_content'>boolean</span><span class='words_sep'> </span><span class='tstring_content'>string</span><span class='words_sep'> </span><span class='tstring_content'>hash</span><span class='words_sep'> </span><span class='tstring_content'>datetime</span><span class='words_sep'> </span><span class='tstring_content'>math</span><span class='words_sep'> </span><span class='tstring_content'>pathname</span><span class='words_sep'>)</span>
@@ -763,7 +763,6 @@ Otherwise the class of the object will returned.</p>
763
763
  <pre class="lines">
764
764
 
765
765
 
766
- 64
767
766
  65
768
767
  66
769
768
  67
@@ -773,10 +772,11 @@ Otherwise the class of the object will returned.</p>
773
772
  71
774
773
  72
775
774
  73
776
- 74</pre>
775
+ 74
776
+ 75</pre>
777
777
  </td>
778
778
  <td>
779
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 64</span>
779
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 65</span>
780
780
 
781
781
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_boolean'>load_boolean</span>
782
782
  <span class='op'>::</span><span class='const'>TrueClass</span><span class='period'>.</span><span class='id identifier rubyid_class_eval'>class_eval</span> <span class='kw'>do</span>
@@ -819,7 +819,6 @@ Otherwise the class of the object will returned.</p>
819
819
  <pre class="lines">
820
820
 
821
821
 
822
- 93
823
822
  94
824
823
  95
825
824
  96
@@ -827,10 +826,11 @@ Otherwise the class of the object will returned.</p>
827
826
  98
828
827
  99
829
828
  100
830
- 101</pre>
829
+ 101
830
+ 102</pre>
831
831
  </td>
832
832
  <td>
833
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 93</span>
833
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 94</span>
834
834
 
835
835
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_datetime'>load_datetime</span>
836
836
  <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
@@ -871,13 +871,13 @@ Otherwise the class of the object will returned.</p>
871
871
  <pre class="lines">
872
872
 
873
873
 
874
- 82
875
874
  83
876
875
  84
877
- 85</pre>
876
+ 85
877
+ 86</pre>
878
878
  </td>
879
879
  <td>
880
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 82</span>
880
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 83</span>
881
881
 
882
882
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_hash'>load_hash</span>
883
883
  <span class='id identifier rubyid_clean_hash_compact'>clean_hash_compact</span>
@@ -913,12 +913,12 @@ Otherwise the class of the object will returned.</p>
913
913
  <pre class="lines">
914
914
 
915
915
 
916
- 88
917
916
  89
918
- 90</pre>
917
+ 90
918
+ 91</pre>
919
919
  </td>
920
920
  <td>
921
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 88</span>
921
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 89</span>
922
922
 
923
923
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_hash_method_access'>load_hash_method_access</span>
924
924
  <span class='op'>::</span><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_class_eval'>class_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_include'>include</span> <span class='const'>Hashie</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>MethodAccess</span> <span class='rbrace'>}</span>
@@ -953,13 +953,13 @@ Otherwise the class of the object will returned.</p>
953
953
  <pre class="lines">
954
954
 
955
955
 
956
- 104
957
956
  105
958
957
  106
959
- 107</pre>
958
+ 107
959
+ 108</pre>
960
960
  </td>
961
961
  <td>
962
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 104</span>
962
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 105</span>
963
963
 
964
964
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_math'>load_math</span>
965
965
  <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
@@ -995,12 +995,12 @@ Otherwise the class of the object will returned.</p>
995
995
  <pre class="lines">
996
996
 
997
997
 
998
- 59
999
998
  60
1000
- 61</pre>
999
+ 61
1000
+ 62</pre>
1001
1001
  </td>
1002
1002
  <td>
1003
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 59</span>
1003
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 60</span>
1004
1004
 
1005
1005
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
1006
1006
  <span class='op'>::</span><span class='const'>Object</span><span class='period'>.</span><span class='id identifier rubyid_class_eval'>class_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_include'>include</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Object</span> <span class='rbrace'>}</span>
@@ -1035,13 +1035,13 @@ Otherwise the class of the object will returned.</p>
1035
1035
  <pre class="lines">
1036
1036
 
1037
1037
 
1038
- 110
1039
1038
  111
1040
1039
  112
1041
- 113</pre>
1040
+ 113
1041
+ 114</pre>
1042
1042
  </td>
1043
1043
  <td>
1044
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 110</span>
1044
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 111</span>
1045
1045
 
1046
1046
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_pathname'>load_pathname</span>
1047
1047
  <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pathname</span><span class='tstring_end'>&quot;</span></span>
@@ -1077,12 +1077,12 @@ Otherwise the class of the object will returned.</p>
1077
1077
  <pre class="lines">
1078
1078
 
1079
1079
 
1080
- 77
1081
1080
  78
1082
- 79</pre>
1081
+ 79
1082
+ 80</pre>
1083
1083
  </td>
1084
1084
  <td>
1085
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 77</span>
1085
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 78</span>
1086
1086
 
1087
1087
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_string'>load_string</span>
1088
1088
  <span class='op'>::</span><span class='const'>String</span><span class='period'>.</span><span class='id identifier rubyid_class_eval'>class_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_include'>include</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>String</span> <span class='rbrace'>}</span>
@@ -1134,12 +1134,12 @@ Otherwise the class of the object will returned.</p>
1134
1134
  <pre class="lines">
1135
1135
 
1136
1136
 
1137
- 33
1138
1137
  34
1139
- 35</pre>
1138
+ 35
1139
+ 36</pre>
1140
1140
  </td>
1141
1141
  <td>
1142
- <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 33</span>
1142
+ <pre class="code"><span class="info file"># File 'lib/lazier.rb', line 34</span>
1143
1143
 
1144
1144
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_settings'>settings</span>
1145
1145
  <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Settings</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
@@ -1154,7 +1154,7 @@ Otherwise the class of the object will returned.</p>
1154
1154
  </div>
1155
1155
 
1156
1156
  <div id="footer">
1157
- Generated on Sun Apr 27 17:16:41 2014 by
1157
+ Generated on Sat May 10 10:54:35 2014 by
1158
1158
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1159
1159
  0.8.7.4 (ruby-2.1.0).
1160
1160
  </div>
@@ -288,7 +288,7 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Sun Apr 27 17:16:42 2014 by
291
+ Generated on Sat May 10 10:54:36 2014 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.8.7.4 (ruby-2.1.0).
294
294
  </div>
@@ -386,7 +386,7 @@ Options are as follows:</p>
386
386
  </div>
387
387
 
388
388
  <div id="footer">
389
- Generated on Sun Apr 27 17:16:43 2014 by
389
+ Generated on Sat May 10 10:54:37 2014 by
390
390
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
391
391
  0.8.7.4 (ruby-2.1.0).
392
392
  </div>
@@ -721,7 +721,7 @@ DateTime.civil(2013, 6, 1).in_months(2011)
721
721
  </div>
722
722
 
723
723
  <div id="footer">
724
- Generated on Sun Apr 27 17:16:42 2014 by
724
+ Generated on Sat May 10 10:54:36 2014 by
725
725
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
726
726
  0.8.7.4 (ruby-2.1.0).
727
727
  </div>
@@ -1554,7 +1554,7 @@ Date.years(1, true, 2010, true)
1554
1554
  </div>
1555
1555
 
1556
1556
  <div id="footer">
1557
- Generated on Sun Apr 27 17:16:42 2014 by
1557
+ Generated on Sat May 10 10:54:36 2014 by
1558
1558
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1559
1559
  0.8.7.4 (ruby-2.1.0).
1560
1560
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sun Apr 27 17:16:42 2014 by
119
+ Generated on Sat May 10 10:54:36 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.4 (ruby-2.1.0).
122
122
  </div>
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Sun Apr 27 17:16:42 2014 by
127
+ Generated on Sat May 10 10:54:37 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.4 (ruby-2.1.0).
130
130
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Sun Apr 27 17:16:43 2014 by
241
+ Generated on Sat May 10 10:54:37 2014 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.8.7.4 (ruby-2.1.0).
244
244
  </div>
data/doc/Lazier/Hash.html CHANGED
@@ -688,7 +688,7 @@
688
688
  </div>
689
689
 
690
690
  <div id="footer">
691
- Generated on Sun Apr 27 17:16:42 2014 by
691
+ Generated on Sat May 10 10:54:35 2014 by
692
692
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
693
693
  0.8.7.4 (ruby-2.1.0).
694
694
  </div>
data/doc/Lazier/I18n.html CHANGED
@@ -1076,7 +1076,7 @@
1076
1076
  </div>
1077
1077
 
1078
1078
  <div id="footer">
1079
- Generated on Sun Apr 27 17:16:42 2014 by
1079
+ Generated on Sat May 10 10:54:36 2014 by
1080
1080
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1081
1081
  0.8.7.4 (ruby-2.1.0).
1082
1082
  </div>
@@ -536,7 +536,7 @@
536
536
  </div>
537
537
 
538
538
  <div id="footer">
539
- Generated on Sun Apr 27 17:16:42 2014 by
539
+ Generated on Sat May 10 10:54:37 2014 by
540
540
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
541
541
  0.8.7.4 (ruby-2.1.0).
542
542
  </div>
data/doc/Lazier/Math.html CHANGED
@@ -121,7 +121,7 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Sun Apr 27 17:16:42 2014 by
124
+ Generated on Sat May 10 10:54:36 2014 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.7.4 (ruby-2.1.0).
127
127
  </div>
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
 
323
323
  <div id="footer">
324
- Generated on Sun Apr 27 17:16:42 2014 by
324
+ Generated on Sat May 10 10:54:36 2014 by
325
325
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
326
326
  0.8.7.4 (ruby-2.1.0).
327
327
  </div>
@@ -2317,7 +2317,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
2317
2317
  </div>
2318
2318
 
2319
2319
  <div id="footer">
2320
- Generated on Sun Apr 27 17:16:42 2014 by
2320
+ Generated on Sat May 10 10:54:36 2014 by
2321
2321
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2322
2322
  0.8.7.4 (ruby-2.1.0).
2323
2323
  </div>
@@ -213,7 +213,7 @@ Pathname.new("/usr/bin/ruby").components
213
213
  </div>
214
214
 
215
215
  <div id="footer">
216
- Generated on Sun Apr 27 17:16:42 2014 by
216
+ Generated on Sat May 10 10:54:36 2014 by
217
217
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
218
218
  0.8.7.4 (ruby-2.1.0).
219
219
  </div>
@@ -2429,7 +2429,7 @@
2429
2429
  </div>
2430
2430
 
2431
2431
  <div id="footer">
2432
- Generated on Sun Apr 27 17:16:42 2014 by
2432
+ Generated on Sat May 10 10:54:36 2014 by
2433
2433
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2434
2434
  0.8.7.4 (ruby-2.1.0).
2435
2435
  </div>
@@ -723,7 +723,7 @@
723
723
  </div>
724
724
 
725
725
  <div id="footer">
726
- Generated on Sun Apr 27 17:16:42 2014 by
726
+ Generated on Sat May 10 10:54:36 2014 by
727
727
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
728
728
  0.8.7.4 (ruby-2.1.0).
729
729
  </div>
@@ -83,7 +83,7 @@
83
83
 
84
84
 
85
85
  <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/lazier/datetime.rb</dd>
86
+ <dd class="r2 last">lib/lazier/timezone.rb</dd>
87
87
 
88
88
  </dl>
89
89
  <div class="clear"></div>
@@ -474,13 +474,13 @@
474
474
  <pre class="lines">
475
475
 
476
476
 
477
- 416
478
- 417
479
- 418
480
- 419</pre>
477
+ 147
478
+ 148
479
+ 149
480
+ 150</pre>
481
481
  </td>
482
482
  <td>
483
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 416</span>
483
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 147</span>
484
484
 
485
485
  <span class='kw'>def</span> <span class='id identifier rubyid_aliases'>aliases</span>
486
486
  <span class='id identifier rubyid_reference'>reference</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='op'>::</span><span class='const'>MAPPING</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>_</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> </span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
@@ -533,20 +533,20 @@
533
533
  <pre class="lines">
534
534
 
535
535
 
536
- 435
537
- 436
538
- 437
539
- 438
540
- 439
541
- 440
542
- 441
543
- 442
544
- 443
545
- 444
546
- 445</pre>
536
+ 166
537
+ 167
538
+ 168
539
+ 169
540
+ 170
541
+ 171
542
+ 172
543
+ 173
544
+ 174
545
+ 175
546
+ 176</pre>
547
547
  </td>
548
548
  <td>
549
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 435</span>
549
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 166</span>
550
550
 
551
551
  <span class='kw'>def</span> <span class='id identifier rubyid_current_alias'>current_alias</span>
552
552
  <span class='id identifier rubyid_identifier'>identifier</span> <span class='op'>=</span> <span class='id identifier rubyid_tzinfo'>tzinfo</span><span class='period'>.</span><span class='id identifier rubyid_identifier'>identifier</span>
@@ -644,14 +644,14 @@
644
644
  <pre class="lines">
645
645
 
646
646
 
647
- 426
648
- 427
649
- 428
650
- 429
651
- 430</pre>
647
+ 157
648
+ 158
649
+ 159
650
+ 160
651
+ 161</pre>
652
652
  </td>
653
653
  <td>
654
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 426</span>
654
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 157</span>
655
655
 
656
656
  <span class='kw'>def</span> <span class='id identifier rubyid_current_offset'>current_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_rational'>rational</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_date'>date</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
657
657
  <span class='id identifier rubyid_date'>date</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
@@ -743,12 +743,12 @@
743
743
  <pre class="lines">
744
744
 
745
745
 
746
- 487
747
- 488
748
- 489</pre>
746
+ 218
747
+ 219
748
+ 220</pre>
749
749
  </td>
750
750
  <td>
751
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 487</span>
751
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 218</span>
752
752
 
753
753
  <span class='kw'>def</span> <span class='id identifier rubyid_dst_correction'>dst_correction</span><span class='lparen'>(</span><span class='id identifier rubyid_rational'>rational</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
754
754
  <span class='id identifier rubyid_dst_offset'>dst_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_rational'>rational</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span><span class='comma'>,</span> <span class='symbol'>:std_offset</span><span class='rparen'>)</span>
@@ -855,12 +855,12 @@
855
855
  <pre class="lines">
856
856
 
857
857
 
858
- 509
859
- 510
860
- 511</pre>
858
+ 240
859
+ 241
860
+ 242</pre>
861
861
  </td>
862
862
  <td>
863
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 509</span>
863
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 240</span>
864
864
 
865
865
  <span class='kw'>def</span> <span class='id identifier rubyid_dst_name'>dst_name</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
866
866
  <span class='id identifier rubyid_uses_dst?'>uses_dst?</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span> <span class='op'>||</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(DST)</span><span class='tstring_end'>&quot;</span></span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>:</span> <span class='kw'>nil</span>
@@ -967,14 +967,14 @@
967
967
  <pre class="lines">
968
968
 
969
969
 
970
- 497
971
- 498
972
- 499
973
- 500
974
- 501</pre>
970
+ 228
971
+ 229
972
+ 230
973
+ 231
974
+ 232</pre>
975
975
  </td>
976
976
  <td>
977
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 497</span>
977
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 228</span>
978
978
 
979
979
  <span class='kw'>def</span> <span class='id identifier rubyid_dst_offset'>dst_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_rational'>rational</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_method'>method</span> <span class='op'>=</span> <span class='symbol'>:utc_total_offset</span><span class='rparen'>)</span>
980
980
  <span class='id identifier rubyid_period'>period</span> <span class='op'>=</span> <span class='id identifier rubyid_dst_period'>dst_period</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='rparen'>)</span>
@@ -1049,19 +1049,19 @@
1049
1049
  <pre class="lines">
1050
1050
 
1051
1051
 
1052
- 459
1053
- 460
1054
- 461
1055
- 462
1056
- 463
1057
- 464
1058
- 465
1059
- 466
1060
- 467
1061
- 468</pre>
1052
+ 190
1053
+ 191
1054
+ 192
1055
+ 193
1056
+ 194
1057
+ 195
1058
+ 196
1059
+ 197
1060
+ 198
1061
+ 199</pre>
1062
1062
  </td>
1063
1063
  <td>
1064
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 459</span>
1064
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 190</span>
1065
1065
 
1066
1066
  <span class='kw'>def</span> <span class='id identifier rubyid_dst_period'>dst_period</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1067
1067
  <span class='id identifier rubyid_year'>year</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>Date</span><span class='period'>.</span><span class='id identifier rubyid_today'>today</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span>
@@ -1141,12 +1141,12 @@
1141
1141
  <pre class="lines">
1142
1142
 
1143
1143
 
1144
- 451
1145
- 452
1146
- 453</pre>
1144
+ 182
1145
+ 183
1146
+ 184</pre>
1147
1147
  </td>
1148
1148
  <td>
1149
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 451</span>
1149
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 182</span>
1150
1150
 
1151
1151
  <span class='kw'>def</span> <span class='id identifier rubyid_offset'>offset</span><span class='lparen'>(</span><span class='id identifier rubyid_rational'>rational</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
1152
1152
  <span class='id identifier rubyid_rational'>rational</span> <span class='op'>?</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_rationalize_offset'>rationalize_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_utc_offset'>utc_offset</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_utc_offset'>utc_offset</span>
@@ -1236,12 +1236,12 @@
1236
1236
  <pre class="lines">
1237
1237
 
1238
1238
 
1239
- 518
1240
- 519
1241
- 520</pre>
1239
+ 249
1240
+ 250
1241
+ 251</pre>
1242
1242
  </td>
1243
1243
  <td>
1244
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 518</span>
1244
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 249</span>
1245
1245
 
1246
1246
  <span class='kw'>def</span> <span class='id identifier rubyid_to_str'>to_str</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</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>
1247
1247
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(GMT</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_formatted_offset'>formatted_offset</span><span class='lparen'>(</span><span class='id identifier rubyid_colon'>colon</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span> <span class='op'>||</span> <span class='id identifier rubyid_current_alias'>current_alias</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
@@ -1331,12 +1331,12 @@
1331
1331
  <pre class="lines">
1332
1332
 
1333
1333
 
1334
- 537
1335
- 538
1336
- 539</pre>
1334
+ 268
1335
+ 269
1336
+ 270</pre>
1337
1337
  </td>
1338
1338
  <td>
1339
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 537</span>
1339
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 268</span>
1340
1340
 
1341
1341
  <span class='kw'>def</span> <span class='id identifier rubyid_to_str_parameterized'>to_str_parameterized</span><span class='lparen'>(</span><span class='id identifier rubyid_with_offset'>with_offset</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1342
1342
  <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_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>||</span> <span class='id identifier rubyid_to_str'>to_str</span><span class='comma'>,</span> <span class='id identifier rubyid_with_offset'>with_offset</span><span class='rparen'>)</span>
@@ -1443,12 +1443,12 @@
1443
1443
  <pre class="lines">
1444
1444
 
1445
1445
 
1446
- 528
1447
- 529
1448
- 530</pre>
1446
+ 259
1447
+ 260
1448
+ 261</pre>
1449
1449
  </td>
1450
1450
  <td>
1451
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 528</span>
1451
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 259</span>
1452
1452
 
1453
1453
  <span class='kw'>def</span> <span class='id identifier rubyid_to_str_with_dst'>to_str_with_dst</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1454
1454
  <span class='id identifier rubyid_uses_dst?'>uses_dst?</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(GMT</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</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_dst_period'>dst_period</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_utc_total_offset'>utc_total_offset</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span> <span class='op'>||</span> <span class='id identifier rubyid_current_alias'>current_alias</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>(DST)</span><span class='tstring_end'>&quot;</span></span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>:</span> <span class='kw'>nil</span>
@@ -1555,13 +1555,13 @@
1555
1555
  <pre class="lines">
1556
1556
 
1557
1557
 
1558
- 547
1559
- 548
1560
- 549
1561
- 550</pre>
1558
+ 278
1559
+ 279
1560
+ 280
1561
+ 281</pre>
1562
1562
  </td>
1563
1563
  <td>
1564
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 547</span>
1564
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 278</span>
1565
1565
 
1566
1566
  <span class='kw'>def</span> <span class='id identifier rubyid_to_str_with_dst_parameterized'>to_str_with_dst_parameterized</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1567
1567
  <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_to_str_with_dst'>to_str_with_dst</span><span class='lparen'>(</span><span class='id identifier rubyid_dst_label'>dst_label</span><span class='comma'>,</span> <span class='id identifier rubyid_year'>year</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
@@ -1635,16 +1635,16 @@
1635
1635
  <pre class="lines">
1636
1636
 
1637
1637
 
1638
- 474
1639
- 475
1640
- 476
1641
- 477
1642
- 478
1643
- 479
1644
- 480</pre>
1638
+ 205
1639
+ 206
1640
+ 207
1641
+ 208
1642
+ 209
1643
+ 210
1644
+ 211</pre>
1645
1645
  </td>
1646
1646
  <td>
1647
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 474</span>
1647
+ <pre class="code"><span class="info file"># File 'lib/lazier/timezone.rb', line 205</span>
1648
1648
 
1649
1649
  <span class='kw'>def</span> <span class='id identifier rubyid_uses_dst?'>uses_dst?</span><span class='lparen'>(</span><span class='id identifier rubyid_reference'>reference</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1650
1650
  <span class='kw'>if</span> <span class='id identifier rubyid_reference'>reference</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:year</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_reference'>reference</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:utc</span><span class='rparen'>)</span> <span class='comment'># This is a date like object
@@ -1663,7 +1663,7 @@
1663
1663
  </div>
1664
1664
 
1665
1665
  <div id="footer">
1666
- Generated on Sun Apr 27 17:16:42 2014 by
1666
+ Generated on Sat May 10 10:54:36 2014 by
1667
1667
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1668
1668
  0.8.7.4 (ruby-2.1.0).
1669
1669
  </div>