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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.rubocop.yml +29 -0
  4. data/.travis-gemfile +1 -1
  5. data/.travis.yml +2 -2
  6. data/CHANGELOG.md +5 -0
  7. data/Gemfile +3 -3
  8. data/README.md +1 -1
  9. data/doc/Lazier.html +56 -68
  10. data/doc/Lazier/Boolean.html +4 -4
  11. data/doc/Lazier/Configuration.html +5 -5
  12. data/doc/Lazier/DateTime.html +29 -29
  13. data/doc/Lazier/DateTime/ClassMethods.html +136 -124
  14. data/doc/Lazier/Exceptions.html +4 -4
  15. data/doc/Lazier/Exceptions/Debug.html +4 -4
  16. data/doc/Lazier/Exceptions/MissingTranslation.html +4 -4
  17. data/doc/Lazier/Hash.html +144 -32
  18. data/doc/Lazier/I18n.html +109 -103
  19. data/doc/Lazier/Localizer.html +4 -4
  20. data/doc/Lazier/Math.html +4 -4
  21. data/doc/Lazier/Math/ClassMethods.html +4 -4
  22. data/doc/Lazier/Object.html +357 -243
  23. data/doc/Lazier/Pathname.html +4 -4
  24. data/doc/Lazier/Settings.html +58 -34
  25. data/doc/Lazier/String.html +6 -6
  26. data/doc/Lazier/TimeZone.html +86 -86
  27. data/doc/Lazier/TimeZone/ClassMethods.html +66 -68
  28. data/doc/Lazier/Version.html +5 -5
  29. data/doc/_index.html +5 -5
  30. data/doc/css/style.css +1 -0
  31. data/doc/file.README.html +4 -4
  32. data/doc/frames.html +1 -1
  33. data/doc/index.html +4 -4
  34. data/doc/method_list.html +103 -91
  35. data/doc/top-level-namespace.html +4 -4
  36. data/lazier.gemspec +2 -2
  37. data/lib/lazier.rb +59 -22
  38. data/lib/lazier/boolean.rb +1 -1
  39. data/lib/lazier/configuration.rb +21 -20
  40. data/lib/lazier/datetime.rb +127 -101
  41. data/lib/lazier/hash.rb +20 -12
  42. data/lib/lazier/i18n.rb +33 -32
  43. data/lib/lazier/math.rb +1 -1
  44. data/lib/lazier/object.rb +102 -56
  45. data/lib/lazier/pathname.rb +1 -1
  46. data/lib/lazier/settings.rb +4 -2
  47. data/lib/lazier/string.rb +3 -3
  48. data/lib/lazier/version.rb +1 -1
  49. data/spec/lazier/datetime_spec.rb +1 -1
  50. data/spec/lazier/hash_spec.rb +2 -2
  51. data/spec/lazier/object_spec.rb +16 -0
  52. data/spec/lazier/string_spec.rb +4 -10
  53. data/spec/lazier_spec.rb +9 -9
  54. data/spec/spec_helper.rb +1 -1
  55. metadata +7 -6
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Lazier::Pathname
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; 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#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Lazier/Pathname.html";
21
21
  </script>
22
22
 
23
23
 
@@ -213,9 +213,9 @@ Pathname.new("/usr/bin/ruby").components
213
213
  </div>
214
214
 
215
215
  <div id="footer">
216
- Generated on Sun Feb 23 15:47:03 2014 by
216
+ Generated on Sun Apr 27 17:16:42 2014 by
217
217
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
218
- 0.8.7.3 (ruby-2.1.0).
218
+ 0.8.7.4 (ruby-2.1.0).
219
219
  </div>
220
220
 
221
221
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Lazier::Settings
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; 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#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Lazier/Settings.html";
21
21
  </script>
22
22
 
23
23
 
@@ -653,7 +653,9 @@
653
653
  114
654
654
  115
655
655
  116
656
- 117</pre>
656
+ 117
657
+ 118
658
+ 119</pre>
657
659
  </td>
658
660
  <td>
659
661
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 20</span>
@@ -707,7 +709,9 @@
707
709
  </span> <span class='comment'># @param k_separator [String] The string to use as thousands separator.
708
710
  </span> <span class='comment'># @return [Hash] The new formatters.
709
711
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
710
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
712
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
713
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
714
+ <span class='rparen'>)</span>
711
715
  <span class='kw'>end</span>
