enhanced_errors 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +4 -4
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/doc/{Colors.html → Enhanced/Colors.html} +28 -28
- data/doc/Enhanced/Integrations/RSpecErrorFailureMessage.html +182 -0
- data/doc/Enhanced/Integrations.html +115 -0
- data/doc/{Binding.html → Enhanced.html} +26 -39
- data/doc/EnhancedErrors.html +998 -1332
- data/doc/Exception.html +251 -0
- data/doc/_index.html +28 -17
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +116 -37
- data/doc/index.html +116 -37
- data/doc/method_list.html +83 -27
- data/doc/top-level-namespace.html +9 -26
- data/enhanced_errors.gemspec +1 -1
- data/lib/enhanced_errors.rb +28 -14
- metadata +7 -9
- data/doc/Debugging.html +0 -181
- data/doc/ErrorEnhancements.html +0 -258
- data/doc/images/enhance.png +0 -0
- data/doc/images/enhanced-error.png +0 -0
- data/doc/images/enhanced-spec.png +0 -0
data/doc/Exception.html
ADDED
@@ -0,0 +1,251 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Exception: Exception
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.37
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Exception";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index (E)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Exception</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
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>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Exception: Exception
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/enhanced/exception.rb</dd>
|
82
|
+
</dl>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<h2>Overview</h2><div class="docstring">
|
87
|
+
<div class="discussion">
|
88
|
+
|
89
|
+
<p>exception.rb</p>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
<div class="tags">
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<h2>
|
106
|
+
Instance Method Summary
|
107
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
|
+
</h2>
|
109
|
+
|
110
|
+
<ul class="summary">
|
111
|
+
|
112
|
+
<li class="public ">
|
113
|
+
<span class="summary_signature">
|
114
|
+
|
115
|
+
<a href="#binding_infos-instance_method" title="#binding_infos (instance method)">#<strong>binding_infos</strong> ⇒ Object </a>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</span>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
130
|
+
|
131
|
+
</li>
|
132
|
+
|
133
|
+
|
134
|
+
<li class="public ">
|
135
|
+
<span class="summary_signature">
|
136
|
+
|
137
|
+
<a href="#captured_variables-instance_method" title="#captured_variables (instance method)">#<strong>captured_variables</strong> ⇒ Object </a>
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
</span>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
|
156
|
+
</ul>
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
<div id="instance_method_details" class="method_details_list">
|
162
|
+
<h2>Instance Method Details</h2>
|
163
|
+
|
164
|
+
|
165
|
+
<div class="method_details first">
|
166
|
+
<h3 class="signature first" id="binding_infos-instance_method">
|
167
|
+
|
168
|
+
#<strong>binding_infos</strong> ⇒ <tt>Object</tt>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
</h3><table class="source_code">
|
175
|
+
<tr>
|
176
|
+
<td>
|
177
|
+
<pre class="lines">
|
178
|
+
|
179
|
+
|
180
|
+
15
|
181
|
+
16
|
182
|
+
17</pre>
|
183
|
+
</td>
|
184
|
+
<td>
|
185
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced/exception.rb', line 15</span>
|
186
|
+
|
187
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_binding_infos'>binding_infos</span>
|
188
|
+
<span class='ivar'>@binding_infos</span> <span class='op'>||=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
189
|
+
<span class='kw'>end</span></pre>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
</table>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
<div class="method_details ">
|
196
|
+
<h3 class="signature " id="captured_variables-instance_method">
|
197
|
+
|
198
|
+
#<strong>captured_variables</strong> ⇒ <tt>Object</tt>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
</h3><table class="source_code">
|
205
|
+
<tr>
|
206
|
+
<td>
|
207
|
+
<pre class="lines">
|
208
|
+
|
209
|
+
|
210
|
+
4
|
211
|
+
5
|
212
|
+
6
|
213
|
+
7
|
214
|
+
8
|
215
|
+
9
|
216
|
+
10
|
217
|
+
11
|
218
|
+
12
|
219
|
+
13</pre>
|
220
|
+
</td>
|
221
|
+
<td>
|
222
|
+
<pre class="code"><span class="info file"># File 'lib/enhanced/exception.rb', line 4</span>
|
223
|
+
|
224
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_captured_variables'>captured_variables</span>
|
225
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_binding_infos'>binding_infos</span><span class='period'>.</span><span class='id identifier rubyid_any?'>any?</span>
|
226
|
+
<span class='id identifier rubyid_bindings_of_interest'>bindings_of_interest</span> <span class='op'>=</span> <span class='id identifier rubyid_select_binding_infos'>select_binding_infos</span>
|
227
|
+
<span class='const'><span class='object_link'><a href="EnhancedErrors.html" title="EnhancedErrors (class)">EnhancedErrors</a></span></span><span class='period'>.</span><span class='id identifier rubyid_format'><span class='object_link'><a href="EnhancedErrors.html#format-class_method" title="EnhancedErrors.format (method)">format</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_bindings_of_interest'>bindings_of_interest</span><span class='rparen'>)</span>
|
228
|
+
<span class='kw'>else</span>
|
229
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
230
|
+
<span class='kw'>end</span>
|
231
|
+
<span class='kw'>rescue</span>
|
232
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
233
|
+
<span class='kw'>end</span></pre>
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
</table>
|
237
|
+
</div>
|
238
|
+
|
239
|
+
</div>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div id="footer">
|
244
|
+
Generated on Mon Dec 9 19:51:26 2024 by
|
245
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
246
|
+
0.9.37 (ruby-3.1.3).
|
247
|
+
</div>
|
248
|
+
|
249
|
+
</div>
|
250
|
+
</body>
|
251
|
+
</html>
|
data/doc/_index.html
CHANGED
@@ -76,12 +76,14 @@
|
|
76
76
|
<td valign='top' width="33%">
|
77
77
|
|
78
78
|
|
79
|
-
<ul id="
|
80
|
-
<li class="letter">
|
79
|
+
<ul id="alpha_C" class="alpha">
|
80
|
+
<li class="letter">C</li>
|
81
81
|
<ul>
|
82
82
|
|
83
83
|
<li>
|
84
|
-
<span class='object_link'><a href="
|
84
|
+
<span class='object_link'><a href="Enhanced/Colors.html" title="Enhanced::Colors (class)">Colors</a></span>
|
85
|
+
|
86
|
+
<small>(Enhanced)</small>
|
85
87
|
|
86
88
|
</li>
|
87
89
|
|
@@ -89,12 +91,22 @@
|
|
89
91
|
</ul>
|
90
92
|
|
91
93
|
|
92
|
-
<ul id="
|
93
|
-
<li class="letter">
|
94
|
+
<ul id="alpha_E" class="alpha">
|
95
|
+
<li class="letter">E</li>
|
94
96
|
<ul>
|
95
97
|
|
96
98
|
<li>
|
97
|
-
<span class='object_link'><a href="
|
99
|
+
<span class='object_link'><a href="Enhanced.html" title="Enhanced (module)">Enhanced</a></span>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
<li>
|
104
|
+
<span class='object_link'><a href="EnhancedErrors.html" title="EnhancedErrors (class)">EnhancedErrors</a></span>
|
105
|
+
|
106
|
+
</li>
|
107
|
+
|
108
|
+
<li>
|
109
|
+
<span class='object_link'><a href="Exception.html" title="Exception (class)">Exception</a></span>
|
98
110
|
|
99
111
|
</li>
|
100
112
|
|
@@ -102,12 +114,14 @@
|
|
102
114
|
</ul>
|
103
115
|
|
104
116
|
|
105
|
-
<ul id="
|
106
|
-
<li class="letter">
|
117
|
+
<ul id="alpha_I" class="alpha">
|
118
|
+
<li class="letter">I</li>
|
107
119
|
<ul>
|
108
120
|
|
109
121
|
<li>
|
110
|
-
<span class='object_link'><a href="
|
122
|
+
<span class='object_link'><a href="Enhanced/Integrations.html" title="Enhanced::Integrations (module)">Integrations</a></span>
|
123
|
+
|
124
|
+
<small>(Enhanced)</small>
|
111
125
|
|
112
126
|
</li>
|
113
127
|
|
@@ -115,17 +129,14 @@
|
|
115
129
|
</ul>
|
116
130
|
|
117
131
|
|
118
|
-
<ul id="
|
119
|
-
<li class="letter">
|
132
|
+
<ul id="alpha_R" class="alpha">
|
133
|
+
<li class="letter">R</li>
|
120
134
|
<ul>
|
121
135
|
|
122
136
|
<li>
|
123
|
-
<span class='object_link'><a href="
|
137
|
+
<span class='object_link'><a href="Enhanced/Integrations/RSpecErrorFailureMessage.html" title="Enhanced::Integrations::RSpecErrorFailureMessage (module)">RSpecErrorFailureMessage</a></span>
|
124
138
|
|
125
|
-
|
126
|
-
|
127
|
-
<li>
|
128
|
-
<span class='object_link'><a href="ErrorEnhancements.html" title="ErrorEnhancements (module)">ErrorEnhancements</a></span>
|
139
|
+
<small>(Enhanced::Integrations)</small>
|
129
140
|
|
130
141
|
</li>
|
131
142
|
|
@@ -141,7 +152,7 @@
|
|
141
152
|
</div>
|
142
153
|
|
143
154
|
<div id="footer">
|
144
|
-
Generated on
|
155
|
+
Generated on Mon Dec 9 19:51:26 2024 by
|
145
156
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
146
157
|
0.9.37 (ruby-3.1.3).
|
147
158
|
</div>
|
data/doc/class_list.html
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
<ul id="full_list" class="class">
|
48
48
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
49
|
-
<li id='
|
49
|
+
<li id='object_Enhanced' class='even'><div class='item' style='padding-left:30px'><a tabindex='0' class='toggle' role='button' aria-label='Enhanced child nodes' aria-expanded='false' aria-controls='object_Enhanced'></a> <span class='object_link'><a href="Enhanced.html" title="Enhanced (module)">Enhanced</a></span><small class='search_info'>Top Level Namespace</small></div><div aria-labelledby='object_Enhanced'><ul><li id='object_Enhanced::Colors' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Enhanced/Colors.html" title="Enhanced::Colors (class)">Colors</a></span> < Object<small class='search_info'>Enhanced</small></div></li><li id='object_Enhanced::Integrations' class='collapsed even'><div class='item' style='padding-left:45px'><a tabindex='0' class='toggle' role='button' aria-label='Integrations child nodes' aria-expanded='false' aria-controls='object_Enhanced::Integrations'></a> <span class='object_link'><a href="Enhanced/Integrations.html" title="Enhanced::Integrations (module)">Integrations</a></span><small class='search_info'>Enhanced</small></div><div aria-labelledby='object_Enhanced::Integrations'><ul><li id='object_Enhanced::Integrations::RSpecErrorFailureMessage' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Enhanced/Integrations/RSpecErrorFailureMessage.html" title="Enhanced::Integrations::RSpecErrorFailureMessage (module)">RSpecErrorFailureMessage</a></span><small class='search_info'>Enhanced::Integrations</small></div></li></ul></div></li></ul></div></li><li id='object_EnhancedErrors' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="EnhancedErrors.html" title="EnhancedErrors (class)">EnhancedErrors</a></span> < Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Exception' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Exception.html" title="Exception (class)">Exception</a></span><small class='search_info'>Top Level Namespace</small></div></li>
|
50
50
|
|
51
51
|
</ul>
|
52
52
|
</div>
|