ae_easy-core 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/ae_easy-core.gemspec +2 -1
- data/doc/AeEasy/Core/Config.html +1 -1
- data/doc/AeEasy/Core/Exception/OutdatedError.html +1 -1
- data/doc/AeEasy/Core/Exception.html +1 -1
- data/doc/AeEasy/Core/Helper/Cookie.html +1 -1
- data/doc/AeEasy/Core/Helper.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeDb.html +1402 -449
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +898 -428
- data/doc/AeEasy/Core/Mock/FakeParser.html +9 -124
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +9 -118
- data/doc/AeEasy/Core/Mock.html +1 -1
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +1 -1
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +1 -1
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +1 -1
- data/doc/AeEasy/Core/Plugin/Parser.html +1 -1
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/Seeder.html +1 -1
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin.html +1 -1
- data/doc/AeEasy/Core/SmartCollection.html +1 -300
- data/doc/AeEasy/Core.html +32 -110
- data/doc/AeEasy.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +157 -117
- data/doc/top-level-namespace.html +1 -1
- data/lib/ae_easy/core/mock/fake_db.rb +216 -14
- data/lib/ae_easy/core/mock/fake_executor.rb +112 -7
- data/lib/ae_easy/core/version.rb +1 -1
- data/lib/ae_easy/core.rb +1 -0
- metadata +18 -5
- data/Gemfile.lock +0 -57
@@ -246,30 +246,6 @@
|
|
246
246
|
<p>Add/remplace an item avoiding duplicates.</p>
|
247
247
|
</div></span>
|
248
248
|
|
249
|
-
</li>
|
250
|
-
|
251
|
-
|
252
|
-
<li class="public ">
|
253
|
-
<span class="summary_signature">
|
254
|
-
|
255
|
-
<a href="#apply_defaults-instance_method" title="#apply_defaults (instance method)">#<strong>apply_defaults</strong>(item) ⇒ Hash </a>
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
</span>
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
<span class="summary_desc"><div class='inline'>
|
270
|
-
<p>Apply default values into item.</p>
|
271
|
-
</div></span>
|
272
|
-
|
273
249
|
</li>
|
274
250
|
|
275
251
|
|
@@ -294,54 +270,6 @@
|
|
294
270
|
<p>Add event binding by key and block.</p>
|
295
271
|
</div></span>
|
296
272
|
|
297
|
-
</li>
|
298
|
-
|
299
|
-
|
300
|
-
<li class="public ">
|
301
|
-
<span class="summary_signature">
|
302
|
-
|
303
|
-
<a href="#call_event-instance_method" title="#call_event (instance method)">#<strong>call_event</strong>(key, default = nil, *args) ⇒ Object </a>
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
</span>
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
<span class="summary_desc"><div class='inline'>
|
318
|
-
<p>Call an event.</p>
|
319
|
-
</div></span>
|
320
|
-
|
321
|
-
</li>
|
322
|
-
|
323
|
-
|
324
|
-
<li class="public ">
|
325
|
-
<span class="summary_signature">
|
326
|
-
|
327
|
-
<a href="#events-instance_method" title="#events (instance method)">#<strong>events</strong> ⇒ Object </a>
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
</span>
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
<span class="summary_desc"><div class='inline'>
|
342
|
-
<p>Asigned events.</p>
|
343
|
-
</div></span>
|
344
|
-
|
345
273
|
</li>
|
346
274
|
|
347
275
|
|
@@ -745,91 +673,6 @@
|
|
745
673
|
</td>
|
746
674
|
</tr>
|
747
675
|
</table>
|
748
|
-
</div>
|
749
|
-
|
750
|
-
<div class="method_details ">
|
751
|
-
<h3 class="signature " id="apply_defaults-instance_method">
|
752
|
-
|
753
|
-
#<strong>apply_defaults</strong>(item) ⇒ <tt>Hash</tt>
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
</h3><div class="docstring">
|
760
|
-
<div class="discussion">
|
761
|
-
|
762
|
-
<p>Apply default values into item.</p>
|
763
|
-
|
764
|
-
|
765
|
-
</div>
|
766
|
-
</div>
|
767
|
-
<div class="tags">
|
768
|
-
<p class="tag_title">Parameters:</p>
|
769
|
-
<ul class="param">
|
770
|
-
|
771
|
-
<li>
|
772
|
-
|
773
|
-
<span class='name'>item</span>
|
774
|
-
|
775
|
-
|
776
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
—
|
781
|
-
<div class='inline'>
|
782
|
-
<p>Item to apply defaults.</p>
|
783
|
-
</div>
|
784
|
-
|
785
|
-
</li>
|
786
|
-
|
787
|
-
</ul>
|
788
|
-
|
789
|
-
<p class="tag_title">Returns:</p>
|
790
|
-
<ul class="return">
|
791
|
-
|
792
|
-
<li>
|
793
|
-
|
794
|
-
|
795
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
—
|
800
|
-
<div class='inline'>
|
801
|
-
<p>Item</p>
|
802
|
-
</div>
|
803
|
-
|
804
|
-
</li>
|
805
|
-
|
806
|
-
</ul>
|
807
|
-
|
808
|
-
</div><table class="source_code">
|
809
|
-
<tr>
|
810
|
-
<td>
|
811
|
-
<pre class="lines">
|
812
|
-
|
813
|
-
|
814
|
-
203
|
815
|
-
204
|
816
|
-
205
|
817
|
-
206
|
818
|
-
207
|
819
|
-
208</pre>
|
820
|
-
</td>
|
821
|
-
<td>
|
822
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/smart_collection.rb', line 203</span>
|
823
|
-
|
824
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_apply_defaults'>apply_defaults</span> <span class='id identifier rubyid_item'>item</span>
|
825
|
-
<span class='id identifier rubyid_defaults'>defaults</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
826
|
-
<span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_item'>item</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
827
|
-
<span class='id identifier rubyid_item'>item</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='id identifier rubyid_value'>value</span>
|
828
|
-
<span class='kw'>end</span>
|
829
|
-
<span class='kw'>end</span></pre>
|
830
|
-
</td>
|
831
|
-
</tr>
|
832
|
-
</table>
|
833
676
|
</div>
|
834
677
|
|
835
678
|
<div class="method_details ">
|
@@ -1039,148 +882,6 @@ data
|
|
1039
882
|
</td>
|
1040
883
|
</tr>
|
1041
884
|
</table>
|
1042
|
-
</div>
|
1043
|
-
|
1044
|
-
<div class="method_details ">
|
1045
|
-
<h3 class="signature " id="call_event-instance_method">
|
1046
|
-
|
1047
|
-
#<strong>call_event</strong>(key, default = nil, *args) ⇒ <tt>Object</tt>
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
</h3><div class="docstring">
|
1054
|
-
<div class="discussion">
|
1055
|
-
|
1056
|
-
<p>Call an event</p>
|
1057
|
-
|
1058
|
-
|
1059
|
-
</div>
|
1060
|
-
</div>
|
1061
|
-
<div class="tags">
|
1062
|
-
<p class="tag_title">Parameters:</p>
|
1063
|
-
<ul class="param">
|
1064
|
-
|
1065
|
-
<li>
|
1066
|
-
|
1067
|
-
<span class='name'>key</span>
|
1068
|
-
|
1069
|
-
|
1070
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
—
|
1075
|
-
<div class='inline'>
|
1076
|
-
<p>Event name.</p>
|
1077
|
-
</div>
|
1078
|
-
|
1079
|
-
</li>
|
1080
|
-
|
1081
|
-
<li>
|
1082
|
-
|
1083
|
-
<span class='name'>default</span>
|
1084
|
-
|
1085
|
-
|
1086
|
-
<span class='type'></span>
|
1087
|
-
|
1088
|
-
|
1089
|
-
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1090
|
-
|
1091
|
-
|
1092
|
-
—
|
1093
|
-
<div class='inline'>
|
1094
|
-
<p>Detault return value when event's return nil.</p>
|
1095
|
-
</div>
|
1096
|
-
|
1097
|
-
</li>
|
1098
|
-
|
1099
|
-
<li>
|
1100
|
-
|
1101
|
-
<span class='name'>args</span>
|
1102
|
-
|
1103
|
-
|
1104
|
-
<span class='type'></span>
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
—
|
1109
|
-
<div class='inline'>
|
1110
|
-
<p>event arguments.</p>
|
1111
|
-
</div>
|
1112
|
-
|
1113
|
-
</li>
|
1114
|
-
|
1115
|
-
</ul>
|
1116
|
-
|
1117
|
-
|
1118
|
-
</div><table class="source_code">
|
1119
|
-
<tr>
|
1120
|
-
<td>
|
1121
|
-
<pre class="lines">
|
1122
|
-
|
1123
|
-
|
1124
|
-
174
|
1125
|
-
175
|
1126
|
-
176
|
1127
|
-
177
|
1128
|
-
178
|
1129
|
-
179</pre>
|
1130
|
-
</td>
|
1131
|
-
<td>
|
1132
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/smart_collection.rb', line 174</span>
|
1133
|
-
|
1134
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_call_event'>call_event</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_default'>default</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
|
1135
|
-
<span class='kw'>return</span> <span class='id identifier rubyid_default'>default</span> <span class='kw'>if</span> <span class='id identifier rubyid_events'>events</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1136
|
-
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1137
|
-
<span class='id identifier rubyid_events'>events</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_event'>event</span><span class='op'>|</span> <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_event'>event</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rbrace'>}</span>
|
1138
|
-
<span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='id identifier rubyid_default'>default</span> <span class='op'>:</span> <span class='id identifier rubyid_result'>result</span>
|
1139
|
-
<span class='kw'>end</span></pre>
|
1140
|
-
</td>
|
1141
|
-
</tr>
|
1142
|
-
</table>
|
1143
|
-
</div>
|
1144
|
-
|
1145
|
-
<div class="method_details ">
|
1146
|
-
<h3 class="signature " id="events-instance_method">
|
1147
|
-
|
1148
|
-
#<strong>events</strong> ⇒ <tt>Object</tt>
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
</h3><div class="docstring">
|
1155
|
-
<div class="discussion">
|
1156
|
-
|
1157
|
-
<p>Asigned events.</p>
|
1158
|
-
|
1159
|
-
|
1160
|
-
</div>
|
1161
|
-
</div>
|
1162
|
-
<div class="tags">
|
1163
|
-
|
1164
|
-
|
1165
|
-
</div><table class="source_code">
|
1166
|
-
<tr>
|
1167
|
-
<td>
|
1168
|
-
<pre class="lines">
|
1169
|
-
|
1170
|
-
|
1171
|
-
59
|
1172
|
-
60
|
1173
|
-
61</pre>
|
1174
|
-
</td>
|
1175
|
-
<td>
|
1176
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/smart_collection.rb', line 59</span>
|
1177
|
-
|
1178
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_events'>events</span>
|
1179
|
-
<span class='ivar'>@events</span> <span class='op'>||=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1180
|
-
<span class='kw'>end</span></pre>
|
1181
|
-
</td>
|
1182
|
-
</tr>
|
1183
|
-
</table>
|
1184
885
|
</div>
|
1185
886
|
|
1186
887
|
<div class="method_details ">
|
@@ -1376,7 +1077,7 @@ data
|
|
1376
1077
|
</div>
|
1377
1078
|
|
1378
1079
|
<div id="footer">
|
1379
|
-
Generated on Wed Feb
|
1080
|
+
Generated on Wed Feb 20 18:03:19 2019 by
|
1380
1081
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1381
1082
|
0.9.18 (ruby-2.5.3).
|
1382
1083
|
</div>
|
data/doc/AeEasy/Core.html
CHANGED
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
</div>
|
122
122
|
</dt>
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.5</span><span class='tstring_end'>"</span></span></pre></dd>
|
124
124
|
|
125
125
|
</dl>
|
126
126
|
|
@@ -280,30 +280,6 @@
|
|
280
280
|
<p>Expose an environment into an object instance as methods.</p>
|
281
281
|
</div></span>
|
282
282
|
|
283
|
-
</li>
|
284
|
-
|
285
|
-
|
286
|
-
<li class="public ">
|
287
|
-
<span class="summary_signature">
|
288
|
-
|
289
|
-
<a href="#gem_root-class_method" title="gem_root (class method)">.<strong>gem_root</strong> ⇒ String </a>
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
</span>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
<span class="summary_desc"><div class='inline'>
|
304
|
-
<p>Get AeEasy-core gem root directory path.</p>
|
305
|
-
</div></span>
|
306
|
-
|
307
283
|
</li>
|
308
284
|
|
309
285
|
|
@@ -523,15 +499,15 @@
|
|
523
499
|
<pre class="lines">
|
524
500
|
|
525
501
|
|
526
|
-
29
|
527
502
|
30
|
528
503
|
31
|
529
504
|
32
|
530
505
|
33
|
531
|
-
34
|
506
|
+
34
|
507
|
+
35</pre>
|
532
508
|
</td>
|
533
509
|
<td>
|
534
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
510
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 30</span>
|
535
511
|
|
536
512
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_scripts'>all_scripts</span> <span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
537
513
|
<span class='id identifier rubyid_excluded_files'>excluded_files</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:except</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span><span class='rbrace'>}</span>
|
@@ -651,17 +627,17 @@ present on `source`.</p>
|
|
651
627
|
<pre class="lines">
|
652
628
|
|
653
629
|
|
654
|
-
190
|
655
630
|
191
|
656
631
|
192
|
657
632
|
193
|
658
633
|
194
|
659
634
|
195
|
660
635
|
196
|
661
|
-
197
|
636
|
+
197
|
637
|
+
198</pre>
|
662
638
|
</td>
|
663
639
|
<td>
|
664
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
640
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 191</span>
|
665
641
|
|
666
642
|
<span class='kw'>def</span> <span class='id identifier rubyid_analyze_compatibility'>analyze_compatibility</span> <span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='id identifier rubyid_fragment'>fragment</span>
|
667
643
|
<span class='id identifier rubyid_intersection'>intersection</span> <span class='op'>=</span> <span class='id identifier rubyid_source'>source</span> <span class='op'>&</span> <span class='id identifier rubyid_fragment'>fragment</span>
|
@@ -758,17 +734,17 @@ present on `source`.</p>
|
|
758
734
|
<pre class="lines">
|
759
735
|
|
760
736
|
|
761
|
-
231
|
762
737
|
232
|
763
738
|
233
|
764
739
|
234
|
765
740
|
235
|
766
741
|
236
|
767
742
|
237
|
768
|
-
238
|
743
|
+
238
|
744
|
+
239</pre>
|
769
745
|
</td>
|
770
746
|
<td>
|
771
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
747
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 232</span>
|
772
748
|
|
773
749
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_clone'>deep_clone</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>false</span>
|
774
750
|
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -860,7 +836,6 @@ present on `source`.</p>
|
|
860
836
|
<pre class="lines">
|
861
837
|
|
862
838
|
|
863
|
-
205
|
864
839
|
206
|
865
840
|
207
|
866
841
|
208
|
@@ -869,10 +844,11 @@ present on `source`.</p>
|
|
869
844
|
211
|
870
845
|
212
|
871
846
|
213
|
872
|
-
214
|
847
|
+
214
|
848
|
+
215</pre>
|
873
849
|
</td>
|
874
850
|
<td>
|
875
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
851
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 206</span>
|
876
852
|
|
877
853
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>true</span>
|
878
854
|
<span class='id identifier rubyid_pair_collection'>pair_collection</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
|
@@ -948,12 +924,12 @@ present on `source`.</p>
|
|
948
924
|
<pre class="lines">
|
949
925
|
|
950
926
|
|
951
|
-
221
|
952
927
|
222
|
953
|
-
223
|
928
|
+
223
|
929
|
+
224</pre>
|
954
930
|
</td>
|
955
931
|
<td>
|
956
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
932
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 222</span>
|
957
933
|
|
958
934
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys!'>deep_stringify_keys!</span> <span class='id identifier rubyid_hash'>hash</span>
|
959
935
|
<span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='kw'>false</span>
|
@@ -1069,16 +1045,16 @@ present on `source`.</p>
|
|
1069
1045
|
<pre class="lines">
|
1070
1046
|
|
1071
1047
|
|
1072
|
-
91
|
1073
1048
|
92
|
1074
1049
|
93
|
1075
1050
|
94
|
1076
1051
|
95
|
1077
1052
|
96
|
1078
|
-
97
|
1053
|
+
97
|
1054
|
+
98</pre>
|
1079
1055
|
</td>
|
1080
1056
|
<td>
|
1081
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1057
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 92</span>
|
1082
1058
|
|
1083
1059
|
<span class='kw'>def</span> <span class='id identifier rubyid_expose_to'>expose_to</span> <span class='id identifier rubyid_object'>object</span><span class='comma'>,</span> <span class='id identifier rubyid_env'>env</span>
|
1084
1060
|
<span class='id identifier rubyid_metaclass'>metaclass</span> <span class='op'>=</span> <span class='kw'>class</span> <span class='op'><<</span> <span class='id identifier rubyid_object'>object</span><span class='semicolon'>;</span> <span class='kw'>self</span><span class='semicolon'>;</span> <span class='kw'>end</span>
|
@@ -1090,60 +1066,6 @@ present on `source`.</p>
|
|
1090
1066
|
</td>
|
1091
1067
|
</tr>
|
1092
1068
|
</table>
|
1093
|
-
</div>
|
1094
|
-
|
1095
|
-
<div class="method_details ">
|
1096
|
-
<h3 class="signature " id="gem_root-class_method">
|
1097
|
-
|
1098
|
-
.<strong>gem_root</strong> ⇒ <tt>String</tt>
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
</h3><div class="docstring">
|
1105
|
-
<div class="discussion">
|
1106
|
-
|
1107
|
-
<p>Get AeEasy-core gem root directory path.</p>
|
1108
|
-
|
1109
|
-
|
1110
|
-
</div>
|
1111
|
-
</div>
|
1112
|
-
<div class="tags">
|
1113
|
-
|
1114
|
-
<p class="tag_title">Returns:</p>
|
1115
|
-
<ul class="return">
|
1116
|
-
|
1117
|
-
<li>
|
1118
|
-
|
1119
|
-
|
1120
|
-
<span class='type'>(<tt>String</tt>)</span>
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
</li>
|
1125
|
-
|
1126
|
-
</ul>
|
1127
|
-
|
1128
|
-
</div><table class="source_code">
|
1129
|
-
<tr>
|
1130
|
-
<td>
|
1131
|
-
<pre class="lines">
|
1132
|
-
|
1133
|
-
|
1134
|
-
18
|
1135
|
-
19
|
1136
|
-
20</pre>
|
1137
|
-
</td>
|
1138
|
-
<td>
|
1139
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 18</span>
|
1140
|
-
|
1141
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_gem_root'>gem_root</span>
|
1142
|
-
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../..</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1143
|
-
<span class='kw'>end</span></pre>
|
1144
|
-
</td>
|
1145
|
-
</tr>
|
1146
|
-
</table>
|
1147
1069
|
</div>
|
1148
1070
|
|
1149
1071
|
<div class="method_details ">
|
@@ -1225,12 +1147,12 @@ present on `source`.</p>
|
|
1225
1147
|
<pre class="lines">
|
1226
1148
|
|
1227
1149
|
|
1228
|
-
119
|
1229
1150
|
120
|
1230
|
-
121
|
1151
|
+
121
|
1152
|
+
122</pre>
|
1231
1153
|
</td>
|
1232
1154
|
<td>
|
1233
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1155
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 120</span>
|
1234
1156
|
|
1235
1157
|
<span class='kw'>def</span> <span class='id identifier rubyid_instance_methods_from'>instance_methods_from</span> <span class='id identifier rubyid_object'>object</span>
|
1236
1158
|
<span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_methods'>methods</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span> <span class='op'>-</span> <span class='const'>Object</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_methods'>methods</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span>
|
@@ -1338,7 +1260,6 @@ present on `source`.</p>
|
|
1338
1260
|
<pre class="lines">
|
1339
1261
|
|
1340
1262
|
|
1341
|
-
158
|
1342
1263
|
159
|
1343
1264
|
160
|
1344
1265
|
161
|
@@ -1351,10 +1272,11 @@ present on `source`.</p>
|
|
1351
1272
|
168
|
1352
1273
|
169
|
1353
1274
|
170
|
1354
|
-
171
|
1275
|
+
171
|
1276
|
+
172</pre>
|
1355
1277
|
</td>
|
1356
1278
|
<td>
|
1357
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1279
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 159</span>
|
1358
1280
|
|
1359
1281
|
<span class='kw'>def</span> <span class='id identifier rubyid_mock_instance_methods'>mock_instance_methods</span> <span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
1360
1282
|
<span class='comment'># Get instance unique methods
|
@@ -1466,7 +1388,6 @@ present on `source`.</p>
|
|
1466
1388
|
<pre class="lines">
|
1467
1389
|
|
1468
1390
|
|
1469
|
-
41
|
1470
1391
|
42
|
1471
1392
|
43
|
1472
1393
|
44
|
@@ -1476,10 +1397,11 @@ present on `source`.</p>
|
|
1476
1397
|
48
|
1477
1398
|
49
|
1478
1399
|
50
|
1479
|
-
51
|
1400
|
+
51
|
1401
|
+
52</pre>
|
1480
1402
|
</td>
|
1481
1403
|
<td>
|
1482
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1404
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 42</span>
|
1483
1405
|
|
1484
1406
|
<span class='kw'>def</span> <span class='id identifier rubyid_require_all'>require_all</span> <span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1485
1407
|
<span class='id identifier rubyid_real_dir'>real_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -1588,14 +1510,14 @@ present on `source`.</p>
|
|
1588
1510
|
<pre class="lines">
|
1589
1511
|
|
1590
1512
|
|
1591
|
-
58
|
1592
1513
|
59
|
1593
1514
|
60
|
1594
1515
|
61
|
1595
|
-
62
|
1516
|
+
62
|
1517
|
+
63</pre>
|
1596
1518
|
</td>
|
1597
1519
|
<td>
|
1598
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1520
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 59</span>
|
1599
1521
|
|
1600
1522
|
<span class='kw'>def</span> <span class='id identifier rubyid_require_relative_all'>require_relative_all</span> <span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1601
1523
|
<span class='id identifier rubyid_real_except'>real_except</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:except</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_f'>f</span><span class='embexpr_end'>}</span><span class='tstring_content'>.rb</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
@@ -1612,7 +1534,7 @@ present on `source`.</p>
|
|
1612
1534
|
</div>
|
1613
1535
|
|
1614
1536
|
<div id="footer">
|
1615
|
-
Generated on Wed Feb
|
1537
|
+
Generated on Wed Feb 20 18:03:17 2019 by
|
1616
1538
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1617
1539
|
0.9.18 (ruby-2.5.3).
|
1618
1540
|
</div>
|
data/doc/AeEasy.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Wed Feb
|
110
|
+
Generated on Wed Feb 20 18:03:17 2019 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.18 (ruby-2.5.3).
|
113
113
|
</div>
|
data/doc/_index.html
CHANGED
@@ -319,7 +319,7 @@
|
|
319
319
|
</div>
|
320
320
|
|
321
321
|
<div id="footer">
|
322
|
-
Generated on Wed Feb
|
322
|
+
Generated on Wed Feb 20 18:03:17 2019 by
|
323
323
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
324
324
|
0.9.18 (ruby-2.5.3).
|
325
325
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -81,7 +81,7 @@ href="http://rubydoc.org/gems/ae_easy-core/frames">here</a>.</p>
|
|
81
81
|
</div></div>
|
82
82
|
|
83
83
|
<div id="footer">
|
84
|
-
Generated on Wed Feb
|
84
|
+
Generated on Wed Feb 20 18:03:17 2019 by
|
85
85
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
86
86
|
0.9.18 (ruby-2.5.3).
|
87
87
|
</div>
|