712
716
 
713
717
  <span class='comment'># Setups strings representation of booleans.
@@ -746,7 +750,7 @@
746
750
  </span> <span class='comment'># @param short_days [Array] The abbreviated string representation of days.
747
751
  </span> <span class='comment'># @return [Hash] The new representations.
748
752
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
749
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
753
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
750
754
 
751
755
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
752
756
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -902,7 +906,9 @@
902
906
  114
903
907
  115
904
908
  116
905
- 117</pre>
909
+ 117
910
+ 118
911
+ 119</pre>
906
912
  </td>
907
913
  <td>
908
914
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 20</span>
@@ -956,7 +962,9 @@
956
962
  </span> <span class='comment'># @param k_separator [String] The string to use as thousands separator.
957
963
  </span> <span class='comment'># @return [Hash] The new formatters.
958
964
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
959
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
965
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
966
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
967
+ <span class='rparen'>)</span>
960
968
  <span class='kw'>end</span>
961
969
 
962
970
  <span class='comment'># Setups strings representation of booleans.
@@ -995,7 +1003,7 @@
995
1003
  </span> <span class='comment'># @param short_days [Array] The abbreviated string representation of days.
996
1004
  </span> <span class='comment'># @return [Hash] The new representations.
997
1005
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
998
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1006
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
999
1007
 
1000
1008
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1001
1009
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -1151,7 +1159,9 @@
1151
1159
  114
1152
1160
  115
1153
1161
  116
1154
- 117</pre>
1162
+ 117
1163
+ 118
1164
+ 119</pre>
1155
1165
  </td>
1156
1166
  <td>
1157
1167
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 20</span>
@@ -1205,7 +1215,9 @@
1205
1215
  </span> <span class='comment'># @param k_separator [String] The string to use as thousands separator.
1206
1216
  </span> <span class='comment'># @return [Hash] The new formatters.
1207
1217
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
1208
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1218
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
1219
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
1220
+ <span class='rparen'>)</span>
1209
1221
  <span class='kw'>end</span>
1210
1222
 
1211
1223
  <span class='comment'># Setups strings representation of booleans.
@@ -1244,7 +1256,7 @@
1244
1256
  </span> <span class='comment'># @param short_days [Array] The abbreviated string representation of days.
1245
1257
  </span> <span class='comment'># @return [Hash] The new representations.
1246
1258
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1247
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1259
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1248
1260
 
1249
1261
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1250
1262
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -1400,7 +1412,9 @@
1400
1412
  114
1401
1413
  115
1402
1414
  116
1403
- 117</pre>
1415
+ 117
1416
+ 118
1417
+ 119</pre>
1404
1418
  </td>
1405
1419
  <td>
1406
1420
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 20</span>
@@ -1454,7 +1468,9 @@
1454
1468
  </span> <span class='comment'># @param k_separator [String] The string to use as thousands separator.
1455
1469
  </span> <span class='comment'># @return [Hash] The new formatters.
1456
1470
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
1457
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1471
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
1472
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
1473
+ <span class='rparen'>)</span>
1458
1474
  <span class='kw'>end</span>
1459
1475
 
1460
1476
  <span class='comment'># Setups strings representation of booleans.
@@ -1493,7 +1509,7 @@
1493
1509
  </span> <span class='comment'># @param short_days [Array] The abbreviated string representation of days.
1494
1510
  </span> <span class='comment'># @return [Hash] The new representations.
1495
1511
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1496
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1512
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1497
1513
 
1498
1514
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1499
1515
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -1649,7 +1665,9 @@
1649
1665
  114
1650
1666
  115
1651
1667
  116
1652
- 117</pre>
1668
+ 117
1669
+ 118
1670
+ 119</pre>
1653
1671
  </td>
1654
1672
  <td>
1655
1673
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 20</span>
@@ -1703,7 +1721,9 @@
1703
1721
  </span> <span class='comment'># @param k_separator [String] The string to use as thousands separator.
1704
1722
  </span> <span class='comment'># @return [Hash] The new formatters.
1705
1723
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
1706
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1724
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
1725
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
1726
+ <span class='rparen'>)</span>
1707
1727
  <span class='kw'>end</span>
1708
1728
 
1709
1729
  <span class='comment'># Setups strings representation of booleans.
