ae_easy-test 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,105 +0,0 @@
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
- Module: AeEasy::Core::Modk
8
-
9
- &mdash; Documentation by YARD 0.9.19
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "AeEasy::Core::Modk";
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 (M)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="AeEasy::Core (module)">Core</a></span></span>
41
- &raquo;
42
- <span class="title">Modk</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>Module: AeEasy::Core::Modk
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/ae_easy_override/core/mock.rb</dd>
82
- </dl>
83
-
84
- </div>
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- </div>
96
-
97
- <div id="footer">
98
- Generated on Thu Apr 25 19:39:30 2019 by
99
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
100
- 0.9.19 (ruby-2.5.3).
101
- </div>
102
-
103
- </div>
104
- </body>
105
- </html>
@@ -1,117 +0,0 @@
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
- Module: AeEasy::Core::Plugin
8
-
9
- &mdash; Documentation by YARD 0.9.19
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "AeEasy::Core::Plugin";
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 (P)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="AeEasy::Core (module)">Core</a></span></span>
41
- &raquo;
42
- <span class="title">Plugin</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>Module: AeEasy::Core::Plugin
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/ae_easy_override/core/plugin.rb<span class="defines">,<br />
82
- lib/ae_easy_override/core/plugin/executor_behavior.rb</span>
83
- </dd>
84
- </dl>
85
-
86
- </div>
87
-
88
- <h2>Defined Under Namespace</h2>
89
- <p class="children">
90
-
91
-
92
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Plugin/ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span>
93
-
94
-
95
-
96
-
97
- </p>
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- </div>
108
-
109
- <div id="footer">
110
- Generated on Thu Apr 25 19:39:30 2019 by
111
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
- 0.9.19 (ruby-2.5.3).
113
- </div>
114
-
115
- </div>
116
- </body>
117
- </html>
@@ -1,196 +0,0 @@
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
- Module: AeEasy::Core::Plugin::ExecutorBehavior
8
-
9
- &mdash; Documentation by YARD 0.9.19
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "AeEasy::Core::Plugin::ExecutorBehavior";
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> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Plugin.html" title="AeEasy::Core::Plugin (module)">Plugin</a></span></span>
41
- &raquo;
42
- <span class="title">ExecutorBehavior</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>Module: AeEasy::Core::Plugin::ExecutorBehavior
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/ae_easy_override/core/plugin/executor_behavior.rb</dd>
82
- </dl>
83
-
84
- </div>
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
- <h2>
95
- Instance Method Summary
96
- <small><a href="#" class="summary_toggle">collapse</a></small>
97
- </h2>
98
-
99
- <ul class="summary">
100
-
101
- <li class="public ">
102
- <span class="summary_signature">
103
-
104
- <a href="#test_mode%3F-instance_method" title="#test_mode? (instance method)">#<strong>test_mode?</strong> &#x21d2; Boolean </a>
105
-
106
-
107
-
108
- </span>
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
- <span class="summary_desc"><div class='inline'></div></span>
119
-
120
- </li>
121
-
122
-
123
- </ul>
124
-
125
-
126
-
127
-
128
- <div id="instance_method_details" class="method_details_list">
129
- <h2>Instance Method Details</h2>
130
-
131
-
132
- <div class="method_details first">
133
- <h3 class="signature first" id="test_mode?-instance_method">
134
-
135
- #<strong>test_mode?</strong> &#x21d2; <tt>Boolean</tt>
136
-
137
-
138
-
139
-
140
-
141
- </h3><div class="docstring">
142
- <div class="discussion">
143
-
144
-
145
- </div>
146
- </div>
147
- <div class="tags">
148
-
149
- <p class="tag_title">Returns:</p>
150
- <ul class="return">
151
-
152
- <li>
153
-
154
-
155
- <span class='type'>(<tt>Boolean</tt>)</span>
156
-
157
-
158
-
159
- </li>
160
-
161
- </ul>
162
-
163
- </div><table class="source_code">
164
- <tr>
165
- <td>
166
- <pre class="lines">
167
-
168
-
169
- 5
170
- 6
171
- 7</pre>
172
- </td>
173
- <td>
174
- <pre class="code"><span class="info file"># File 'lib/ae_easy_override/core/plugin/executor_behavior.rb', line 5</span>
175
-
176
- <span class='kw'>def</span> <span class='id identifier rubyid_test_mode?'>test_mode?</span>
177
- <span class='const'><span class='object_link'><a href="../../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Test.html" title="AeEasy::Test (module)">Test</a></span></span><span class='period'>.</span><span class='id identifier rubyid_test_mode?'><span class='object_link'><a href="../../Test.html#test_mode%3F-class_method" title="AeEasy::Test.test_mode? (method)">test_mode?</a></span></span>
178
- <span class='kw'>end</span></pre>
179
- </td>
180
- </tr>
181
- </table>
182
- </div>
183
-
184
- </div>
185
-
186
- </div>
187
-
188
- <div id="footer">
189
- Generated on Thu Apr 25 19:39:31 2019 by
190
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
191
- 0.9.19 (ruby-2.5.3).
192
- </div>
193
-
194
- </div>
195
- </body>
196
- </html>
@@ -1,616 +0,0 @@
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
- Module: AeEasy::Test
8
-
9
- &mdash; Documentation by YARD 0.9.19
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "AeEasy::Test";
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 (T)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span>
41
- &raquo;
42
- <span class="title">Test</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>Module: AeEasy::Test
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/ae_easy/test.rb<span class="defines">,<br />
82
- lib/ae_easy/test/rake.rb,<br /> lib/ae_easy/test/helper.rb,<br /> lib/ae_easy/test/version.rb</span>
83
- </dd>
84
- </dl>
85
-
86
- </div>
87
-
88
- <h2>Defined Under Namespace</h2>
89
- <p class="children">
90
-
91
-
92
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Test/Helper.html" title="AeEasy::Test::Helper (module)">Helper</a></span>
93
-
94
-
95
-
96
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Test/RecordTask.html" title="AeEasy::Test::RecordTask (class)">RecordTask</a></span>
97
-
98
-
99
- </p>
100
-
101
-
102
- <h2>
103
- Constant Summary
104
- <small><a href="#" class="constants_summary_toggle">collapse</a></small>
105
- </h2>
106
-
107
- <dl class="constants">
108
-
109
- <dt id="VERSION-constant" class="">VERSION =
110
- <div class="docstring">
111
- <div class="discussion">
112
-
113
- <p>Gem version</p>
114
-
115
-
116
- </div>
117
- </div>
118
- <div class="tags">
119
-
120
-
121
- </div>
122
- </dt>
123
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.0.3</span><span class='tstring_end'>&quot;</span></span></pre></dd>
124
-
125
- </dl>
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
- <h2>
136
- Class Method Summary
137
- <small><a href="#" class="summary_toggle">collapse</a></small>
138
- </h2>
139
-
140
- <ul class="summary">
141
-
142
- <li class="public ">
143
- <span class="summary_signature">
144
-
145
- <a href="#disable_test_mode-class_method" title="disable_test_mode (class method)">.<strong>disable_test_mode</strong> &#x21d2; Object </a>
146
-
147
-
148
-
149
- </span>
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
- <span class="summary_desc"><div class='inline'>
160
- <p>Disable test mode inside executors.</p>
161
- </div></span>
162
-
163
- </li>
164
-
165
-
166
- <li class="public ">
167
- <span class="summary_signature">
168
-
169
- <a href="#enable_test_mode-class_method" title="enable_test_mode (class method)">.<strong>enable_test_mode</strong> &#x21d2; Object </a>
170
-
171
-
172
-
173
- </span>
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- <span class="summary_desc"><div class='inline'>
184
- <p>Enable test mode inside executors.</p>
185
- </div></span>
186
-
187
- </li>
188
-
189
-
190
- <li class="public ">
191
- <span class="summary_signature">
192
-
193
- <a href="#test_mode%3F-class_method" title="test_mode? (class method)">.<strong>test_mode?</strong> &#x21d2; Boolean </a>
194
-
195
-
196
-
197
- </span>
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
- <span class="summary_desc"><div class='inline'>
208
- <p>Check if test mode is enabled inside executors.</p>
209
- </div></span>
210
-
211
- </li>
212
-
213
-
214
- <li class="public ">
215
- <span class="summary_signature">
216
-
217
- <a href="#verbose_log-class_method" title="verbose_log (class method)">.<strong>verbose_log</strong>(message, data = nil, log_caller = nil) &#x21d2; Object </a>
218
-
219
-
220
-
221
- </span>
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
- <span class="summary_desc"><div class='inline'>
232
- <p>Verbose data log within caller backtrace.</p>
233
- </div></span>
234
-
235
- </li>
236
-
237
-
238
- <li class="public ">
239
- <span class="summary_signature">
240
-
241
- <a href="#verbose_match_diff-class_method" title="verbose_match_diff (class method)">.<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) &#x21d2; Object </a>
242
-
243
-
244
-
245
- </span>
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
- <span class="summary_desc"><div class='inline'>
256
- <p>Verbose a match diff.</p>
257
- </div></span>
258
-
259
- </li>
260
-
261
-
262
- </ul>
263
-
264
-
265
-
266
-
267
- <div id="class_method_details" class="method_details_list">
268
- <h2>Class Method Details</h2>
269
-
270
-
271
- <div class="method_details first">
272
- <h3 class="signature first" id="disable_test_mode-class_method">
273
-
274
- .<strong>disable_test_mode</strong> &#x21d2; <tt>Object</tt>
275
-
276
-
277
-
278
-
279
-
280
- </h3><div class="docstring">
281
- <div class="discussion">
282
-
283
- <p>Disable test mode inside executors.</p>
284
-
285
-
286
- </div>
287
- </div>
288
- <div class="tags">
289
-
290
-
291
- </div><table class="source_code">
292
- <tr>
293
- <td>
294
- <pre class="lines">
295
-
296
-
297
- 16
298
- 17
299
- 18</pre>
300
- </td>
301
- <td>
302
- <pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 16</span>
303
-
304
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disable_test_mode'>disable_test_mode</span>
305
- <span class='cvar'>@@test_mode</span> <span class='op'>=</span> <span class='kw'>false</span>
306
- <span class='kw'>end</span></pre>
307
- </td>
308
- </tr>
309
- </table>
310
- </div>
311
-
312
- <div class="method_details ">
313
- <h3 class="signature " id="enable_test_mode-class_method">
314
-
315
- .<strong>enable_test_mode</strong> &#x21d2; <tt>Object</tt>
316
-
317
-
318
-
319
-
320
-
321
- </h3><div class="docstring">
322
- <div class="discussion">
323
-
324
- <p>Enable test mode inside executors.</p>
325
-
326
-
327
- </div>
328
- </div>
329
- <div class="tags">
330
-
331
-
332
- </div><table class="source_code">
333
- <tr>
334
- <td>
335
- <pre class="lines">
336
-
337
-
338
- 11
339
- 12
340
- 13</pre>
341
- </td>
342
- <td>
343
- <pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 11</span>
344
-
345
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_enable_test_mode'>enable_test_mode</span>
346
- <span class='cvar'>@@test_mode</span> <span class='op'>=</span> <span class='kw'>true</span>
347
- <span class='kw'>end</span></pre>
348
- </td>
349
- </tr>
350
- </table>
351
- </div>
352
-
353
- <div class="method_details ">
354
- <h3 class="signature " id="test_mode?-class_method">
355
-
356
- .<strong>test_mode?</strong> &#x21d2; <tt>Boolean</tt>
357
-
358
-
359
-
360
-
361
-
362
- </h3><div class="docstring">
363
- <div class="discussion">
364
-
365
- <p>Check if test mode is enabled inside executors.</p>
366
-
367
-
368
- </div>
369
- </div>
370
- <div class="tags">
371
-
372
- <p class="tag_title">Returns:</p>
373
- <ul class="return">
374
-
375
- <li>
376
-
377
-
378
- <span class='type'>(<tt>Boolean</tt>)</span>
379
-
380
-
381
-
382
- &mdash;
383
- <div class='inline'>
384
- <p>`true` when test mode enabled, else `false`.</p>
385
- </div>
386
-
387
- </li>
388
-
389
- </ul>
390
-
391
- </div><table class="source_code">
392
- <tr>
393
- <td>
394
- <pre class="lines">
395
-
396
-
397
- 23
398
- 24
399
- 25</pre>
400
- </td>
401
- <td>
402
- <pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 23</span>
403
-
404
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_test_mode?'>test_mode?</span>
405
- <span class='cvar'>@@test_mode</span> <span class='op'>||=</span> <span class='kw'>false</span>
406
- <span class='kw'>end</span></pre>
407
- </td>
408
- </tr>
409
- </table>
410
- </div>
411
-
412
- <div class="method_details ">
413
- <h3 class="signature " id="verbose_log-class_method">
414
-
415
- .<strong>verbose_log</strong>(message, data = nil, log_caller = nil) &#x21d2; <tt>Object</tt>
416
-
417
-
418
-
419
-
420
-
421
- </h3><div class="docstring">
422
- <div class="discussion">
423
-
424
- <p>Verbose data log within caller backtrace.</p>
425
-
426
-
427
- </div>
428
- </div>
429
- <div class="tags">
430
- <p class="tag_title">Parameters:</p>
431
- <ul class="param">
432
-
433
- <li>
434
-
435
- <span class='name'>message</span>
436
-
437
-
438
- <span class='type'>(<tt>String</tt>)</span>
439
-
440
-
441
-
442
- &mdash;
443
- <div class='inline'>
444
- <p>Message to display.</p>
445
- </div>
446
-
447
- </li>
448
-
449
- <li>
450
-
451
- <span class='name'>data</span>
452
-
453
-
454
- <span class='type'>(<tt>Object</tt>, <tt>nil</tt>)</span>
455
-
456
-
457
- <em class="default">(defaults to: <tt>nil</tt>)</em>
458
-
459
-
460
- &mdash;
461
- <div class='inline'>
462
- <p>(nil) Data to inspect.</p>
463
- </div>
464
-
465
- </li>
466
-
467
- <li>
468
-
469
- <span class='name'>log_caller</span>
470
-
471
-
472
- <span class='type'>(<tt>Array</tt>)</span>
473
-
474
-
475
- <em class="default">(defaults to: <tt>nil</tt>)</em>
476
-
477
-
478
- &mdash;
479
- <div class='inline'>
480
- <p>(nil) Log caller. Defaults to method caller.</p>
481
- </div>
482
-
483
- </li>
484
-
485
- </ul>
486
-
487
-
488
- </div><table class="source_code">
489
- <tr>
490
- <td>
491
- <pre class="lines">
492
-
493
-
494
- 32
495
- 33
496
- 34
497
- 35
498
- 36
499
- 37</pre>
500
- </td>
501
- <td>
502
- <pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 32</span>
503
-
504
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_verbose_log'>verbose_log</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span> <span class='op'>=</span> <span class='kw'>nil</span>
505
- <span class='id identifier rubyid_log_caller'>log_caller</span> <span class='op'>||=</span> <span class='id identifier rubyid_caller'>caller</span>
506
- <span class='id identifier rubyid_caller_infos'>caller_infos</span> <span class='op'>=</span> <span class='id identifier rubyid_log_caller'>log_caller</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>:</span><span class='tstring_end'>&quot;</span></span>
507
- <span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nil</span><span class='tstring_end'>&#39;</span></span> <span class='op'>:</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_pretty_generate'>pretty_generate</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
508
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_caller_infos'>caller_infos</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_caller_infos'>caller_infos</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'> - </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_text'>text</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n\n</span><span class='tstring_end'>&quot;</span></span>
509
- <span class='kw'>end</span></pre>
510
- </td>
511
- </tr>
512
- </table>
513
- </div>
514
-
515
- <div class="method_details ">
516
- <h3 class="signature " id="verbose_match_diff-class_method">
517
-
518
- .<strong>verbose_match_diff</strong>(type, diff, log_caller = nil) &#x21d2; <tt>Object</tt>
519
-
520
-
521
-
522
-
523
-
524
- </h3><div class="docstring">
525
- <div class="discussion">
526
-
527
- <p>Verbose a match diff.</p>
528
-
529
-
530
- </div>
531
- </div>
532
- <div class="tags">
533
- <p class="tag_title">Parameters:</p>
534
- <ul class="param">
535
-
536
- <li>
537
-
538
- <span class='name'>diff</span>
539
-
540
-
541
- <span class='type'>(<tt>Hash</tt>)</span>
542
-
543
-
544
-
545
- &mdash;
546
- <div class='inline'>
547
- <p>Match diff to verbose.</p>
548
- </div>
549
-
550
- </li>
551
-
552
- <li>
553
-
554
- <span class='name'>log_caller</span>
555
-
556
-
557
- <span class='type'>(<tt>Array</tt>)</span>
558
-
559
-
560
- <em class="default">(defaults to: <tt>nil</tt>)</em>
561
-
562
-
563
- &mdash;
564
- <div class='inline'>
565
- <p>(nil) Log caller. Defaults to method caller.</p>
566
- </div>
567
-
568
- </li>
569
-
570
- </ul>
571
-
572
-
573
- </div><table class="source_code">
574
- <tr>
575
- <td>
576
- <pre class="lines">
577
-
578
-
579
- 43
580
- 44
581
- 45
582
- 46
583
- 47
584
- 48
585
- 49
586
- 50</pre>
587
- </td>
588
- <td>
589
- <pre class="code"><span class="info file"># File 'lib/ae_easy/test.rb', line 43</span>
590
-
591
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_verbose_match_diff'>verbose_match_diff</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_diff'>diff</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span> <span class='op'>=</span> <span class='kw'>nil</span>
592
- <span class='kw'>unless</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:saved</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:saved</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='op'>&lt;</span> <span class='int'>1</span>
593
- <span class='id identifier rubyid_verbose_log'>verbose_log</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Non matching saved </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:saved</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span>
594
- <span class='kw'>end</span>
595
- <span class='kw'>unless</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='op'>&lt;</span> <span class='int'>1</span>
596
- <span class='id identifier rubyid_verbose_log'>verbose_log</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Non matching expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_diff'>diff</span><span class='lbracket'>[</span><span class='symbol'>:expected</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_log_caller'>log_caller</span>
597
- <span class='kw'>end</span>
598
- <span class='kw'>end</span></pre>
599
- </td>
600
- </tr>
601
- </table>
602
- </div>
603
-
604
- </div>
605
-
606
- </div>
607
-
608
- <div id="footer">
609
- Generated on Thu Apr 25 19:39:30 2019 by
610
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
611
- 0.9.19 (ruby-2.5.3).
612
- </div>
613
-
614
- </div>
615
- </body>
616
- </html>