lazier 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis-gemfile +1 -2
- data/Gemfile +1 -2
- data/doc/Lazier/Boolean.html +1 -1
- data/doc/Lazier/Configuration.html +1 -1
- data/doc/Lazier/DateTime/ClassMethods.html +1 -1
- data/doc/Lazier/DateTime.html +1 -1
- data/doc/Lazier/Exceptions/Debug.html +1 -1
- data/doc/Lazier/Exceptions/MissingTranslation.html +1 -1
- data/doc/Lazier/Exceptions/TranslationExceptionHandler.html +1 -1
- data/doc/Lazier/Exceptions.html +1 -1
- data/doc/Lazier/Hash.html +1 -1
- data/doc/Lazier/I18n.html +34 -24
- data/doc/Lazier/Math/ClassMethods.html +1 -1
- data/doc/Lazier/Math.html +1 -1
- data/doc/Lazier/Object.html +1 -1
- data/doc/Lazier/Pathname.html +1 -1
- data/doc/Lazier/Settings.html +172 -34
- data/doc/Lazier/String.html +1 -1
- data/doc/Lazier/TimeZone/ClassMethods.html +1 -1
- data/doc/Lazier/TimeZone.html +1 -1
- data/doc/Lazier/Version.html +2 -2
- data/doc/Lazier.html +83 -75
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lazier.gemspec +1 -1
- data/lib/lazier/i18n.rb +1 -0
- data/lib/lazier/settings.rb +15 -2
- data/lib/lazier/version.rb +1 -1
- data/lib/lazier.rb +40 -32
- data/spec/lazier/boolean_spec.rb +1 -1
- data/spec/lazier/datetime_spec.rb +1 -1
- data/spec/lazier/hash_spec.rb +2 -2
- data/spec/lazier/i18n_spec.rb +17 -11
- data/spec/lazier/math_spec.rb +1 -1
- data/spec/lazier/object_spec.rb +1 -1
- data/spec/lazier/pathname_spec.rb +1 -1
- data/spec/lazier/settings_spec.rb +1 -1
- data/spec/lazier/string_spec.rb +1 -1
- data/spec/lazier/timezone_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c7ecdcce60f83fce20f205c5025da9d2540277c
|
4
|
+
data.tar.gz: 8869951be5651b0a3e955c14a1775f183e58c6b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9099deb6538ce030e369114a34d42a1e033192012d9616262a4aa510172ba12ac4e9bb9405fa8522183e353b1192d96a8d2bccd533b68a0eb49ba47c481c1ca1
|
7
|
+
data.tar.gz: 5517315c141ab468f45c180fa3a7a0d9e49a817241686bcfaa1718f136d772fd7ce8de84887b305f4b6ad38a5a39471042cce90f74c644a16ade79842b856700
|
data/.travis-gemfile
CHANGED
@@ -9,8 +9,7 @@ source "http://rubygems.org"
|
|
9
9
|
gemspec
|
10
10
|
|
11
11
|
# Testing
|
12
|
-
gem "rspec", "~> 3.0
|
13
|
-
gem "rspec-support", github: "rspec/rspec-support" if RUBY_ENGINE == "jruby"
|
12
|
+
gem "rspec", "~> 3.0"
|
14
13
|
gem "rake", "~> 10.3"
|
15
14
|
gem "simplecov", "~> 0.8"
|
16
15
|
gem "coveralls", "~> 0.7", require: false
|
data/Gemfile
CHANGED
data/doc/Lazier/Boolean.html
CHANGED
@@ -288,7 +288,7 @@
|
|
288
288
|
</div>
|
289
289
|
|
290
290
|
<div id="footer">
|
291
|
-
Generated on
|
291
|
+
Generated on Fri Jun 6 11:15:48 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.2).
|
294
294
|
</div>
|
@@ -360,7 +360,7 @@ Options are as follows:</p>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on
|
363
|
+
Generated on Fri Jun 6 11:15:49 2014 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
365
|
0.8.7.4 (ruby-2.1.2).
|
366
366
|
</div>
|
@@ -864,7 +864,7 @@ Date.years(1, true, 2010, true)
|
|
864
864
|
</div>
|
865
865
|
|
866
866
|
<div id="footer">
|
867
|
-
Generated on
|
867
|
+
Generated on Fri Jun 6 11:15:48 2014 by
|
868
868
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
869
869
|
0.8.7.4 (ruby-2.1.2).
|
870
870
|
</div>
|
data/doc/Lazier/DateTime.html
CHANGED
@@ -466,7 +466,7 @@ DateTime.civil(2013, 6, 1).in_months(2011)
|
|
466
466
|
</div>
|
467
467
|
|
468
468
|
<div id="footer">
|
469
|
-
Generated on
|
469
|
+
Generated on Fri Jun 6 11:15:48 2014 by
|
470
470
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
471
471
|
0.8.7.4 (ruby-2.1.2).
|
472
472
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Fri Jun 6 11:15:49 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.2).
|
130
130
|
</div>
|
@@ -242,7 +242,7 @@
|
|
242
242
|
</div>
|
243
243
|
|
244
244
|
<div id="footer">
|
245
|
-
Generated on
|
245
|
+
Generated on Fri Jun 6 11:15:49 2014 by
|
246
246
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
247
247
|
0.8.7.4 (ruby-2.1.2).
|
248
248
|
</div>
|
@@ -204,7 +204,7 @@
|
|
204
204
|
</div>
|
205
205
|
|
206
206
|
<div id="footer">
|
207
|
-
Generated on
|
207
|
+
Generated on Fri Jun 6 11:15:49 2014 by
|
208
208
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
209
209
|
0.8.7.4 (ruby-2.1.2).
|
210
210
|
</div>
|
data/doc/Lazier/Exceptions.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Fri Jun 6 11:15:48 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.2).
|
122
122
|
</div>
|
data/doc/Lazier/Hash.html
CHANGED
@@ -552,7 +552,7 @@
|
|
552
552
|
</div>
|
553
553
|
|
554
554
|
<div id="footer">
|
555
|
-
Generated on
|
555
|
+
Generated on Fri Jun 6 11:15:48 2014 by
|
556
556
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
557
557
|
0.8.7.4 (ruby-2.1.2).
|
558
558
|
</div>
|
data/doc/Lazier/I18n.html
CHANGED
@@ -531,12 +531,14 @@
|
|
531
531
|
46
|
532
532
|
47
|
533
533
|
48
|
534
|
-
49
|
534
|
+
49
|
535
|
+
50</pre>
|
535
536
|
</td>
|
536
537
|
<td>
|
537
538
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 41</span>
|
538
539
|
|
539
540
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='symbol'>:lazier</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
541
|
+
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
540
542
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>ROOT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/locales</span><span class='tstring_end'>"</span></span>
|
541
543
|
<span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
542
544
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
|
@@ -748,7 +750,8 @@
|
|
748
750
|
163
|
749
751
|
164
|
750
752
|
165
|
751
|
-
166
|
753
|
+
166
|
754
|
+
167</pre>
|
752
755
|
</td>
|
753
756
|
<td>
|
754
757
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -778,6 +781,7 @@
|
|
778
781
|
</span> <span class='comment'># @param root [Symbol] The root level of the translation.
|
779
782
|
</span> <span class='comment'># @param path [String] The path where the translations are stored.
|
780
783
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='symbol'>:lazier</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
784
|
+
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
781
785
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>ROOT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/locales</span><span class='tstring_end'>"</span></span>
|
782
786
|
<span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
783
787
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
|
@@ -1101,7 +1105,8 @@
|
|
1101
1105
|
163
|
1102
1106
|
164
|
1103
1107
|
165
|
1104
|
-
166
|
1108
|
+
166
|
1109
|
+
167</pre>
|
1105
1110
|
</td>
|
1106
1111
|
<td>
|
1107
1112
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1131,6 +1136,7 @@
|
|
1131
1136
|
</span> <span class='comment'># @param root [Symbol] The root level of the translation.
|
1132
1137
|
</span> <span class='comment'># @param path [String] The path where the translations are stored.
|
1133
1138
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='symbol'>:lazier</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1139
|
+
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
1134
1140
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>ROOT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/locales</span><span class='tstring_end'>"</span></span>
|
1135
1141
|
<span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
1136
1142
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
|
@@ -1454,7 +1460,8 @@
|
|
1454
1460
|
163
|
1455
1461
|
164
|
1456
1462
|
165
|
1457
|
-
166
|
1463
|
+
166
|
1464
|
+
167</pre>
|
1458
1465
|
</td>
|
1459
1466
|
<td>
|
1460
1467
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1484,6 +1491,7 @@
|
|
1484
1491
|
</span> <span class='comment'># @param root [Symbol] The root level of the translation.
|
1485
1492
|
</span> <span class='comment'># @param path [String] The path where the translations are stored.
|
1486
1493
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='symbol'>:lazier</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1494
|
+
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
1487
1495
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>ROOT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/locales</span><span class='tstring_end'>"</span></span>
|
1488
1496
|
<span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
1489
1497
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
|
@@ -1807,7 +1815,8 @@
|
|
1807
1815
|
163
|
1808
1816
|
164
|
1809
1817
|
165
|
1810
|
-
166
|
1818
|
+
166
|
1819
|
+
167</pre>
|
1811
1820
|
</td>
|
1812
1821
|
<td>
|
1813
1822
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1837,6 +1846,7 @@
|
|
1837
1846
|
</span> <span class='comment'># @param root [Symbol] The root level of the translation.
|
1838
1847
|
</span> <span class='comment'># @param path [String] The path where the translations are stored.
|
1839
1848
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='symbol'>:lazier</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1849
|
+
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
1840
1850
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>ROOT</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/locales</span><span class='tstring_end'>"</span></span>
|
1841
1851
|
<span class='ivar'>@root</span> <span class='op'>=</span> <span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
1842
1852
|
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
|
@@ -2147,12 +2157,12 @@
|
|
2147
2157
|
<pre class="lines">
|
2148
2158
|
|
2149
2159
|
|
2150
|
-
77
|
2151
2160
|
78
|
2152
|
-
79
|
2161
|
+
79
|
2162
|
+
80</pre>
|
2153
2163
|
</td>
|
2154
2164
|
<td>
|
2155
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2165
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 78</span>
|
2156
2166
|
|
2157
2167
|
<span class='kw'>def</span> <span class='id identifier rubyid_locales'>locales</span>
|
2158
2168
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_available_locales'>available_locales</span>
|
@@ -2187,13 +2197,13 @@
|
|
2187
2197
|
<pre class="lines">
|
2188
2198
|
|
2189
2199
|
|
2190
|
-
52
|
2191
2200
|
53
|
2192
2201
|
54
|
2193
|
-
55
|
2202
|
+
55
|
2203
|
+
56</pre>
|
2194
2204
|
</td>
|
2195
2205
|
<td>
|
2196
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2206
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 53</span>
|
2197
2207
|
|
2198
2208
|
<span class='kw'>def</span> <span class='id identifier rubyid_reload'>reload</span>
|
2199
2209
|
<span class='comment'># Extract the backend to an attribute
|
@@ -2284,7 +2294,6 @@
|
|
2284
2294
|
<pre class="lines">
|
2285
2295
|
|
2286
2296
|
|
2287
|
-
86
|
2288
2297
|
87
|
2289
2298
|
88
|
2290
2299
|
89
|
@@ -2293,10 +2302,11 @@
|
|
2293
2302
|
92
|
2294
2303
|
93
|
2295
2304
|
94
|
2296
|
-
95
|
2305
|
+
95
|
2306
|
+
96</pre>
|
2297
2307
|
</td>
|
2298
2308
|
<td>
|
2299
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2309
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 87</span>
|
2300
2310
|
|
2301
2311
|
<span class='kw'>def</span> <span class='id identifier rubyid_translate'>translate</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2302
2312
|
<span class='comment'># PI: Ignore reek on this.
|
@@ -2408,12 +2418,12 @@
|
|
2408
2418
|
<pre class="lines">
|
2409
2419
|
|
2410
2420
|
|
2411
|
-
104
|
2412
2421
|
105
|
2413
|
-
106
|
2422
|
+
106
|
2423
|
+
107</pre>
|
2414
2424
|
</td>
|
2415
2425
|
<td>
|
2416
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2426
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 105</span>
|
2417
2427
|
|
2418
2428
|
<span class='kw'>def</span> <span class='id identifier rubyid_translate_in_locale'>translate_in_locale</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
2419
2429
|
<span class='id identifier rubyid_with_locale'>with_locale</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_translate'>translate</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
@@ -2486,13 +2496,13 @@
|
|
2486
2496
|
<pre class="lines">
|
2487
2497
|
|
2488
2498
|
|
2489
|
-
61
|
2490
2499
|
62
|
2491
2500
|
63
|
2492
|
-
64
|
2501
|
+
64
|
2502
|
+
65</pre>
|
2493
2503
|
</td>
|
2494
2504
|
<td>
|
2495
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2505
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 62</span>
|
2496
2506
|
|
2497
2507
|
<span class='kw'>def</span> <span class='id identifier rubyid_translations'>translations</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
2498
2508
|
<span class='id identifier rubyid_locale'>locale</span> <span class='op'>||=</span> <span class='ivar'>@locale</span>
|
@@ -2547,7 +2557,6 @@
|
|
2547
2557
|
<pre class="lines">
|
2548
2558
|
|
2549
2559
|
|
2550
|
-
112
|
2551
2560
|
113
|
2552
2561
|
114
|
2553
2562
|
115
|
@@ -2556,10 +2565,11 @@
|
|
2556
2565
|
118
|
2557
2566
|
119
|
2558
2567
|
120
|
2559
|
-
121
|
2568
|
+
121
|
2569
|
+
122</pre>
|
2560
2570
|
</td>
|
2561
2571
|
<td>
|
2562
|
-
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line
|
2572
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 113</span>
|
2563
2573
|
|
2564
2574
|
<span class='kw'>def</span> <span class='id identifier rubyid_with_locale'>with_locale</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span>
|
2565
2575
|
<span class='id identifier rubyid_old_locale'>old_locale</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_locale'>locale</span>
|
@@ -2581,7 +2591,7 @@
|
|
2581
2591
|
</div>
|
2582
2592
|
|
2583
2593
|
<div id="footer">
|
2584
|
-
Generated on
|
2594
|
+
Generated on Fri Jun 6 11:15:48 2014 by
|
2585
2595
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2586
2596
|
0.8.7.4 (ruby-2.1.2).
|
2587
2597
|
</div>
|
@@ -321,7 +321,7 @@
|
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div id="footer">
|
324
|
-
Generated on
|
324
|
+
Generated on Fri Jun 6 11:15:48 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.2).
|
327
327
|
</div>
|
data/doc/Lazier/Math.html
CHANGED
@@ -121,7 +121,7 @@
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on
|
124
|
+
Generated on Fri Jun 6 11:15:48 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.2).
|
127
127
|
</div>
|
data/doc/Lazier/Object.html
CHANGED
@@ -2331,7 +2331,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2331
2331
|
</div>
|
2332
2332
|
|
2333
2333
|
<div id="footer">
|
2334
|
-
Generated on
|
2334
|
+
Generated on Fri Jun 6 11:15:48 2014 by
|
2335
2335
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2336
2336
|
0.8.7.4 (ruby-2.1.2).
|
2337
2337
|
</div>
|
data/doc/Lazier/Pathname.html
CHANGED
@@ -213,7 +213,7 @@ Pathname.new("/usr/bin/ruby").components
|
|
213
213
|
</div>
|
214
214
|
|
215
215
|
<div id="footer">
|
216
|
-
Generated on
|
216
|
+
Generated on Fri Jun 6 11:15:48 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.2).
|
219
219
|
</div>
|