ae_easy-core 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.travis.yml +7 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +57 -0
  7. data/LICENSE +21 -0
  8. data/README.md +16 -0
  9. data/Rakefile +22 -0
  10. data/ae_easy-core.gemspec +49 -0
  11. data/doc/AeEasy.html +117 -0
  12. data/doc/AeEasy/Core.html +1622 -0
  13. data/doc/AeEasy/Core/Config.html +311 -0
  14. data/doc/AeEasy/Core/Exception.html +117 -0
  15. data/doc/AeEasy/Core/Exception/OutdatedError.html +135 -0
  16. data/doc/AeEasy/Core/Helper.html +117 -0
  17. data/doc/AeEasy/Core/Helper/Cookie.html +1070 -0
  18. data/doc/AeEasy/Core/Mock.html +282 -0
  19. data/doc/AeEasy/Core/Mock/FakeDb.html +2316 -0
  20. data/doc/AeEasy/Core/Mock/FakeExecutor.html +2226 -0
  21. data/doc/AeEasy/Core/Mock/FakeParser.html +275 -0
  22. data/doc/AeEasy/Core/Mock/FakeSeeder.html +269 -0
  23. data/doc/AeEasy/Core/Plugin.html +117 -0
  24. data/doc/AeEasy/Core/Plugin/CollectionVault.html +299 -0
  25. data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +541 -0
  26. data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +445 -0
  27. data/doc/AeEasy/Core/Plugin/InitializeHook.html +220 -0
  28. data/doc/AeEasy/Core/Plugin/Parser.html +259 -0
  29. data/doc/AeEasy/Core/Plugin/ParserBehavior.html +420 -0
  30. data/doc/AeEasy/Core/Plugin/Seeder.html +635 -0
  31. data/doc/AeEasy/Core/Plugin/SeederBehavior.html +282 -0
  32. data/doc/AeEasy/Core/SmartCollection.html +1386 -0
  33. data/doc/_index.html +329 -0
  34. data/doc/class_list.html +51 -0
  35. data/doc/css/common.css +1 -0
  36. data/doc/css/full_list.css +58 -0
  37. data/doc/css/style.css +496 -0
  38. data/doc/file.README.html +91 -0
  39. data/doc/file_list.html +56 -0
  40. data/doc/frames.html +17 -0
  41. data/doc/index.html +91 -0
  42. data/doc/js/app.js +292 -0
  43. data/doc/js/full_list.js +216 -0
  44. data/doc/js/jquery.js +4 -0
  45. data/doc/method_list.html +811 -0
  46. data/doc/top-level-namespace.html +110 -0
  47. data/lib/ae_easy/core.rb +241 -0
  48. data/lib/ae_easy/core/config.rb +25 -0
  49. data/lib/ae_easy/core/exception.rb +8 -0
  50. data/lib/ae_easy/core/exception/outdated_error.rb +9 -0
  51. data/lib/ae_easy/core/helper.rb +8 -0
  52. data/lib/ae_easy/core/helper/cookie.rb +209 -0
  53. data/lib/ae_easy/core/mock.rb +44 -0
  54. data/lib/ae_easy/core/mock/fake_db.rb +280 -0
  55. data/lib/ae_easy/core/mock/fake_executor.rb +207 -0
  56. data/lib/ae_easy/core/mock/fake_parser.rb +31 -0
  57. data/lib/ae_easy/core/mock/fake_seeder.rb +28 -0
  58. data/lib/ae_easy/core/plugin.rb +15 -0
  59. data/lib/ae_easy/core/plugin/collection_vault.rb +23 -0
  60. data/lib/ae_easy/core/plugin/config_behavior.rb +43 -0
  61. data/lib/ae_easy/core/plugin/context_integrator.rb +60 -0
  62. data/lib/ae_easy/core/plugin/initialize_hook.rb +17 -0
  63. data/lib/ae_easy/core/plugin/parser.rb +19 -0
  64. data/lib/ae_easy/core/plugin/parser_behavior.rb +39 -0
  65. data/lib/ae_easy/core/plugin/seeder.rb +34 -0
  66. data/lib/ae_easy/core/plugin/seeder_behavior.rb +21 -0
  67. data/lib/ae_easy/core/smart_collection.rb +236 -0
  68. data/lib/ae_easy/core/version.rb +6 -0
  69. metadata +225 -0
