lazier 3.3.9 → 3.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -0
- data/doc/Lazier.html +119 -57
- data/doc/Lazier/Boolean.html +3 -3
- data/doc/Lazier/Configuration.html +3 -3
- data/doc/Lazier/DateTime.html +3 -3
- data/doc/Lazier/DateTime/ClassMethods.html +3 -3
- data/doc/Lazier/Exceptions.html +3 -3
- data/doc/Lazier/Exceptions/Debug.html +3 -3
- data/doc/Lazier/Exceptions/MissingTranslation.html +3 -3
- data/doc/Lazier/Hash.html +3 -3
- data/doc/Lazier/I18n.html +3 -3
- data/doc/Lazier/Localizer.html +3 -3
- data/doc/Lazier/Math.html +3 -3
- data/doc/Lazier/Math/ClassMethods.html +3 -3
- data/doc/Lazier/Object.html +4 -4
- data/doc/Lazier/Pathname.html +3 -3
- data/doc/Lazier/Settings.html +3 -3
- data/doc/Lazier/String.html +3 -3
- data/doc/Lazier/TimeZone.html +3 -3
- data/doc/Lazier/TimeZone/ClassMethods.html +3 -3
- data/doc/Lazier/Version.html +4 -4
- data/doc/_index.html +4 -4
- data/doc/css/style.css +1 -1
- data/doc/file.README.html +5 -4
- data/doc/frames.html +5 -7
- data/doc/index.html +5 -4
- data/doc/js/app.js +7 -2
- data/doc/method_list.html +58 -52
- data/doc/top-level-namespace.html +3 -3
- data/lazier.gemspec +1 -0
- data/lib/lazier.rb +10 -5
- data/lib/lazier/object.rb +1 -1
- data/lib/lazier/version.rb +1 -1
- data/spec/lazier/datetime_spec.rb +1 -1
- data/spec/lazier/hash_spec.rb +11 -0
- data/spec/lazier/object_spec.rb +16 -15
- metadata +5 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: Lazier::Exceptions::MissingTranslation
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -238,9 +238,9 @@
|
|
238
238
|
</div>
|
239
239
|
|
240
240
|
<div id="footer">
|
241
|
-
Generated on Mon
|
241
|
+
Generated on Mon Dec 2 15:35:21 2013 by
|
242
242
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
243
|
-
0.8.7 (ruby-2.0.0).
|
243
|
+
0.8.7.3 (ruby-2.0.0).
|
244
244
|
</div>
|
245
245
|
|
246
246
|
</body>
|
data/doc/Lazier/Hash.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Hash
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -212,9 +212,9 @@
|
|
212
212
|
</div>
|
213
213
|
|
214
214
|
<div id="footer">
|
215
|
-
Generated on Mon
|
215
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
216
216
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
217
|
-
0.8.7 (ruby-2.0.0).
|
217
|
+
0.8.7.3 (ruby-2.0.0).
|
218
218
|
</div>
|
219
219
|
|
220
220
|
</body>
|
data/doc/Lazier/I18n.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::I18n
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1062,9 +1062,9 @@
|
|
1062
1062
|
</div>
|
1063
1063
|
|
1064
1064
|
<div id="footer">
|
1065
|
-
Generated on Mon
|
1065
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
1066
1066
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1067
|
-
0.8.7 (ruby-2.0.0).
|
1067
|
+
0.8.7.3 (ruby-2.0.0).
|
1068
1068
|
</div>
|
1069
1069
|
|
1070
1070
|
</body>
|
data/doc/Lazier/Localizer.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Lazier::Localizer
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -536,9 +536,9 @@
|
|
536
536
|
</div>
|
537
537
|
|
538
538
|
<div id="footer">
|
539
|
-
Generated on Mon
|
539
|
+
Generated on Mon Dec 2 15:35:21 2013 by
|
540
540
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
541
|
-
0.8.7 (ruby-2.0.0).
|
541
|
+
0.8.7.3 (ruby-2.0.0).
|
542
542
|
</div>
|
543
543
|
|
544
544
|
</body>
|
data/doc/Lazier/Math.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Math
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -121,9 +121,9 @@
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on Mon
|
124
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
126
|
-
0.8.7 (ruby-2.0.0).
|
126
|
+
0.8.7.3 (ruby-2.0.0).
|
127
127
|
</div>
|
128
128
|
|
129
129
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Math::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -321,9 +321,9 @@
|
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div id="footer">
|
324
|
-
Generated on Mon
|
324
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
325
325
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
326
|
-
0.8.7 (ruby-2.0.0).
|
326
|
+
0.8.7.3 (ruby-2.0.0).
|
327
327
|
</div>
|
328
328
|
|
329
329
|
</body>
|
data/doc/Lazier/Object.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Object
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1906,7 +1906,7 @@
|
|
1906
1906
|
<pre class="code"><span class="info file"># File 'lib/lazier/object.rb', line 118</span>
|
1907
1907
|
|
1908
1908
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_boolean'>to_boolean</span>
|
1909
|
-
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>TrueClass</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>self</span> <span class='op'>==</span> <span class='float'>1.0</span> <span class='op'>||</span> <span class='kw'>self</span> <span class='op'>==</span> <span class='int'>1</span> <span class='op'>||</span> <span class='id identifier rubyid_ensure_string'>ensure_string</span> <span class='op'>=~</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Object</span><span class='op'>::</span><span class='const'>BOOLEAN_TRUE_MATCHER</span> <span class='op'>||</span> <span class='kw'>false</span>
|
1909
|
+
<span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>TrueClass</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>self</span> <span class='op'>==</span> <span class='float'>1.0</span> <span class='op'>||</span> <span class='kw'>self</span> <span class='op'>==</span> <span class='int'>1</span> <span class='op'>||</span> <span class='op'>!</span><span class='op'>!</span><span class='lparen'>(</span><span class='id identifier rubyid_ensure_string'>ensure_string</span> <span class='op'>=~</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Object</span><span class='op'>::</span><span class='const'>BOOLEAN_TRUE_MATCHER</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>false</span>
|
1910
1910
|
<span class='kw'>end</span></pre>
|
1911
1911
|
</td>
|
1912
1912
|
</tr>
|
@@ -2074,9 +2074,9 @@
|
|
2074
2074
|
</div>
|
2075
2075
|
|
2076
2076
|
<div id="footer">
|
2077
|
-
Generated on Mon
|
2077
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
2078
2078
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2079
|
-
0.8.7 (ruby-2.0.0).
|
2079
|
+
0.8.7.3 (ruby-2.0.0).
|
2080
2080
|
</div>
|
2081
2081
|
|
2082
2082
|
</body>
|
data/doc/Lazier/Pathname.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Pathname
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -213,9 +213,9 @@ Pathname.new("/usr/bin/ruby").components
|
|
213
213
|
</div>
|
214
214
|
|
215
215
|
<div id="footer">
|
216
|
-
Generated on Mon
|
216
|
+
Generated on Mon Dec 2 15:35:21 2013 by
|
217
217
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
218
|
-
0.8.7 (ruby-2.0.0).
|
218
|
+
0.8.7.3 (ruby-2.0.0).
|
219
219
|
</div>
|
220
220
|
|
221
221
|
</body>
|
data/doc/Lazier/Settings.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Lazier::Settings
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -2405,9 +2405,9 @@
|
|
2405
2405
|
</div>
|
2406
2406
|
|
2407
2407
|
<div id="footer">
|
2408
|
-
Generated on Mon
|
2408
|
+
Generated on Mon Dec 2 15:35:21 2013 by
|
2409
2409
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2410
|
-
0.8.7 (ruby-2.0.0).
|
2410
|
+
0.8.7.3 (ruby-2.0.0).
|
2411
2411
|
</div>
|
2412
2412
|
|
2413
2413
|
</body>
|
data/doc/Lazier/String.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::String
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -563,9 +563,9 @@
|
|
563
563
|
</div>
|
564
564
|
|
565
565
|
<div id="footer">
|
566
|
-
Generated on Mon
|
566
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
567
567
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
568
|
-
0.8.7 (ruby-2.0.0).
|
568
|
+
0.8.7.3 (ruby-2.0.0).
|
569
569
|
</div>
|
570
570
|
|
571
571
|
</body>
|
data/doc/Lazier/TimeZone.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::TimeZone
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1663,9 +1663,9 @@
|
|
1663
1663
|
</div>
|
1664
1664
|
|
1665
1665
|
<div id="footer">
|
1666
|
-
Generated on Mon
|
1666
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
1667
1667
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1668
|
-
0.8.7 (ruby-2.0.0).
|
1668
|
+
0.8.7.3 (ruby-2.0.0).
|
1669
1669
|
</div>
|
1670
1670
|
|
1671
1671
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::TimeZone::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1015,9 +1015,9 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
1015
1015
|
</div>
|
1016
1016
|
|
1017
1017
|
<div id="footer">
|
1018
|
-
Generated on Mon
|
1018
|
+
Generated on Mon Dec 2 15:35:21 2013 by
|
1019
1019
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1020
|
-
0.8.7 (ruby-2.0.0).
|
1020
|
+
0.8.7.3 (ruby-2.0.0).
|
1021
1021
|
</div>
|
1022
1022
|
|
1023
1023
|
</body>
|
data/doc/Lazier/Version.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -149,7 +149,7 @@
|
|
149
149
|
|
150
150
|
</div>
|
151
151
|
</dt>
|
152
|
-
<dd><pre class="code"><span class='int'>
|
152
|
+
<dd><pre class="code"><span class='int'>10</span></pre></dd>
|
153
153
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
155
155
|
<div class="docstring">
|
@@ -180,9 +180,9 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on Mon
|
183
|
+
Generated on Mon Dec 2 15:35:20 2013 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7 (ruby-2.0.0).
|
185
|
+
0.8.7.3 (ruby-2.0.0).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.8.7
|
7
|
+
Documentation by YARD 0.8.7.3
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
58
58
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7</h1>
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.3</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -333,9 +333,9 @@
|
|
333
333
|
</div>
|
334
334
|
|
335
335
|
<div id="footer">
|
336
|
-
Generated on Mon
|
336
|
+
Generated on Mon Dec 2 15:35:19 2013 by
|
337
337
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
338
|
-
0.8.7 (ruby-2.0.0).
|
338
|
+
0.8.7.3 (ruby-2.0.0).
|
339
339
|
</div>
|
340
340
|
|
341
341
|
</body>
|
data/doc/css/style.css
CHANGED
@@ -324,9 +324,9 @@ pre.code .dot + pre.code .id,
|
|
324
324
|
pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
|
325
325
|
pre.code .comment { color: #0066FF; }
|
326
326
|
pre.code .const, pre.code .constant { color: #585CF6; }
|
327
|
+
pre.code .label,
|
327
328
|
pre.code .symbol { color: #C5060B; }
|
328
329
|
pre.code .kw,
|
329
|
-
pre.code .label,
|
330
330
|
pre.code .rubyid_require,
|
331
331
|
pre.code .rubyid_extend,
|
332
332
|
pre.code .rubyid_include { color: #0000FF; }
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,7 +67,8 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/lazier"><img src="https://coveralls.io/repos/ShogunPanda/lazier/badge.png" alt="Coverage Status" /></a
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/lazier"><img src="https://coveralls.io/repos/ShogunPanda/lazier/badge.png" alt="Coverage Status" /></a>
|
71
|
+
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/lazier/trend.png" alt="Bitdeli Trend" /></a></p>
|
71
72
|
|
72
73
|
<p>Several Ruby object enhancements.</p>
|
73
74
|
|
@@ -105,9 +106,9 @@ See documentation for more informations.</p>
|
|
105
106
|
</div></div>
|
106
107
|
|
107
108
|
<div id="footer">
|
108
|
-
Generated on Mon
|
109
|
+
Generated on Mon Dec 2 15:35:19 2013 by
|
109
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
|
-
0.8.7 (ruby-2.0.0).
|
111
|
+
0.8.7.3 (ruby-2.0.0).
|
111
112
|
</div>
|
112
113
|
|
113
114
|
</body>
|
data/doc/frames.html
CHANGED
@@ -4,18 +4,16 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
-
<title>Documentation by YARD 0.8.7</title>
|
7
|
+
<title>Documentation by YARD 0.8.7.3</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
11
|
-
var match = window.location.hash.match(/^#!(.+)/);
|
12
|
-
var name = 'index.html';
|
13
|
-
|
14
|
-
name = unescape(match[1]);
|
15
|
-
}
|
11
|
+
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
12
|
+
var name = match ? match[1] : 'index.html';
|
13
|
+
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
|
16
14
|
document.writeln('<frameset cols="20%,*">' +
|
17
15
|
'<frame name="list" src="class_list.html" />' +
|
18
|
-
'<frame name="main" src="' + name + '" />' +
|
16
|
+
'<frame name="main" src="' + escape(name) + '" />' +
|
19
17
|
'</frameset>');
|
20
18
|
}
|
21
19
|
</script>
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -67,7 +67,8 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/lazier"><img src="https://coveralls.io/repos/ShogunPanda/lazier/badge.png" alt="Coverage Status" /></a
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/lazier"><img src="https://coveralls.io/repos/ShogunPanda/lazier/badge.png" alt="Coverage Status" /></a>
|
71
|
+
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/lazier/trend.png" alt="Bitdeli Trend" /></a></p>
|
71
72
|
|
72
73
|
<p>Several Ruby object enhancements.</p>
|
73
74
|
|
@@ -105,9 +106,9 @@ See documentation for more informations.</p>
|
|
105
106
|
</div></div>
|
106
107
|
|
107
108
|
<div id="footer">
|
108
|
-
Generated on Mon
|
109
|
+
Generated on Mon Dec 2 15:35:19 2013 by
|
109
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
|
-
0.8.7 (ruby-2.0.0).
|
111
|
+
0.8.7.3 (ruby-2.0.0).
|
111
112
|
</div>
|
112
113
|
|
113
114
|
</body>
|
data/doc/js/app.js
CHANGED
@@ -78,7 +78,12 @@ function framesInit() {
|
|
78
78
|
if (hasFrames) {
|
79
79
|
document.body.className = 'frames';
|
80
80
|
$('#menu .noframes a').attr('href', document.location);
|
81
|
-
|
81
|
+
try {
|
82
|
+
window.top.document.title = $('html head title').text();
|
83
|
+
} catch(error) {
|
84
|
+
// some browsers will not allow this when serving from file://
|
85
|
+
// but we don't want to stop the world.
|
86
|
+
}
|
82
87
|
}
|
83
88
|
else {
|
84
89
|
$('#menu .noframes a').text('frames').attr('href', framesUrl);
|
@@ -211,4 +216,4 @@ $(linkSummaries);
|
|
211
216
|
$(keyboardShortcuts);
|
212
217
|
$(summaryToggle);
|
213
218
|
$(fixOutsideWorldLinks);
|
214
|
-
$(generateTOC);
|
219
|
+
$(generateTOC);
|
data/doc/method_list.html
CHANGED
@@ -282,14 +282,14 @@
|
|
282
282
|
|
283
283
|
|
284
284
|
<li class="r2 ">
|
285
|
-
<span class='object_link'><a href="Lazier/
|
286
|
-
<small>Lazier::
|
285
|
+
<span class='object_link'><a href="Lazier/Settings.html#initialize-instance_method" title="Lazier::Settings#initialize (method)">#initialize</a></span>
|
286
|
+
<small>Lazier::Settings</small>
|
287
287
|
</li>
|
288
288
|
|
289
289
|
|
290
290
|
<li class="r1 ">
|
291
|
-
<span class='object_link'><a href="Lazier/
|
292
|
-
<small>Lazier::
|
291
|
+
<span class='object_link'><a href="Lazier/Localizer.html#initialize-instance_method" title="Lazier::Localizer#initialize (method)">#initialize</a></span>
|
292
|
+
<small>Lazier::Localizer</small>
|
293
293
|
</li>
|
294
294
|
|
295
295
|
|
@@ -372,101 +372,101 @@
|
|
372
372
|
|
373
373
|
|
374
374
|
<li class="r1 ">
|
375
|
-
<span class='object_link'><a href="Lazier.html#
|
375
|
+
<span class='object_link'><a href="Lazier.html#load_hash_method_access-class_method" title="Lazier.load_hash_method_access (method)">load_hash_method_access</a></span>
|
376
376
|
<small>Lazier</small>
|
377
377
|
</li>
|
378
378
|
|
379
379
|
|
380
380
|
<li class="r2 ">
|
381
|
-
<span class='object_link'><a href="Lazier.html#
|
381
|
+
<span class='object_link'><a href="Lazier.html#load_math-class_method" title="Lazier.load_math (method)">load_math</a></span>
|
382
382
|
<small>Lazier</small>
|
383
383
|
</li>
|
384
384
|
|
385
385
|
|
386
386
|
<li class="r1 ">
|
387
|
-
<span class='object_link'><a href="Lazier.html#
|
387
|
+
<span class='object_link'><a href="Lazier.html#load_object-class_method" title="Lazier.load_object (method)">load_object</a></span>
|
388
388
|
<small>Lazier</small>
|
389
389
|
</li>
|
390
390
|
|
391
391
|
|
392
392
|
<li class="r2 ">
|
393
|
-
<span class='object_link'><a href="Lazier.html#
|
393
|
+
<span class='object_link'><a href="Lazier.html#load_pathname-class_method" title="Lazier.load_pathname (method)">load_pathname</a></span>
|
394
394
|
<small>Lazier</small>
|
395
395
|
</li>
|
396
396
|
|
397
397
|
|
398
398
|
<li class="r1 ">
|
399
|
+
<span class='object_link'><a href="Lazier.html#load_string-class_method" title="Lazier.load_string (method)">load_string</a></span>
|
400
|
+
<small>Lazier</small>
|
401
|
+
</li>
|
402
|
+
|
403
|
+
|
404
|
+
<li class="r2 ">
|
399
405
|
<span class='object_link'><a href="Lazier/DateTime.html#local_lstrftime-instance_method" title="Lazier::DateTime#local_lstrftime (method)">#local_lstrftime</a></span>
|
400
406
|
<small>Lazier::DateTime</small>
|
401
407
|
</li>
|
402
408
|
|
403
409
|
|
404
|
-
<li class="
|
410
|
+
<li class="r1 ">
|
405
411
|
<span class='object_link'><a href="Lazier/DateTime.html#local_strftime-instance_method" title="Lazier::DateTime#local_strftime (method)">#local_strftime</a></span>
|
406
412
|
<small>Lazier::DateTime</small>
|
407
413
|
</li>
|
408
414
|
|
409
415
|
|
410
|
-
<li class="
|
416
|
+
<li class="r2 ">
|
411
417
|
<span class='object_link'><a href="Lazier/Localizer.html#localize-class_method" title="Lazier::Localizer.localize (method)">localize</a></span>
|
412
418
|
<small>Lazier::Localizer</small>
|
413
419
|
</li>
|
414
420
|
|
415
421
|
|
416
|
-
<li class="
|
422
|
+
<li class="r1 ">
|
417
423
|
<span class='object_link'><a href="Lazier/Localizer.html#localize_on_locale-class_method" title="Lazier::Localizer.localize_on_locale (method)">localize_on_locale</a></span>
|
418
424
|
<small>Lazier::Localizer</small>
|
419
425
|
</li>
|
420
426
|
|
421
427
|
|
422
|
-
<li class="
|
428
|
+
<li class="r2 ">
|
423
429
|
<span class='object_link'><a href="Lazier/DateTime.html#lstrftime-instance_method" title="Lazier::DateTime#lstrftime (method)">#lstrftime</a></span>
|
424
430
|
<small>Lazier::DateTime</small>
|
425
431
|
</li>
|
426
432
|
|
427
433
|
|
428
|
-
<li class="
|
434
|
+
<li class="r1 ">
|
429
435
|
<span class='object_link'><a href="Lazier/Math/ClassMethods.html#max-instance_method" title="Lazier::Math::ClassMethods#max (method)">#max</a></span>
|
430
436
|
<small>Lazier::Math::ClassMethods</small>
|
431
437
|
</li>
|
432
438
|
|
433
439
|
|
434
|
-
<li class="
|
440
|
+
<li class="r2 ">
|
435
441
|
<span class='object_link'><a href="Lazier/Math/ClassMethods.html#min-instance_method" title="Lazier::Math::ClassMethods#min (method)">#min</a></span>
|
436
442
|
<small>Lazier::Math::ClassMethods</small>
|
437
443
|
</li>
|
438
444
|
|
439
445
|
|
440
|
-
<li class="
|
446
|
+
<li class="r1 ">
|
441
447
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#months-instance_method" title="Lazier::DateTime::ClassMethods#months (method)">#months</a></span>
|
442
448
|
<small>Lazier::DateTime::ClassMethods</small>
|
443
449
|
</li>
|
444
450
|
|
445
451
|
|
446
|
-
<li class="
|
452
|
+
<li class="r2 ">
|
447
453
|
<span class='object_link'><a href="Lazier/Object.html#normalize_number-instance_method" title="Lazier::Object#normalize_number (method)">#normalize_number</a></span>
|
448
454
|
<small>Lazier::Object</small>
|
449
455
|
</li>
|
450
456
|
|
451
457
|
|
452
|
-
<li class="
|
458
|
+
<li class="r1 ">
|
453
459
|
<span class='object_link'><a href="Lazier/TimeZone.html#offset-instance_method" title="Lazier::TimeZone#offset (method)">#offset</a></span>
|
454
460
|
<small>Lazier::TimeZone</small>
|
455
461
|
</li>
|
456
462
|
|
457
463
|
|
458
|
-
<li class="
|
464
|
+
<li class="r2 ">
|
459
465
|
<span class='object_link'><a href="Lazier/DateTime.html#padded_month-instance_method" title="Lazier::DateTime#padded_month (method)">#padded_month</a></span>
|
460
466
|
<small>Lazier::DateTime</small>
|
461
467
|
</li>
|
462
468
|
|
463
469
|
|
464
|
-
<li class="r2 ">
|
465
|
-
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#parameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
466
|
-
<small>Lazier::DateTime::ClassMethods</small>
|
467
|
-
</li>
|
468
|
-
|
469
|
-
|
470
470
|
<li class="r1 ">
|
471
471
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#parameterize_zone-instance_method" title="Lazier::TimeZone::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
472
472
|
<small>Lazier::TimeZone::ClassMethods</small>
|
@@ -474,174 +474,180 @@
|
|
474
474
|
|
475
475
|
|
476
476
|
<li class="r2 ">
|
477
|
+
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#parameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#parameterize_zone (method)">#parameterize_zone</a></span>
|
478
|
+
<small>Lazier::DateTime::ClassMethods</small>
|
479
|
+
</li>
|
480
|
+
|
481
|
+
|
482
|
+
<li class="r1 ">
|
477
483
|
<span class='object_link'><a href="Lazier/Configuration.html#property-class_method" title="Lazier::Configuration.property (method)">property</a></span>
|
478
484
|
<small>Lazier::Configuration</small>
|
479
485
|
</li>
|
480
486
|
|
481
487
|
|
482
|
-
<li class="
|
488
|
+
<li class="r2 ">
|
483
489
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#rationalize_offset-instance_method" title="Lazier::DateTime::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
484
490
|
<small>Lazier::DateTime::ClassMethods</small>
|
485
491
|
</li>
|
486
492
|
|
487
493
|
|
488
|
-
<li class="
|
494
|
+
<li class="r1 ">
|
489
495
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#rationalize_offset-instance_method" title="Lazier::TimeZone::ClassMethods#rationalize_offset (method)">#rationalize_offset</a></span>
|
490
496
|
<small>Lazier::TimeZone::ClassMethods</small>
|
491
497
|
</li>
|
492
498
|
|
493
499
|
|
494
|
-
<li class="
|
500
|
+
<li class="r2 ">
|
495
501
|
<span class='object_link'><a href="Lazier/String.html#remove_accents-instance_method" title="Lazier::String#remove_accents (method)">#remove_accents</a></span>
|
496
502
|
<small>Lazier::String</small>
|
497
503
|
</li>
|
498
504
|
|
499
505
|
|
500
|
-
<li class="
|
506
|
+
<li class="r1 ">
|
501
507
|
<span class='object_link'><a href="Lazier/String.html#replace_ampersands-instance_method" title="Lazier::String#replace_ampersands (method)">#replace_ampersands</a></span>
|
502
508
|
<small>Lazier::String</small>
|
503
509
|
</li>
|
504
510
|
|
505
511
|
|
506
|
-
<li class="
|
512
|
+
<li class="r2 ">
|
507
513
|
<span class='object_link'><a href="Lazier/Object.html#round_to_precision-instance_method" title="Lazier::Object#round_to_precision (method)">#round_to_precision</a></span>
|
508
514
|
<small>Lazier::Object</small>
|
509
515
|
</li>
|
510
516
|
|
511
517
|
|
512
|
-
<li class="
|
518
|
+
<li class="r1 ">
|
513
519
|
<span class='object_link'><a href="Lazier.html#settings-class_method" title="Lazier.settings (method)">settings</a></span>
|
514
520
|
<small>Lazier</small>
|
515
521
|
</li>
|
516
522
|
|
517
523
|
|
518
|
-
<li class="
|
524
|
+
<li class="r2 ">
|
519
525
|
<span class='object_link'><a href="Lazier/Settings.html#setup-instance_method" title="Lazier::Settings#setup (method)">#setup</a></span>
|
520
526
|
<small>Lazier::Settings</small>
|
521
527
|
</li>
|
522
528
|
|
523
529
|
|
524
|
-
<li class="
|
530
|
+
<li class="r1 ">
|
525
531
|
<span class='object_link'><a href="Lazier/Settings.html#setup_boolean_names-instance_method" title="Lazier::Settings#setup_boolean_names (method)">#setup_boolean_names</a></span>
|
526
532
|
<small>Lazier::Settings</small>
|
527
533
|
</li>
|
528
534
|
|
529
535
|
|
530
|
-
<li class="
|
536
|
+
<li class="r2 ">
|
531
537
|
<span class='object_link'><a href="Lazier/Settings.html#setup_date_formats-instance_method" title="Lazier::Settings#setup_date_formats (method)">#setup_date_formats</a></span>
|
532
538
|
<small>Lazier::Settings</small>
|
533
539
|
</li>
|
534
540
|
|
535
541
|
|
536
|
-
<li class="
|
542
|
+
<li class="r1 ">
|
537
543
|
<span class='object_link'><a href="Lazier/Settings.html#setup_date_names-instance_method" title="Lazier::Settings#setup_date_names (method)">#setup_date_names</a></span>
|
538
544
|
<small>Lazier::Settings</small>
|
539
545
|
</li>
|
540
546
|
|
541
547
|
|
542
|
-
<li class="
|
548
|
+
<li class="r2 ">
|
543
549
|
<span class='object_link'><a href="Lazier/Settings.html#setup_format_number-instance_method" title="Lazier::Settings#setup_format_number (method)">#setup_format_number</a></span>
|
544
550
|
<small>Lazier::Settings</small>
|
545
551
|
</li>
|
546
552
|
|
547
553
|
|
548
|
-
<li class="
|
554
|
+
<li class="r1 ">
|
549
555
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#timezones-instance_method" title="Lazier::DateTime::ClassMethods#timezones (method)">#timezones</a></span>
|
550
556
|
<small>Lazier::DateTime::ClassMethods</small>
|
551
557
|
</li>
|
552
558
|
|
553
559
|
|
554
|
-
<li class="
|
560
|
+
<li class="r2 ">
|
555
561
|
<span class='object_link'><a href="Lazier/Object.html#to_boolean-instance_method" title="Lazier::Object#to_boolean (method)">#to_boolean</a></span>
|
556
562
|
<small>Lazier::Object</small>
|
557
563
|
</li>
|
558
564
|
|
559
565
|
|
560
|
-
<li class="
|
566
|
+
<li class="r1 ">
|
561
567
|
<span class='object_link'><a href="Lazier/Object.html#to_float-instance_method" title="Lazier::Object#to_float (method)">#to_float</a></span>
|
562
568
|
<small>Lazier::Object</small>
|
563
569
|
</li>
|
564
570
|
|
565
571
|
|
566
|
-
<li class="
|
572
|
+
<li class="r2 ">
|
567
573
|
<span class='object_link'><a href="Lazier/Boolean.html#to_i-instance_method" title="Lazier::Boolean#to_i (method)">#to_i</a></span>
|
568
574
|
<small>Lazier::Boolean</small>
|
569
575
|
</li>
|
570
576
|
|
571
577
|
|
572
|
-
<li class="
|
578
|
+
<li class="r1 ">
|
573
579
|
<span class='object_link'><a href="Lazier/Object.html#to_integer-instance_method" title="Lazier::Object#to_integer (method)">#to_integer</a></span>
|
574
580
|
<small>Lazier::Object</small>
|
575
581
|
</li>
|
576
582
|
|
577
583
|
|
578
|
-
<li class="
|
584
|
+
<li class="r2 ">
|
579
585
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str-instance_method" title="Lazier::TimeZone#to_str (method)">#to_str</a></span>
|
580
586
|
<small>Lazier::TimeZone</small>
|
581
587
|
</li>
|
582
588
|
|
583
589
|
|
584
|
-
<li class="
|
590
|
+
<li class="r1 ">
|
585
591
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_parameterized-instance_method" title="Lazier::TimeZone#to_str_parameterized (method)">#to_str_parameterized</a></span>
|
586
592
|
<small>Lazier::TimeZone</small>
|
587
593
|
</li>
|
588
594
|
|
589
595
|
|
590
|
-
<li class="
|
596
|
+
<li class="r2 ">
|
591
597
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_with_dst-instance_method" title="Lazier::TimeZone#to_str_with_dst (method)">#to_str_with_dst</a></span>
|
592
598
|
<small>Lazier::TimeZone</small>
|
593
599
|
</li>
|
594
600
|
|
595
601
|
|
596
|
-
<li class="
|
602
|
+
<li class="r1 ">
|
597
603
|
<span class='object_link'><a href="Lazier/TimeZone.html#to_str_with_dst_parameterized-instance_method" title="Lazier::TimeZone#to_str_with_dst_parameterized (method)">#to_str_with_dst_parameterized</a></span>
|
598
604
|
<small>Lazier::TimeZone</small>
|
599
605
|
</li>
|
600
606
|
|
601
607
|
|
602
|
-
<li class="
|
608
|
+
<li class="r2 ">
|
603
609
|
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html#unparameterize_zone-instance_method" title="Lazier::TimeZone::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
604
610
|
<small>Lazier::TimeZone::ClassMethods</small>
|
605
611
|
</li>
|
606
612
|
|
607
613
|
|
608
|
-
<li class="
|
614
|
+
<li class="r1 ">
|
609
615
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#unparameterize_zone-instance_method" title="Lazier::DateTime::ClassMethods#unparameterize_zone (method)">#unparameterize_zone</a></span>
|
610
616
|
<small>Lazier::DateTime::ClassMethods</small>
|
611
617
|
</li>
|
612
618
|
|
613
619
|
|
614
|
-
<li class="
|
620
|
+
<li class="r2 ">
|
615
621
|
<span class='object_link'><a href="Lazier/String.html#untitleize-instance_method" title="Lazier::String#untitleize (method)">#untitleize</a></span>
|
616
622
|
<small>Lazier::String</small>
|
617
623
|
</li>
|
618
624
|
|
619
625
|
|
620
|
-
<li class="
|
626
|
+
<li class="r1 ">
|
621
627
|
<span class='object_link'><a href="Lazier/TimeZone.html#uses_dst%3F-instance_method" title="Lazier::TimeZone#uses_dst? (method)">#uses_dst?</a></span>
|
622
628
|
<small>Lazier::TimeZone</small>
|
623
629
|
</li>
|
624
630
|
|
625
631
|
|
626
|
-
<li class="
|
632
|
+
<li class="r2 ">
|
627
633
|
<span class='object_link'><a href="Lazier/DateTime.html#utc_time-instance_method" title="Lazier::DateTime#utc_time (method)">#utc_time</a></span>
|
628
634
|
<small>Lazier::DateTime</small>
|
629
635
|
</li>
|
630
636
|
|
631
637
|
|
632
|
-
<li class="
|
638
|
+
<li class="r1 ">
|
633
639
|
<span class='object_link'><a href="Lazier/String.html#value-instance_method" title="Lazier::String#value (method)">#value</a></span>
|
634
640
|
<small>Lazier::String</small>
|
635
641
|
</li>
|
636
642
|
|
637
643
|
|
638
|
-
<li class="
|
644
|
+
<li class="r2 ">
|
639
645
|
<span class='object_link'><a href="Lazier/Boolean.html#value-instance_method" title="Lazier::Boolean#value (method)">#value</a></span>
|
640
646
|
<small>Lazier::Boolean</small>
|
641
647
|
</li>
|
642
648
|
|
643
649
|
|
644
|
-
<li class="
|
650
|
+
<li class="r1 ">
|
645
651
|
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html#years-instance_method" title="Lazier::DateTime::ClassMethods#years (method)">#years</a></span>
|
646
652
|
<small>Lazier::DateTime::ClassMethods</small>
|
647
653
|
</li>
|