@@ -1742,7 +1762,7 @@
1742
1762
  </span> <span class='comment'># @param short_days [Array] The abbreviated string representation of days.
1743
1763
  </span> <span class='comment'># @return [Hash] The new representations.
1744
1764
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1745
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1765
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
1746
1766
 
1747
1767
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1748
1768
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -1983,12 +2003,12 @@
1983
2003
  <pre class="lines">
1984
2004
 
1985
2005
 
1986
- 78
1987
- 79
1988
- 80</pre>
2006
+ 80
2007
+ 81
2008
+ 82</pre>
1989
2009
  </td>
1990
2010
  <td>
1991
- <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 78</span>
2011
+ <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 80</span>
1992
2012
 
1993
2013
  <span class='kw'>def</span> <span class='id identifier rubyid_setup_boolean_names'>setup_boolean_names</span><span class='lparen'>(</span><span class='id identifier rubyid_true_name'>true_name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_false_name'>false_name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1994
2014
  <span class='ivar'>@boolean_names</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='kw'>true</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_true_name'>true_name</span> <span class='op'>||</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_boolean'>boolean</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_false_name'>false_name</span> <span class='op'>||</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_boolean'>boolean</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
@@ -2085,17 +2105,17 @@
2085
2105
  <pre class="lines">
2086
2106
 
2087
2107
 
2088
- 88
2089
- 89
2090
2108
  90
2091
2109
  91
2092
2110
  92
2093
2111
  93
2094
2112
  94
2095
- 95</pre>
2113
+ 95
2114
+ 96
2115
+ 97</pre>
2096
2116
  </td>
2097
2117
  <td>
2098
- <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 88</span>
2118
+ <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 90</span>
2099
2119
 
2100
2120
  <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_formats'>setup_date_formats</span><span class='lparen'>(</span><span class='id identifier rubyid_formats'>formats</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_replace'>replace</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
2101
2121
  <span class='ivar'>@date_formats</span> <span class='op'>=</span> <span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>if</span> <span class='id identifier rubyid_replace'>replace</span> <span class='op'>||</span> <span class='op'>!</span><span class='ivar'>@date_formats</span>
@@ -2235,8 +2255,6 @@
2235
2255
  <pre class="lines">
2236
2256
 
2237
2257
 
2238
- 107
2239
- 108
2240
2258
  109
2241
2259
  110
2242
2260
  111
@@ -2244,13 +2262,15 @@
2244
2262
  113
2245
2263
  114
2246
2264
  115
2247
- 116</pre>
2265
+ 116
2266
+ 117
2267
+ 118</pre>
2248
2268
  </td>
2249
2269
  <td>
2250
- <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 107</span>
2270
+ <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 109</span>
2251
2271
 
2252
2272
  <span class='kw'>def</span> <span class='id identifier rubyid_setup_date_names'>setup_date_names</span><span class='lparen'>(</span><span class='id identifier rubyid_long_months'>long_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_months'>short_months</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_long_days'>long_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_short_days'>short_days</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2253
- <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
2273
+ <span class='id identifier rubyid_definitions'>definitions</span> <span class='op'>=</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_date'>date</span>
2254
2274
 
2255
2275
  <span class='ivar'>@date_names</span> <span class='op'>=</span> <span class='lbrace'>{</span>
2256
2276
  <span class='label'>long_months:</span> <span class='id identifier rubyid_long_months'>long_months</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_definitions'>definitions</span><span class='period'>.</span><span class='id identifier rubyid_long_months'>long_months</span><span class='rparen'>)</span><span class='comma'>,</span>
@@ -2387,13 +2407,17 @@
2387
2407
 
2388
2408
  68
2389
2409
  69
2390
- 70</pre>
2410
+ 70
2411
+ 71
2412
+ 72</pre>
2391
2413
  </td>
2392
2414
  <td>
2393
2415
  <pre class="code"><span class="info file"># File 'lib/lazier/settings.rb', line 68</span>
2394
2416
 
2395
2417
  <span class='kw'>def</span> <span class='id identifier rubyid_setup_format_number'>setup_format_number</span><span class='lparen'>(</span><span class='id identifier rubyid_precision'>precision</span> <span class='op'>=</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span> <span class='op'>=</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='id identifier rubyid_add_string'>add_string</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_k_separator'>k_separator</span> <span class='op'>=</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>
2396
- <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span><span class='rbrace'>}</span><span class='rparen'>)</span>
2418
+ <span class='ivar'>@format_number</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
2419
+ <span class='label'>precision:</span> <span class='id identifier rubyid_precision'>precision</span><span class='comma'>,</span> <span class='label'>decimal_separator:</span> <span class='id identifier rubyid_decimal_separator'>decimal_separator</span><span class='comma'>,</span> <span class='label'>add_string:</span> <span class='id identifier rubyid_add_string'>add_string</span><span class='comma'>,</span> <span class='label'>k_separator:</span> <span class='id identifier rubyid_k_separator'>k_separator</span>
2420
+ <span class='rparen'>)</span>
2397
2421
  <span class='kw'>end</span></pre>
2398
2422
  </td>
2399
2423
  </tr>
@@ -2405,9 +2429,9 @@
2405
2429
  </div>
2406
2430
 
2407
2431
  <div id="footer">
2408
- Generated on Sun Feb 23 15:47:03 2014 by
2432
+ Generated on Sun Apr 27 17:16:42 2014 by
2409
2433
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2410
- 0.8.7.3 (ruby-2.1.0).
2434
+ 0.8.7.4 (ruby-2.1.0).
2411
2435
  </div>
2412
2436
 
2413
2437
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Lazier::String
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; 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#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Lazier/String.html";
21
21
  </script>
22
22
 
23
23
 
@@ -334,7 +334,7 @@
334
334
 
335
335
  <span class='kw'>def</span> <span class='id identifier rubyid_ensure_valid_utf8'>ensure_valid_utf8</span><span class='lparen'>(</span><span class='id identifier rubyid_replacement'>replacement</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
336
336
  <span class='comment'># This odd line is because if need to specify a different encoding (without losing infos) to replace invalid bytes and then we go back to utf-8
337
- </span> <span class='op'>!</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>JRUBY_VERSION</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>utf-16</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>invalid:</span> <span class='symbol'>:replace</span><span class='comma'>,</span> <span class='label'>undef:</span> <span class='symbol'>:replace</span><span class='comma'>,</span> <span class='label'>replace:</span> <span class='id identifier rubyid_replacement'>replacement</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>utf-8</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Sorry, Lazier::String#ensure_valid_utf8 is not available on JRuby.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
337
+ </span> <span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>utf-16</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>invalid:</span> <span class='symbol'>:replace</span><span class='comma'>,</span> <span class='label'>undef:</span> <span class='symbol'>:replace</span><span class='comma'>,</span> <span class='label'>replace:</span> <span class='id identifier rubyid_replacement'>replacement</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>utf-8</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
338
338
  <span class='kw'>end</span></pre>
339
339
  </td>
340
340
  </tr>
@@ -586,7 +586,7 @@
586
586
  <pre class="code"><span class="info file"># File 'lib/lazier/string.rb', line 68</span>
587
587
 
588
588
  <span class='kw'>def</span> <span class='id identifier rubyid_split_tokens'>split_tokens</span><span class='lparen'>(</span><span class='id identifier rubyid_no_blanks'>no_blanks</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_strip'>strip</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_uniq'>uniq</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='id identifier rubyid_pattern'>pattern</span> <span class='op'>=</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\s*,\s*</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
589
- <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_split'>split</span><span class='lparen'>(</span><span class='id identifier rubyid_pattern'>pattern</span><span class='rparen'>)</span>
589
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='id identifier rubyid_pattern'>pattern</span><span class='rparen'>)</span>
590
590
  <span class='id identifier rubyid_rv'>rv</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'>:strip</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_strip'>strip</span>
591
591
  <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_select!'>select!</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:present?</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_no_blanks'>no_blanks</span>
592
592
  <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span> <span class='kw'>if</span> <span class='id identifier rubyid_uniq'>uniq</span>
@@ -723,9 +723,9 @@
723
723
  </div>
724
724
 
725
725
  <div id="footer">
726
- Generated on Sun Feb 23 15:47:03 2014 by
726
+ Generated on Sun Apr 27 17:16:42 2014 by
727
727
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
728
- 0.8.7.3 (ruby-2.1.0).
728
+ 0.8.7.4 (ruby-2.1.0).
729
729
  </div>
730
730
 
731
731
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Lazier::TimeZone
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; 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#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Lazier/TimeZone.html";
21
21
  </script>
22
22
 
23
23
 
@@ -474,13 +474,13 @@
474
474
  <pre class="lines">
475
475
 
476
476
 
477
- 395
478
- 396
479
- 397
480
- 398</pre>
477
+ 416
478
+ 417
479
+ 418
480
+ 419</pre>
481
481
  </td>
482
482
  <td>
483
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 395</span>
483
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 416</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
- 414
537
- 415
538
- 416
539
- 417
540
- 418
541
- 419
542
- 420
543
- 421
544
- 422
545
- 423
546
- 424</pre>
536
+ 435
537
+ 436
538
+ 437
539
+ 438
540
+ 439
541
+ 440
542
+ 441
543
+ 442
544
+ 443
545
+ 444
546
+ 445</pre>
547
547
  </td>
548
548
  <td>
549
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 414</span>
549
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 435</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
- 405
648
- 406
649
- 407
650
- 408
651
- 409</pre>
647
+ 426
648
+ 427
649
+ 428
650
+ 429
651
+ 430</pre>
652
652
  </td>
653
653
  <td>
654
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 405</span>
654
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 426</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
- 466
747
- 467
748
- 468</pre>
746
+ 487
747
+ 488
748
+ 489</pre>
749
749
  </td>
750
750
  <td>
751
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 466</span>
751
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 487</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
- 488
859
- 489
860
- 490</pre>
858
+ 509
859
+ 510
860
+ 511</pre>
861
861
  </td>
862
862
  <td>
863
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 488</span>
863
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 509</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
- 476
971
- 477
972
- 478
973
- 479
974
- 480</pre>
970
+ 497
971
+ 498
972
+ 499
973
+ 500
974
+ 501</pre>
975
975
  </td>
976
976
  <td>
977
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 476</span>
977
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 497</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
- 438
1053
- 439
1054
- 440
1055
- 441
1056
- 442
1057
- 443
1058
- 444
1059
- 445
1060
- 446
1061
- 447</pre>
1052
+ 459
1053
+ 460
1054
+ 461
1055
+ 462
1056
+ 463
1057
+ 464
1058
+ 465
1059
+ 466
1060
+ 467
1061
+ 468</pre>
1062
1062
  </td>
1063
1063
  <td>
1064
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 438</span>
1064
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 459</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>
@@ -1069,8 +1069,8 @@
1069
1069
  <span class='id identifier rubyid_northern_summer'>northern_summer</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_civil'>civil</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='comma'>,</span> <span class='int'>7</span><span class='comma'>,</span> <span class='int'>15</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span> <span class='comment'># This is a representation of a summer period in the Northern Hemisphere.
1070
1070
  </span> <span class='id identifier rubyid_southern_summer'>southern_summer</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_civil'>civil</span><span class='lparen'>(</span><span class='id identifier rubyid_year'>year</span><span class='comma'>,</span> <span class='int'>1</span><span class='comma'>,</span> <span class='int'>15</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span> <span class='comment'># This is a representation of a summer period in the Southern Hemisphere.
1071
1071
  </span>
1072
- <span class='id identifier rubyid_period'>period</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_period_for_utc'>period_for_utc</span><span class='lparen'>(</span><span class='id identifier rubyid_northern_summer'>northern_summer</span><span class='rparen'>)</span>
1073
- <span class='id identifier rubyid_period'>period</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_period_for_utc'>period_for_utc</span><span class='lparen'>(</span><span class='id identifier rubyid_southern_summer'>southern_summer</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_period'>period</span><span class='period'>.</span><span class='id identifier rubyid_dst?'>dst?</span>
1072
+ <span class='id identifier rubyid_period'>period</span> <span class='op'>=</span> <span class='id identifier rubyid_period_for_utc'>period_for_utc</span><span class='lparen'>(</span><span class='id identifier rubyid_northern_summer'>northern_summer</span><span class='rparen'>)</span>
1073
+ <span class='id identifier rubyid_period'>period</span> <span class='op'>=</span> <span class='id identifier rubyid_period_for_utc'>period_for_utc</span><span class='lparen'>(</span><span class='id identifier rubyid_southern_summer'>southern_summer</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_period'>period</span><span class='period'>.</span><span class='id identifier rubyid_dst?'>dst?</span>
1074
1074
  <span class='id identifier rubyid_period'>period</span><span class='period'>.</span><span class='id identifier rubyid_dst?'>dst?</span> <span class='op'>?</span> <span class='id identifier rubyid_period'>period</span> <span class='op'>:</span> <span class='kw'>nil</span>
1075
1075
  <span class='kw'>end</span></pre>
1076
1076
  </td>
@@ -1141,12 +1141,12 @@
1141
1141
  <pre class="lines">
1142
1142
 
1143
1143
 
1144
- 430
1145
- 431
1146
- 432</pre>
1144
+ 451
1145
+ 452
1146
+ 453</pre>
1147
1147
  </td>
1148
1148
  <td>
1149
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 430</span>
1149
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 451</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,15 +1236,15 @@
1236
1236
  <pre class="lines">
1237
1237
 
1238
1238
 
1239
- 497
1240
- 498
1241
- 499</pre>
1239
+ 518
1240
+ 519
1241
+ 520</pre>
1242
1242
  </td>
1243
1243
  <td>
1244
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 497</span>
1244
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 518</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
- <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_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>
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>
1248
1248
  <span class='kw'>end</span></pre>
1249
1249
  </td>
1250
1250
  </tr>
@@ -1331,12 +1331,12 @@
1331
1331
  <pre class="lines">
1332
1332
 
1333
1333
 
1334
- 516
1335
- 517
1336
- 518</pre>
1334
+ 537
1335
+ 538
1336
+ 539</pre>
1337
1337
  </td>
1338
1338
  <td>
1339
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 516</span>
1339
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 537</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,15 +1443,15 @@
1443
1443
  <pre class="lines">
1444
1444
 
1445
1445
 
1446
- 507
1447
- 508
1448
- 509</pre>
1446
+ 528
1447
+ 529
1448
+ 530</pre>
1449
1449
  </td>
1450
1450
  <td>
1451
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 507</span>
1451
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 528</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
- <span class='kw'>self</span><span class='period'>.</span><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>
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>
1455
1455
  <span class='kw'>end</span></pre>
1456
1456
  </td>
1457
1457
  </tr>
@@ -1555,13 +1555,13 @@
1555
1555
  <pre class="lines">
1556
1556
 
1557
1557
 
1558
- 526
1559
- 527
1560
- 528
1561
- 529</pre>
1558
+ 547
1559
+ 548
1560
+ 549
1561
+ 550</pre>
1562
1562
  </td>
1563
1563
  <td>
1564
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 526</span>
1564
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 547</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,19 +1635,19 @@
1635
1635
  <pre class="lines">
1636
1636
 
1637
1637
 
1638
- 453
1639
- 454
1640
- 455
1641
- 456
1642
- 457
1643
- 458
1644
- 459</pre>
1638
+ 474
1639
+ 475
1640
+ 476
1641
+ 477
1642
+ 478
1643
+ 479
1644
+ 480</pre>
1645
1645
  </td>
1646
1646
  <td>
1647
- <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 453</span>
1647
+ <pre class="code"><span class="info file"># File 'lib/lazier/datetime.rb', line 474</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
- <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='kw'>then</span> <span class='comment'># This is a date like object
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
1651
1651
  </span> <span class='id identifier rubyid_dst_period'>dst_period</span><span class='lparen'>(</span><span class='id identifier rubyid_reference'>reference</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_period_for_utc'>period_for_utc</span><span class='lparen'>(</span><span class='id identifier rubyid_reference'>reference</span><span class='period'>.</span><span class='id identifier rubyid_utc'>utc</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_dst?'>dst?</span>
1652
1652
  <span class='kw'>else</span>
1653
1653
  <span class='id identifier rubyid_dst_period'>dst_period</span><span class='lparen'>(</span><span class='id identifier rubyid_reference'>reference</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span>
@@ -1663,9 +1663,9 @@
1663
1663
  </div>
1664
1664
 
1665
1665
  <div id="footer">
1666
- Generated on Sun Feb 23 15:47:03 2014 by
1666
+ Generated on Sun Apr 27 17:16:42 2014 by
1667
1667
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1668
- 0.8.7.3 (ruby-2.1.0).
1668
+ 0.8.7.4 (ruby-2.1.0).
1669
1669
  </div>
1670
1670
 
1671
1671
  </body>