@@ -0,0 +1,275 @@
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
+ Class: AeEasy::Core::Mock::FakeParser
8
+
9
+ &mdash; Documentation by YARD 0.9.18
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::Mock::FakeParser";
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 (F)</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="../Mock.html" title="AeEasy::Core::Mock (module)">Mock</a></span></span>
41
+ &raquo;
42
+ <span class="title">FakeParser</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>Class: AeEasy::Core::Mock::FakeParser
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">AeEasy::Core::Mock::FakeParser</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd><span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/ae_easy/core/mock/fake_parser.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+ <h2>Overview</h2><div class="docstring">
108
+ <div class="discussion">
109
+
110
+ <p>Fake parser that emulates `AnswersEngine` parser executor.</p>
111
+
112
+
113
+ </div>
114
+ </div>
115
+ <div class="tags">
116
+
117
+
118
+ </div>
119
+
120
+
121
+
122
+
123
+
124
+ <h2>Instance Attribute Summary</h2>
125
+
126
+ <h3 class="inherited">Attributes included from <span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
127
+ <p class="inherited"><span class='object_link'><a href="FakeExecutor.html#content-instance_method" title="AeEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>, <span class='object_link'><a href="FakeExecutor.html#failed_content-instance_method" title="AeEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span></p>
128
+
129
+
130
+
131
+ <h2>
132
+ Class Method Summary
133
+ <small><a href="#" class="summary_toggle">collapse</a></small>
134
+ </h2>
135
+
136
+ <ul class="summary">
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#exposed_methods-class_method" title="exposed_methods (class method)">.<strong>exposed_methods</strong> &#x21d2; Array </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <span class="summary_desc"><div class='inline'>
156
+ <p>Fake parser exposed methods to isolated context.</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ </ul>
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
175
+ <p class="inherited"><span class='object_link'><a href="FakeExecutor.html#check_compatibility-class_method" title="AeEasy::Core::Mock::FakeExecutor.check_compatibility (method)">check_compatibility</a></span>, <span class='object_link'><a href="FakeExecutor.html#clear_draft_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#clear_draft_outputs (method)">#clear_draft_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#clear_draft_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#clear_draft_pages (method)">#clear_draft_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#db-instance_method" title="AeEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>, <span class='object_link'><a href="FakeExecutor.html#execute_script-instance_method" title="AeEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_output-instance_method" title="AeEasy::Core::Mock::FakeExecutor#find_output (method)">#find_output</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#find_outputs (method)">#find_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush (method)">#flush</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush_outputs (method)">#flush_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush_pages (method)">#flush_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#initialize-instance_method" title="AeEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id-instance_method" title="AeEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id=-instance_method" title="AeEasy::Core::Mock::FakeExecutor#job_id= (method)">#job_id=</a></span>, <span class='object_link'><a href="FakeExecutor.html#outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#outputs (method)">#outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#page-instance_method" title="AeEasy::Core::Mock::FakeExecutor#page (method)">#page</a></span>, <span class='object_link'><a href="FakeExecutor.html#page=-instance_method" title="AeEasy::Core::Mock::FakeExecutor#page= (method)">#page=</a></span>, <span class='object_link'><a href="FakeExecutor.html#pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#pages (method)">#pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#save_outputs (method)">#save_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#save_pages (method)">#save_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#saved_outputs (method)">#saved_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#saved_pages (method)">#saved_pages</a></span></p>
176
+
177
+
178
+
179
+ <div id="class_method_details" class="method_details_list">
180
+ <h2>Class Method Details</h2>
181
+
182
+
183
+ <div class="method_details first">
184
+ <h3 class="signature first" id="exposed_methods-class_method">
185
+
186
+ .<strong>exposed_methods</strong> &#x21d2; <tt>Array</tt>
187
+
188
+
189
+
190
+
191
+
192
+ </h3><div class="docstring">
193
+ <div class="discussion">
194
+
195
+ <p>Fake parser exposed methods to isolated context.</p>
196
+
197
+
198
+ </div>
199
+ </div>
200
+ <div class="tags">
201
+
202
+ <p class="tag_title">Returns:</p>
203
+ <ul class="return">
204
+
205
+ <li>
206
+
207
+
208
+ <span class='type'>(<tt>Array</tt>)</span>
209
+
210
+
211
+
212
+ </li>
213
+
214
+ </ul>
215
+
216
+ </div><table class="source_code">
217
+ <tr>
218
+ <td>
219
+ <pre class="lines">
220
+
221
+
222
+ 12
223
+ 13
224
+ 14
225
+ 15
226
+ 16
227
+ 17
228
+ 18
229
+ 19
230
+ 20
231
+ 21
232
+ 22
233
+ 23
234
+ 24
235
+ 25
236
+ 26
237
+ 27</pre>
238
+ </td>
239
+ <td>
240
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_parser.rb', line 12</span>
241
+
242
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_exposed_methods'>exposed_methods</span>
243
+ <span class='id identifier rubyid_real_methods'>real_methods</span> <span class='op'>=</span> <span class='const'>AnswersEngine</span><span class='op'>::</span><span class='const'>Scraper</span><span class='op'>::</span><span class='const'>RubyParserExecutor</span><span class='period'>.</span><span class='id identifier rubyid_exposed_methods'>exposed_methods</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span>
244
+ <span class='id identifier rubyid_mock_methods'>mock_methods</span> <span class='op'>=</span> <span class='lbracket'>[</span>
245
+ <span class='symbol'>:content</span><span class='comma'>,</span>
246
+ <span class='symbol'>:failed_content</span><span class='comma'>,</span>
247
+ <span class='symbol'>:outputs</span><span class='comma'>,</span>
248
+ <span class='symbol'>:pages</span><span class='comma'>,</span>
249
+ <span class='symbol'>:page</span><span class='comma'>,</span>
250
+ <span class='symbol'>:save_pages</span><span class='comma'>,</span>
251
+ <span class='symbol'>:save_outputs</span><span class='comma'>,</span>
252
+ <span class='symbol'>:find_output</span><span class='comma'>,</span>
253
+ <span class='symbol'>:find_outputs</span>
254
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span>
255
+ <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="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Mock.html" title="AeEasy::Core::Mock (module)">Mock</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></span><span class='period'>.</span><span class='id identifier rubyid_check_compatibility'><span class='object_link'><a href="FakeExecutor.html#check_compatibility-class_method" title="AeEasy::Core::Mock::FakeExecutor.check_compatibility (method)">check_compatibility</a></span></span> <span class='id identifier rubyid_real_methods'>real_methods</span><span class='comma'>,</span> <span class='id identifier rubyid_mock_methods'>mock_methods</span>
256
+ <span class='id identifier rubyid_mock_methods'>mock_methods</span>
257
+ <span class='kw'>end</span></pre>
258
+ </td>
259
+ </tr>
260
+ </table>
261
+ </div>
262
+
263
+ </div>
264
+
265
+ </div>
266
+
267
+ <div id="footer">
268
+ Generated on Wed Feb 13 21:43:52 2019 by
269
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
270
+ 0.9.18 (ruby-2.5.3).
271
+ </div>
272
+
273
+ </div>
274
+ </body>
275
+ </html>
@@ -0,0 +1,269 @@
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
+ Class: AeEasy::Core::Mock::FakeSeeder
8
+
9
+ &mdash; Documentation by YARD 0.9.18
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::Mock::FakeSeeder";
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 (F)</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="../Mock.html" title="AeEasy::Core::Mock (module)">Mock</a></span></span>
41
+ &raquo;
42
+ <span class="title">FakeSeeder</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>Class: AeEasy::Core::Mock::FakeSeeder
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">AeEasy::Core::Mock::FakeSeeder</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd><span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/ae_easy/core/mock/fake_seeder.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+ <h2>Overview</h2><div class="docstring">
108
+ <div class="discussion">
109
+
110
+ <p>Fake seeder that emulates `AnswersEngine` seeder executor.</p>
111
+
112
+
113
+ </div>
114
+ </div>
115
+ <div class="tags">
116
+
117
+
118
+ </div>
119
+
120
+
121
+
122
+
123
+
124
+ <h2>Instance Attribute Summary</h2>
125
+
126
+ <h3 class="inherited">Attributes included from <span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
127
+ <p class="inherited"><span class='object_link'><a href="FakeExecutor.html#content-instance_method" title="AeEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>, <span class='object_link'><a href="FakeExecutor.html#failed_content-instance_method" title="AeEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span></p>
128
+
129
+
130
+
131
+ <h2>
132
+ Class Method Summary
133
+ <small><a href="#" class="summary_toggle">collapse</a></small>
134
+ </h2>
135
+
136
+ <ul class="summary">
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#exposed_methods-class_method" title="exposed_methods (class method)">.<strong>exposed_methods</strong> &#x21d2; Array </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <span class="summary_desc"><div class='inline'>
156
+ <p>Fake seeder exposed methods to isolated context.</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ </ul>
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
175
+ <p class="inherited"><span class='object_link'><a href="FakeExecutor.html#check_compatibility-class_method" title="AeEasy::Core::Mock::FakeExecutor.check_compatibility (method)">check_compatibility</a></span>, <span class='object_link'><a href="FakeExecutor.html#clear_draft_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#clear_draft_outputs (method)">#clear_draft_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#clear_draft_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#clear_draft_pages (method)">#clear_draft_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#db-instance_method" title="AeEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>, <span class='object_link'><a href="FakeExecutor.html#execute_script-instance_method" title="AeEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_output-instance_method" title="AeEasy::Core::Mock::FakeExecutor#find_output (method)">#find_output</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#find_outputs (method)">#find_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush (method)">#flush</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush_outputs (method)">#flush_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#flush_pages (method)">#flush_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#initialize-instance_method" title="AeEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id-instance_method" title="AeEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id=-instance_method" title="AeEasy::Core::Mock::FakeExecutor#job_id= (method)">#job_id=</a></span>, <span class='object_link'><a href="FakeExecutor.html#outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#outputs (method)">#outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#page-instance_method" title="AeEasy::Core::Mock::FakeExecutor#page (method)">#page</a></span>, <span class='object_link'><a href="FakeExecutor.html#page=-instance_method" title="AeEasy::Core::Mock::FakeExecutor#page= (method)">#page=</a></span>, <span class='object_link'><a href="FakeExecutor.html#pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#pages (method)">#pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#save_outputs (method)">#save_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#save_pages (method)">#save_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_outputs-instance_method" title="AeEasy::Core::Mock::FakeExecutor#saved_outputs (method)">#saved_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_pages-instance_method" title="AeEasy::Core::Mock::FakeExecutor#saved_pages (method)">#saved_pages</a></span></p>
176
+
177
+
178
+
179
+ <div id="class_method_details" class="method_details_list">
180
+ <h2>Class Method Details</h2>
181
+
182
+
183
+ <div class="method_details first">
184
+ <h3 class="signature first" id="exposed_methods-class_method">
185
+
186
+ .<strong>exposed_methods</strong> &#x21d2; <tt>Array</tt>
187
+
188
+
189
+
190
+
191
+
192
+ </h3><div class="docstring">
193
+ <div class="discussion">
194
+
195
+ <p>Fake seeder exposed methods to isolated context.</p>
196
+
197
+
198
+ </div>
199
+ </div>
200
+ <div class="tags">
201
+
202
+ <p class="tag_title">Returns:</p>
203
+ <ul class="return">
204
+
205
+ <li>
206
+
207
+
208
+ <span class='type'>(<tt>Array</tt>)</span>
209
+
210
+
211
+
212
+ </li>
213
+
214
+ </ul>
215
+
216
+ </div><table class="source_code">
217
+ <tr>
218
+ <td>
219
+ <pre class="lines">
220
+
221
+
222
+ 12
223
+ 13
224
+ 14
225
+ 15
226
+ 16
227
+ 17
228
+ 18
229
+ 19
230
+ 20
231
+ 21
232
+ 22
233
+ 23
234
+ 24</pre>
235
+ </td>
236
+ <td>
237
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock/fake_seeder.rb', line 12</span>
238
+
239
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_exposed_methods'>exposed_methods</span>
240
+ <span class='id identifier rubyid_real_methods'>real_methods</span> <span class='op'>=</span> <span class='const'>AnswersEngine</span><span class='op'>::</span><span class='const'>Scraper</span><span class='op'>::</span><span class='const'>RubySeederExecutor</span><span class='period'>.</span><span class='id identifier rubyid_exposed_methods'>exposed_methods</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span>
241
+ <span class='id identifier rubyid_mock_methods'>mock_methods</span> <span class='op'>=</span> <span class='lbracket'>[</span>
242
+ <span class='symbol'>:outputs</span><span class='comma'>,</span>
243
+ <span class='symbol'>:pages</span><span class='comma'>,</span>
244
+ <span class='symbol'>:save_pages</span><span class='comma'>,</span>
245
+ <span class='symbol'>:save_outputs</span><span class='comma'>,</span>
246
+ <span class='symbol'>:find_output</span><span class='comma'>,</span>
247
+ <span class='symbol'>:find_outputs</span>
248
+ <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span>
249
+ <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="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Mock.html" title="AeEasy::Core::Mock (module)">Mock</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></span><span class='period'>.</span><span class='id identifier rubyid_check_compatibility'><span class='object_link'><a href="FakeExecutor.html#check_compatibility-class_method" title="AeEasy::Core::Mock::FakeExecutor.check_compatibility (method)">check_compatibility</a></span></span> <span class='id identifier rubyid_real_methods'>real_methods</span><span class='comma'>,</span> <span class='id identifier rubyid_mock_methods'>mock_methods</span>
250
+ <span class='id identifier rubyid_mock_methods'>mock_methods</span>
251
+ <span class='kw'>end</span></pre>
252
+ </td>
253
+ </tr>
254
+ </table>
255
+ </div>
256
+
257
+ </div>
258
+
259
+ </div>
260
+
261
+ <div id="footer">
262
+ Generated on Wed Feb 13 21:43:52 2019 by
263
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
264
+ 0.9.18 (ruby-2.5.3).
265
+ </div>
266
+
267
+ </div>
268
+ </body>
269
+ </html>