lazier 4.2.1 → 4.2.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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -1
- data/.travis-gemfile +4 -5
- data/.travis.yml +5 -3
- data/.yardopts +1 -1
- data/Gemfile +6 -6
- data/README.md +7 -5
- data/{doc → docs}/Lazier.html +83 -83
- data/{doc → docs}/Lazier/Boolean.html +49 -46
- data/{doc → docs}/Lazier/Configuration.html +51 -48
- data/{doc → docs}/Lazier/DateTime.html +51 -48
- data/{doc → docs}/Lazier/DateTime/ClassMethods.html +52 -50
- data/{doc → docs}/Lazier/Exceptions.html +39 -37
- data/{doc → docs}/Lazier/Exceptions/Debug.html +45 -42
- data/{doc → docs}/Lazier/Exceptions/MissingTranslation.html +48 -45
- data/{doc → docs}/Lazier/Exceptions/TranslationExceptionHandler.html +48 -45
- data/{doc → docs}/Lazier/Hash.html +61 -60
- data/{doc → docs}/Lazier/I18n.html +72 -72
- data/{doc → docs}/Lazier/Math.html +44 -41
- data/{doc → docs}/Lazier/Math/ClassMethods.html +44 -42
- data/{doc → docs}/Lazier/Object.html +106 -105
- data/{doc → docs}/Lazier/Pathname.html +47 -44
- data/{doc → docs}/Lazier/Settings.html +72 -69
- data/{doc → docs}/Lazier/String.html +55 -52
- data/{doc → docs}/Lazier/TimeZone.html +78 -77
- data/{doc → docs}/Lazier/TimeZone/ClassMethods.html +54 -52
- data/docs/Lazier/Version.html +189 -0
- data/{doc → docs}/_index.html +29 -30
- data/docs/class_list.html +51 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +32 -31
- data/{doc → docs}/css/style.css +220 -78
- data/{doc → docs}/file.README.html +35 -34
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/{doc → docs}/index.html +35 -34
- data/{doc → docs}/js/app.js +100 -76
- data/docs/js/full_list.js +216 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/docs/method_list.html +883 -0
- data/docs/top-level-namespace.html +112 -0
- data/lazier.gemspec +5 -5
- data/lib/lazier/version.rb +1 -1
- metadata +42 -43
- data/doc/Lazier/Version.html +0 -189
- data/doc/class_list.html +0 -58
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/js/full_list.js +0 -181
- data/doc/method_list.html +0 -681
- data/doc/top-level-namespace.html +0 -112
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Math::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Lazier::Math::ClassMethods";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Lazier/Math/ClassMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,63 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Lazier.html" title="Lazier (module)">Lazier</a></span></span> » <span class='title'><span class='object_link'><a href="../Math.html" title="Lazier::Math (module)">Math</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ClassMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Module: Lazier::Math::ClassMethods
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
71
|
|
72
|
-
<dl class="box">
|
73
72
|
|
74
73
|
|
75
|
-
|
76
74
|
|
77
|
-
|
78
75
|
|
79
76
|
|
77
|
+
|
78
|
+
|
79
|
+
|
80
80
|
|
81
|
-
|
82
|
-
<
|
81
|
+
<dl>
|
82
|
+
<dt>Defined in:</dt>
|
83
|
+
<dd>lib/lazier/math.rb</dd>
|
84
|
+
</dl>
|
83
85
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
86
|
+
</div>
|
86
87
|
|
87
88
|
<h2>Overview</h2><div class="docstring">
|
88
89
|
<div class="discussion">
|
@@ -104,7 +105,7 @@
|
|
104
105
|
|
105
106
|
<h2>
|
106
107
|
Instance Method Summary
|
107
|
-
<small
|
108
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
109
|
</h2>
|
109
110
|
|
110
111
|
<ul class="summary">
|
@@ -112,7 +113,7 @@
|
|
112
113
|
<li class="public ">
|
113
114
|
<span class="summary_signature">
|
114
115
|
|
115
|
-
<a href="#max-instance_method" title="#max (instance method)"
|
116
|
+
<a href="#max-instance_method" title="#max (instance method)">#<strong>max</strong>(*args) ⇒ Object </a>
|
116
117
|
|
117
118
|
|
118
119
|
|
@@ -135,7 +136,7 @@
|
|
135
136
|
<li class="public ">
|
136
137
|
<span class="summary_signature">
|
137
138
|
|
138
|
-
<a href="#min-instance_method" title="#min (instance method)"
|
139
|
+
<a href="#min-instance_method" title="#min (instance method)">#<strong>min</strong>(*args) ⇒ Object </a>
|
139
140
|
|
140
141
|
|
141
142
|
|
@@ -167,7 +168,7 @@
|
|
167
168
|
<div class="method_details first">
|
168
169
|
<h3 class="signature first" id="max-instance_method">
|
169
170
|
|
170
|
-
|
171
|
+
#<strong>max</strong>(*args) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Lazier::Object (module)">Object</a></span></tt>
|
171
172
|
|
172
173
|
|
173
174
|
|
@@ -243,7 +244,7 @@
|
|
243
244
|
<div class="method_details ">
|
244
245
|
<h3 class="signature " id="min-instance_method">
|
245
246
|
|
246
|
-
|
247
|
+
#<strong>min</strong>(*args) ⇒ <tt><span class='object_link'><a href="../Object.html" title="Lazier::Object (module)">Object</a></span></tt>
|
247
248
|
|
248
249
|
|
249
250
|
|
@@ -320,11 +321,12 @@
|
|
320
321
|
|
321
322
|
</div>
|
322
323
|
|
323
|
-
|
324
|
-
Generated on
|
324
|
+
<div id="footer">
|
325
|
+
Generated on Thu Nov 10 11:39:23 2016 by
|
325
326
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
326
|
-
0.
|
327
|
+
0.9.5 (ruby-2.3.0).
|
327
328
|
</div>
|
328
329
|
|
330
|
+
</div>
|
329
331
|
</body>
|
330
332
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Lazier::Object
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Lazier::Object";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Lazier/Object.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,65 +27,68 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (O)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Lazier.html" title="Lazier (module)">Lazier</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Object</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Module: Lazier::Object
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
71
|
|
72
|
-
<dl class="box">
|
73
72
|
|
74
73
|
|
75
|
-
|
76
|
-
<dt
|
77
|
-
<dd
|
78
|
-
|
79
|
-
|
74
|
+
<dl>
|
75
|
+
<dt>Extended by:</dt>
|
76
|
+
<dd>ActiveSupport::Concern</dd>
|
77
|
+
</dl>
|
78
|
+
|
79
|
+
|
80
80
|
|
81
|
-
|
82
81
|
|
82
|
+
|
83
83
|
|
84
|
+
|
84
85
|
|
85
|
-
|
86
|
-
<
|
86
|
+
<dl>
|
87
|
+
<dt>Defined in:</dt>
|
88
|
+
<dd>lib/lazier/object.rb</dd>
|
89
|
+
</dl>
|
87
90
|
|
88
|
-
</
|
89
|
-
<div class="clear"></div>
|
91
|
+
</div>
|
90
92
|
|
91
93
|
<h2>Overview</h2><div class="docstring">
|
92
94
|
<div class="discussion">
|
@@ -100,11 +102,10 @@
|
|
100
102
|
|
101
103
|
</div>
|
102
104
|
<h2>Constant Summary</h2>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<
|
107
|
-
<div class="docstring">
|
105
|
+
<dl class="constants">
|
106
|
+
|
107
|
+
<dt id="BOOLEAN_MATCHER-constant" class="">BOOLEAN_MATCHER =
|
108
|
+
<div class="docstring">
|
108
109
|
<div class="discussion">
|
109
110
|
<p>Expression to match a boolean value.</p>
|
110
111
|
|
@@ -115,11 +116,11 @@
|
|
115
116
|
|
116
117
|
|
117
118
|
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
119
|
+
</dt>
|
120
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(\s*(1|0|true|false|yes|no|t|f|y|n)\s*)$</span><span class='regexp_end'>/i</span></span></pre></dd>
|
121
|
+
|
122
|
+
<dt id="BOOLEAN_TRUE_MATCHER-constant" class="">BOOLEAN_TRUE_MATCHER =
|
123
|
+
<div class="docstring">
|
123
124
|
<div class="discussion">
|
124
125
|
<p>Expression to match a true value.</p>
|
125
126
|
|
@@ -130,11 +131,11 @@
|
|
130
131
|
|
131
132
|
|
132
133
|
</div>
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
134
|
+
</dt>
|
135
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(\s*(1|true|yes|t|y)\s*)$</span><span class='regexp_end'>/i</span></span></pre></dd>
|
136
|
+
|
137
|
+
<dt id="INTEGER_MATCHER-constant" class="">INTEGER_MATCHER =
|
138
|
+
<div class="docstring">
|
138
139
|
<div class="discussion">
|
139
140
|
<p>Expression to match a integer value.</p>
|
140
141
|
|
@@ -145,11 +146,11 @@
|
|
145
146
|
|
146
147
|
|
147
148
|
</div>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
149
|
+
</dt>
|
150
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^([+-]?)(\d+)$</span><span class='regexp_end'>/</span></span></pre></dd>
|
151
|
+
|
152
|
+
<dt id="FLOAT_MATCHER-constant" class="">FLOAT_MATCHER =
|
153
|
+
<div class="docstring">
|
153
154
|
<div class="discussion">
|
154
155
|
<p>Expression to match a float value.</p>
|
155
156
|
|
@@ -160,11 +161,10 @@
|
|
160
161
|
|
161
162
|
|
162
163
|
</div>
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
164
|
+
</dt>
|
165
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^([+-]?)(\d+)([.,]\d+)?$</span><span class='regexp_end'>/</span></span></pre></dd>
|
166
|
+
|
167
|
+
</dl>
|
168
168
|
|
169
169
|
|
170
170
|
|
@@ -175,7 +175,7 @@
|
|
175
175
|
|
176
176
|
<h2>
|
177
177
|
Instance Method Summary
|
178
|
-
<small
|
178
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
179
179
|
</h2>
|
180
180
|
|
181
181
|
<ul class="summary">
|
@@ -183,7 +183,7 @@
|
|
183
183
|
<li class="public ">
|
184
184
|
<span class="summary_signature">
|
185
185
|
|
186
|
-
<a href="#boolean%3F-instance_method" title="#boolean? (instance method)"
|
186
|
+
<a href="#boolean%3F-instance_method" title="#boolean? (instance method)">#<strong>boolean?</strong> ⇒ Boolean </a>
|
187
187
|
|
188
188
|
|
189
189
|
|
@@ -206,7 +206,7 @@
|
|
206
206
|
<li class="public ">
|
207
207
|
<span class="summary_signature">
|
208
208
|
|
209
|
-
<a href="#ensure-instance_method" title="#ensure (instance method)"
|
209
|
+
<a href="#ensure-instance_method" title="#ensure (instance method)">#<strong>ensure</strong>(default, verifier = :blank?) ⇒ String </a>
|
210
210
|
|
211
211
|
|
212
212
|
|
@@ -229,7 +229,7 @@
|
|
229
229
|
<li class="public ">
|
230
230
|
<span class="summary_signature">
|
231
231
|
|
232
|
-
<a href="#ensure_array-instance_method" title="#ensure_array (instance method)"
|
232
|
+
<a href="#ensure_array-instance_method" title="#ensure_array (instance method)">#<strong>ensure_array</strong>(default: nil, no_duplicates: false, compact: false, flatten: false, sanitizer: nil, &block) ⇒ Array </a>
|
233
233
|
|
234
234
|
|
235
235
|
|
@@ -252,7 +252,7 @@
|
|
252
252
|
<li class="public ">
|
253
253
|
<span class="summary_signature">
|
254
254
|
|
255
|
-
<a href="#ensure_hash-instance_method" title="#ensure_hash (instance method)"
|
255
|
+
<a href="#ensure_hash-instance_method" title="#ensure_hash (instance method)">#<strong>ensure_hash</strong>(accesses: nil, default: {}, sanitizer: nil, &block) ⇒ Hash </a>
|
256
256
|
|
257
257
|
|
258
258
|
|
@@ -275,7 +275,7 @@
|
|
275
275
|
<li class="public ">
|
276
276
|
<span class="summary_signature">
|
277
277
|
|
278
|
-
<a href="#ensure_string-instance_method" title="#ensure_string (instance method)"
|
278
|
+
<a href="#ensure_string-instance_method" title="#ensure_string (instance method)">#<strong>ensure_string</strong>(default = "", conversion_method = :to_s) ⇒ String </a>
|
279
279
|
|
280
280
|
|
281
281
|
|
@@ -298,7 +298,7 @@
|
|
298
298
|
<li class="public ">
|
299
299
|
<span class="summary_signature">
|
300
300
|
|
301
|
-
<a href="#float%3F-instance_method" title="#float? (instance method)"
|
301
|
+
<a href="#float%3F-instance_method" title="#float? (instance method)">#<strong>float?</strong> ⇒ Boolean </a>
|
302
302
|
|
303
303
|
|
304
304
|
|
@@ -321,7 +321,7 @@
|
|
321
321
|
<li class="public ">
|
322
322
|
<span class="summary_signature">
|
323
323
|
|
324
|
-
<a href="#format_boolean-instance_method" title="#format_boolean (instance method)"
|
324
|
+
<a href="#format_boolean-instance_method" title="#format_boolean (instance method)">#<strong>format_boolean</strong>(true_name: nil, false_name: nil) ⇒ String </a>
|
325
325
|
|
326
326
|
|
327
327
|
|
@@ -344,7 +344,7 @@
|
|
344
344
|
<li class="public ">
|
345
345
|
<span class="summary_signature">
|
346
346
|
|
347
|
-
<a href="#format_number-instance_method" title="#format_number (instance method)"
|
347
|
+
<a href="#format_number-instance_method" title="#format_number (instance method)">#<strong>format_number</strong>(precision: nil, decimal_separator: nil, add_string: nil, k_separator: nil) ⇒ String|NilClass </a>
|
348
348
|
|
349
349
|
|
350
350
|
|
@@ -367,7 +367,7 @@
|
|
367
367
|
<li class="public ">
|
368
368
|
<span class="summary_signature">
|
369
369
|
|
370
|
-
<a href="#indexize-instance_method" title="#indexize (instance method)"
|
370
|
+
<a href="#indexize-instance_method" title="#indexize (instance method)">#<strong>indexize</strong>(length: 2, filler: "0", formatter: :rjust) ⇒ String </a>
|
371
371
|
|
372
372
|
|
373
373
|
|
@@ -390,7 +390,7 @@
|
|
390
390
|
<li class="public ">
|
391
391
|
<span class="summary_signature">
|
392
392
|
|
393
|
-
<a href="#integer%3F-instance_method" title="#integer? (instance method)"
|
393
|
+
<a href="#integer%3F-instance_method" title="#integer? (instance method)">#<strong>integer?</strong> ⇒ Boolean </a>
|
394
394
|
|
395
395
|
|
396
396
|
|
@@ -413,7 +413,7 @@
|
|
413
413
|
<li class="public ">
|
414
414
|
<span class="summary_signature">
|
415
415
|
|
416
|
-
<a href="#normalize_number-instance_method" title="#normalize_number (instance method)"
|
416
|
+
<a href="#normalize_number-instance_method" title="#normalize_number (instance method)">#<strong>normalize_number</strong> ⇒ String </a>
|
417
417
|
|
418
418
|
|
419
419
|
|
@@ -436,7 +436,7 @@
|
|
436
436
|
<li class="public ">
|
437
437
|
<span class="summary_signature">
|
438
438
|
|
439
|
-
<a href="#number%3F-instance_method" title="#number? (instance method)"
|
439
|
+
<a href="#number%3F-instance_method" title="#number? (instance method)">#<strong>number?</strong>(klass = Integer, matcher = ::Lazier::Object::FLOAT_MATCHER) ⇒ Boolean </a>
|
440
440
|
|
441
441
|
|
442
442
|
|
@@ -459,7 +459,7 @@
|
|
459
459
|
<li class="public ">
|
460
460
|
<span class="summary_signature">
|
461
461
|
|
462
|
-
<a href="#round_to_precision-instance_method" title="#round_to_precision (instance method)"
|
462
|
+
<a href="#round_to_precision-instance_method" title="#round_to_precision (instance method)">#<strong>round_to_precision</strong>(precision = 2) ⇒ Float </a>
|
463
463
|
|
464
464
|
|
465
465
|
|
@@ -482,7 +482,7 @@
|
|
482
482
|
<li class="public ">
|
483
483
|
<span class="summary_signature">
|
484
484
|
|
485
|
-
<a href="#safe_send-instance_method" title="#safe_send (instance method)"
|
485
|
+
<a href="#safe_send-instance_method" title="#safe_send (instance method)">#<strong>safe_send</strong>(method, *args, &block) ⇒ Object|nil </a>
|
486
486
|
|
487
487
|
|
488
488
|
|
@@ -505,7 +505,7 @@
|
|
505
505
|
<li class="public ">
|
506
506
|
<span class="summary_signature">
|
507
507
|
|
508
|
-
<a href="#to_boolean-instance_method" title="#to_boolean (instance method)"
|
508
|
+
<a href="#to_boolean-instance_method" title="#to_boolean (instance method)">#<strong>to_boolean</strong> ⇒ Boolean </a>
|
509
509
|
|
510
510
|
|
511
511
|
|
@@ -528,7 +528,7 @@
|
|
528
528
|
<li class="public ">
|
529
529
|
<span class="summary_signature">
|
530
530
|
|
531
|
-
<a href="#to_debug-instance_method" title="#to_debug (instance method)"
|
531
|
+
<a href="#to_debug-instance_method" title="#to_debug (instance method)">#<strong>to_debug</strong>(format: :pretty_json, as_exception: true) ⇒ String </a>
|
532
532
|
|
533
533
|
|
534
534
|
|
@@ -551,7 +551,7 @@
|
|
551
551
|
<li class="public ">
|
552
552
|
<span class="summary_signature">
|
553
553
|
|
554
|
-
<a href="#to_float-instance_method" title="#to_float (instance method)"
|
554
|
+
<a href="#to_float-instance_method" title="#to_float (instance method)">#<strong>to_float</strong>(default = 0.0) ⇒ Float </a>
|
555
555
|
|
556
556
|
|
557
557
|
|
@@ -574,7 +574,7 @@
|
|
574
574
|
<li class="public ">
|
575
575
|
<span class="summary_signature">
|
576
576
|
|
577
|
-
<a href="#to_integer-instance_method" title="#to_integer (instance method)"
|
577
|
+
<a href="#to_integer-instance_method" title="#to_integer (instance method)">#<strong>to_integer</strong>(default = 0) ⇒ Fixnum </a>
|
578
578
|
|
579
579
|
|
580
580
|
|
@@ -597,7 +597,7 @@
|
|
597
597
|
<li class="public ">
|
598
598
|
<span class="summary_signature">
|
599
599
|
|
600
|
-
<a href="#to_pretty_json-instance_method" title="#to_pretty_json (instance method)"
|
600
|
+
<a href="#to_pretty_json-instance_method" title="#to_pretty_json (instance method)">#<strong>to_pretty_json</strong> ⇒ String </a>
|
601
601
|
|
602
602
|
|
603
603
|
|
@@ -630,7 +630,7 @@
|
|
630
630
|
<div class="method_details first">
|
631
631
|
<h3 class="signature first" id="boolean?-instance_method">
|
632
632
|
|
633
|
-
|
633
|
+
#<strong>boolean?</strong> ⇒ <tt><span class='object_link'><a href="Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span></tt>
|
634
634
|
|
635
635
|
|
636
636
|
|
@@ -687,7 +687,7 @@
|
|
687
687
|
<div class="method_details ">
|
688
688
|
<h3 class="signature " id="ensure-instance_method">
|
689
689
|
|
690
|
-
|
690
|
+
#<strong>ensure</strong>(default, verifier = :blank?) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
691
691
|
|
692
692
|
|
693
693
|
|
@@ -782,7 +782,7 @@
|
|
782
782
|
<div class="method_details ">
|
783
783
|
<h3 class="signature " id="ensure_array-instance_method">
|
784
784
|
|
785
|
-
|
785
|
+
#<strong>ensure_array</strong>(default: nil, no_duplicates: false, compact: false, flatten: false, sanitizer: nil, &block) ⇒ <tt>Array</tt>
|
786
786
|
|
787
787
|
|
788
788
|
|
@@ -949,7 +949,7 @@
|
|
949
949
|
<div class="method_details ">
|
950
950
|
<h3 class="signature " id="ensure_hash-instance_method">
|
951
951
|
|
952
|
-
|
952
|
+
#<strong>ensure_hash</strong>(accesses: nil, default: {}, sanitizer: nil, &block) ⇒ <tt><span class='object_link'><a href="Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>
|
953
953
|
|
954
954
|
|
955
955
|
|
@@ -1085,7 +1085,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1085
1085
|
<div class="method_details ">
|
1086
1086
|
<h3 class="signature " id="ensure_string-instance_method">
|
1087
1087
|
|
1088
|
-
|
1088
|
+
#<strong>ensure_string</strong>(default = "", conversion_method = :to_s) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
1089
1089
|
|
1090
1090
|
|
1091
1091
|
|
@@ -1188,7 +1188,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1188
1188
|
<div class="method_details ">
|
1189
1189
|
<h3 class="signature " id="float?-instance_method">
|
1190
1190
|
|
1191
|
-
|
1191
|
+
#<strong>float?</strong> ⇒ <tt><span class='object_link'><a href="Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span></tt>
|
1192
1192
|
|
1193
1193
|
|
1194
1194
|
|
@@ -1245,7 +1245,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1245
1245
|
<div class="method_details ">
|
1246
1246
|
<h3 class="signature " id="format_boolean-instance_method">
|
1247
1247
|
|
1248
|
-
|
1248
|
+
#<strong>format_boolean</strong>(true_name: nil, false_name: nil) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
1249
1249
|
|
1250
1250
|
|
1251
1251
|
|
@@ -1345,7 +1345,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1345
1345
|
<div class="method_details ">
|
1346
1346
|
<h3 class="signature " id="format_number-instance_method">
|
1347
1347
|
|
1348
|
-
|
1348
|
+
#<strong>format_number</strong>(precision: nil, decimal_separator: nil, add_string: nil, k_separator: nil) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|NilClass</tt>
|
1349
1349
|
|
1350
1350
|
|
1351
1351
|
|
@@ -1487,7 +1487,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1487
1487
|
<div class="method_details ">
|
1488
1488
|
<h3 class="signature " id="indexize-instance_method">
|
1489
1489
|
|
1490
|
-
|
1490
|
+
#<strong>indexize</strong>(length: 2, filler: "0", formatter: :rjust) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
1491
1491
|
|
1492
1492
|
|
1493
1493
|
|
@@ -1596,7 +1596,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1596
1596
|
<div class="method_details ">
|
1597
1597
|
<h3 class="signature " id="integer?-instance_method">
|
1598
1598
|
|
1599
|
-
|
1599
|
+
#<strong>integer?</strong> ⇒ <tt><span class='object_link'><a href="Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span></tt>
|
1600
1600
|
|
1601
1601
|
|
1602
1602
|
|
@@ -1653,7 +1653,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1653
1653
|
<div class="method_details ">
|
1654
1654
|
<h3 class="signature " id="normalize_number-instance_method">
|
1655
1655
|
|
1656
|
-
|
1656
|
+
#<strong>normalize_number</strong> ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
1657
1657
|
|
1658
1658
|
|
1659
1659
|
|
@@ -1710,7 +1710,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1710
1710
|
<div class="method_details ">
|
1711
1711
|
<h3 class="signature " id="number?-instance_method">
|
1712
1712
|
|
1713
|
-
|
1713
|
+
#<strong>number?</strong>(klass = Integer, matcher = ::Lazier::Object::FLOAT_MATCHER) ⇒ <tt><span class='object_link'><a href="Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span></tt>
|
1714
1714
|
|
1715
1715
|
|
1716
1716
|
|
@@ -1767,7 +1767,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1767
1767
|
<div class="method_details ">
|
1768
1768
|
<h3 class="signature " id="round_to_precision-instance_method">
|
1769
1769
|
|
1770
|
-
|
1770
|
+
#<strong>round_to_precision</strong>(precision = 2) ⇒ <tt>Float</tt>
|
1771
1771
|
|
1772
1772
|
|
1773
1773
|
|
@@ -1845,7 +1845,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1845
1845
|
<div class="method_details ">
|
1846
1846
|
<h3 class="signature " id="safe_send-instance_method">
|
1847
1847
|
|
1848
|
-
|
1848
|
+
#<strong>safe_send</strong>(method, *args, &block) ⇒ <tt><span class='object_link'><a href="" title="Lazier::Object (module)">Object</a></span>|nil</tt>
|
1849
1849
|
|
1850
1850
|
|
1851
1851
|
|
@@ -1955,7 +1955,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
1955
1955
|
<div class="method_details ">
|
1956
1956
|
<h3 class="signature " id="to_boolean-instance_method">
|
1957
1957
|
|
1958
|
-
|
1958
|
+
#<strong>to_boolean</strong> ⇒ <tt><span class='object_link'><a href="Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span></tt>
|
1959
1959
|
|
1960
1960
|
|
1961
1961
|
|
@@ -2012,7 +2012,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2012
2012
|
<div class="method_details ">
|
2013
2013
|
<h3 class="signature " id="to_debug-instance_method">
|
2014
2014
|
|
2015
|
-
|
2015
|
+
#<strong>to_debug</strong>(format: :pretty_json, as_exception: true) ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
2016
2016
|
|
2017
2017
|
|
2018
2018
|
|
@@ -2105,7 +2105,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2105
2105
|
<div class="method_details ">
|
2106
2106
|
<h3 class="signature " id="to_float-instance_method">
|
2107
2107
|
|
2108
|
-
|
2108
|
+
#<strong>to_float</strong>(default = 0.0) ⇒ <tt>Float</tt>
|
2109
2109
|
|
2110
2110
|
|
2111
2111
|
|
@@ -2191,7 +2191,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2191
2191
|
<div class="method_details ">
|
2192
2192
|
<h3 class="signature " id="to_integer-instance_method">
|
2193
2193
|
|
2194
|
-
|
2194
|
+
#<strong>to_integer</strong>(default = 0) ⇒ <tt>Fixnum</tt>
|
2195
2195
|
|
2196
2196
|
|
2197
2197
|
|
@@ -2269,7 +2269,7 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2269
2269
|
<div class="method_details ">
|
2270
2270
|
<h3 class="signature " id="to_pretty_json-instance_method">
|
2271
2271
|
|
2272
|
-
|
2272
|
+
#<strong>to_pretty_json</strong> ⇒ <tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>
|
2273
2273
|
|
2274
2274
|
|
2275
2275
|
|
@@ -2327,11 +2327,12 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2327
2327
|
|
2328
2328
|
</div>
|
2329
2329
|
|
2330
|
-
|
2331
|
-
Generated on
|
2330
|
+
<div id="footer">
|
2331
|
+
Generated on Thu Nov 10 11:39:24 2016 by
|
2332
2332
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2333
|
-
0.
|
2333
|
+
0.9.5 (ruby-2.3.0).
|
2334
2334
|
</div>
|
2335
2335
|
|
2336
|
+
</div>
|
2336
2337
|
</body>
|
2337
2338
|
</html>
|