ae_easy-core 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/README.md +8 -4
- data/Rakefile +0 -10
- data/ae_easy-core.gemspec +6 -13
- data/lib/ae_easy/core.rb +4 -256
- metadata +18 -125
- data/doc/AeEasy.html +0 -117
- data/doc/AeEasy/Core.html +0 -1590
- data/doc/AeEasy/Core/Config.html +0 -311
- data/doc/AeEasy/Core/Exception.html +0 -117
- data/doc/AeEasy/Core/Exception/OutdatedError.html +0 -135
- data/doc/AeEasy/Core/Helper.html +0 -117
- data/doc/AeEasy/Core/Helper/Cookie.html +0 -1070
- data/doc/AeEasy/Core/Mock.html +0 -282
- data/doc/AeEasy/Core/Mock/FakeDb.html +0 -3779
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +0 -3289
- data/doc/AeEasy/Core/Mock/FakeFinisher.html +0 -160
- data/doc/AeEasy/Core/Mock/FakeParser.html +0 -160
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +0 -160
- data/doc/AeEasy/Core/Plugin.html +0 -117
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +0 -299
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +0 -541
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +0 -445
- data/doc/AeEasy/Core/Plugin/Executor.html +0 -259
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +0 -344
- data/doc/AeEasy/Core/Plugin/Finisher.html +0 -265
- data/doc/AeEasy/Core/Plugin/FinisherBehavior.html +0 -142
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +0 -220
- data/doc/AeEasy/Core/Plugin/Parser.html +0 -270
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +0 -235
- data/doc/AeEasy/Core/Plugin/Seeder.html +0 -674
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +0 -142
- data/doc/AeEasy/Core/SmartCollection.html +0 -1087
- data/doc/_index.html +0 -364
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -91
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -91
- data/doc/js/app.js +0 -303
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -939
- data/doc/top-level-namespace.html +0 -110
- data/lib/ae_easy/core/config.rb +0 -27
- data/lib/ae_easy/core/exception.rb +0 -8
- data/lib/ae_easy/core/exception/outdated_error.rb +0 -9
- data/lib/ae_easy/core/helper.rb +0 -8
- data/lib/ae_easy/core/helper/cookie.rb +0 -209
- data/lib/ae_easy/core/mock.rb +0 -45
- data/lib/ae_easy/core/mock/fake_db.rb +0 -561
- data/lib/ae_easy/core/mock/fake_executor.rb +0 -373
- data/lib/ae_easy/core/mock/fake_finisher.rb +0 -28
- data/lib/ae_easy/core/mock/fake_parser.rb +0 -33
- data/lib/ae_easy/core/mock/fake_seeder.rb +0 -28
- data/lib/ae_easy/core/plugin.rb +0 -19
- data/lib/ae_easy/core/plugin/collection_vault.rb +0 -23
- data/lib/ae_easy/core/plugin/config_behavior.rb +0 -43
- data/lib/ae_easy/core/plugin/context_integrator.rb +0 -60
- data/lib/ae_easy/core/plugin/executor.rb +0 -19
- data/lib/ae_easy/core/plugin/executor_behavior.rb +0 -32
- data/lib/ae_easy/core/plugin/finisher.rb +0 -19
- data/lib/ae_easy/core/plugin/finisher_behavior.rb +0 -9
- data/lib/ae_easy/core/plugin/initialize_hook.rb +0 -17
- data/lib/ae_easy/core/plugin/parser.rb +0 -19
- data/lib/ae_easy/core/plugin/parser_behavior.rb +0 -17
- data/lib/ae_easy/core/plugin/seeder.rb +0 -44
- data/lib/ae_easy/core/plugin/seeder_behavior.rb +0 -9
- data/lib/ae_easy/core/smart_collection.rb +0 -236
- data/lib/ae_easy/core/version.rb +0 -6
@@ -1,235 +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::ParserBehavior
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.20
|
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::ParserBehavior";
|
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> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> » <span class='title'><span class='object_link'><a href="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span> » <span class='title'><span class='object_link'><a href="../Plugin.html" title="AeEasy::Core::Plugin (module)">Plugin</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">ParserBehavior</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::ParserBehavior
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
<dl>
|
75
|
-
<dt>Includes:</dt>
|
76
|
-
<dd><span class='object_link'><a href="ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span></dd>
|
77
|
-
</dl>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
<dl>
|
83
|
-
<dt>Included in:</dt>
|
84
|
-
<dd><span class='object_link'><a href="Parser.html" title="AeEasy::Core::Plugin::Parser (module)">Parser</a></span></dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dl>
|
90
|
-
<dt>Defined in:</dt>
|
91
|
-
<dd>lib/ae_easy/core/plugin/parser_behavior.rb</dd>
|
92
|
-
</dl>
|
93
|
-
|
94
|
-
</div>
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<h2>Instance Attribute Summary</h2>
|
103
|
-
|
104
|
-
<h3 class="inherited">Attributes included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
105
|
-
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#context (method)">#context</a></span></p>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<h2>
|
110
|
-
Instance Method Summary
|
111
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
112
|
-
</h2>
|
113
|
-
|
114
|
-
<ul class="summary">
|
115
|
-
|
116
|
-
<li class="public ">
|
117
|
-
<span class="summary_signature">
|
118
|
-
|
119
|
-
<a href="#vars-instance_method" title="#vars (instance method)">#<strong>vars</strong> ⇒ Object </a>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'>
|
134
|
-
<p>Alias to `<a href="'vars'">page</a>`.</p>
|
135
|
-
</div></span>
|
136
|
-
|
137
|
-
</li>
|
138
|
-
|
139
|
-
|
140
|
-
</ul>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span></h3>
|
153
|
-
<p class="inherited"><span class='object_link'><a href="ExecutorBehavior.html#enqueue-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#enqueue (method)">#enqueue</a></span>, <span class='object_link'><a href="ExecutorBehavior.html#save-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#save (method)">#save</a></span></p>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
164
|
-
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#initialize_hook_core_context_integrator-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#initialize_hook_core_context_integrator (method)">#initialize_hook_core_context_integrator</a></span>, <span class='object_link'><a href="ContextIntegrator.html#mock_context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#mock_context (method)">#mock_context</a></span></p>
|
165
|
-
|
166
|
-
|
167
|
-
<div id="instance_method_details" class="method_details_list">
|
168
|
-
<h2>Instance Method Details</h2>
|
169
|
-
|
170
|
-
|
171
|
-
<div class="method_details first">
|
172
|
-
<h3 class="signature first" id="vars-instance_method">
|
173
|
-
|
174
|
-
#<strong>vars</strong> ⇒ <tt>Object</tt>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
</h3><div class="docstring">
|
181
|
-
<div class="discussion">
|
182
|
-
|
183
|
-
<div class="note notetag">
|
184
|
-
<strong>Note:</strong>
|
185
|
-
<div class='inline'>
|
186
|
-
<p>Instance must implement:</p>
|
187
|
-
<ul><li>
|
188
|
-
<p>`page`</p>
|
189
|
-
</li></ul>
|
190
|
-
</div>
|
191
|
-
</div>
|
192
|
-
|
193
|
-
|
194
|
-
<p>Alias to `<a href="'vars'">page</a>`.</p>
|
195
|
-
|
196
|
-
|
197
|
-
</div>
|
198
|
-
</div>
|
199
|
-
<div class="tags">
|
200
|
-
|
201
|
-
|
202
|
-
</div><table class="source_code">
|
203
|
-
<tr>
|
204
|
-
<td>
|
205
|
-
<pre class="lines">
|
206
|
-
|
207
|
-
|
208
|
-
11
|
209
|
-
12
|
210
|
-
13</pre>
|
211
|
-
</td>
|
212
|
-
<td>
|
213
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/parser_behavior.rb', line 11</span>
|
214
|
-
|
215
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_vars'>vars</span>
|
216
|
-
<span class='id identifier rubyid_page'>page</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>vars</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
217
|
-
<span class='kw'>end</span></pre>
|
218
|
-
</td>
|
219
|
-
</tr>
|
220
|
-
</table>
|
221
|
-
</div>
|
222
|
-
|
223
|
-
</div>
|
224
|
-
|
225
|
-
</div>
|
226
|
-
|
227
|
-
<div id="footer">
|
228
|
-
Generated on Fri Sep 27 02:01:31 2019 by
|
229
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
230
|
-
0.9.20 (ruby-2.5.3).
|
231
|
-
</div>
|
232
|
-
|
233
|
-
</div>
|
234
|
-
</body>
|
235
|
-
</html>
|
@@ -1,674 +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::Seeder
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.20
|
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::Seeder";
|
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 (S)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> » <span class='title'><span class='object_link'><a href="../../Core.html" title="AeEasy::Core (module)">Core</a></span></span> » <span class='title'><span class='object_link'><a href="../Plugin.html" title="AeEasy::Core::Plugin (module)">Plugin</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Seeder</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::Seeder
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
<dl>
|
75
|
-
<dt>Includes:</dt>
|
76
|
-
<dd><span class='object_link'><a href="InitializeHook.html" title="AeEasy::Core::Plugin::InitializeHook (module)">InitializeHook</a></span>, <span class='object_link'><a href="SeederBehavior.html" title="AeEasy::Core::Plugin::SeederBehavior (module)">SeederBehavior</a></span></dd>
|
77
|
-
</dl>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<dl>
|
85
|
-
<dt>Defined in:</dt>
|
86
|
-
<dd>lib/ae_easy/core/plugin/seeder.rb</dd>
|
87
|
-
</dl>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
96
|
-
<ul class="summary">
|
97
|
-
|
98
|
-
<li class="public ">
|
99
|
-
<span class="summary_signature">
|
100
|
-
|
101
|
-
<a href="#cookie-instance_method" title="#cookie (instance method)">#<strong>cookie</strong> ⇒ String </a>
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
</span>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
<span class="summary_desc"><div class='inline'>
|
119
|
-
<p>Cookie to use on page seeing.</p>
|
120
|
-
</div></span>
|
121
|
-
|
122
|
-
</li>
|
123
|
-
|
124
|
-
|
125
|
-
<li class="public ">
|
126
|
-
<span class="summary_signature">
|
127
|
-
|
128
|
-
<a href="#referer-instance_method" title="#referer (instance method)">#<strong>referer</strong> ⇒ String </a>
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
</span>
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<span class="summary_desc"><div class='inline'>
|
146
|
-
<p>Referer to use on page seeding.</p>
|
147
|
-
</div></span>
|
148
|
-
|
149
|
-
</li>
|
150
|
-
|
151
|
-
|
152
|
-
<li class="public ">
|
153
|
-
<span class="summary_signature">
|
154
|
-
|
155
|
-
<a href="#root_input_dir-instance_method" title="#root_input_dir (instance method)">#<strong>root_input_dir</strong> ⇒ String </a>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
</span>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
<span class="summary_desc"><div class='inline'>
|
173
|
-
<p>Root input directory path.</p>
|
174
|
-
</div></span>
|
175
|
-
|
176
|
-
</li>
|
177
|
-
|
178
|
-
|
179
|
-
</ul>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<h3 class="inherited">Attributes included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
186
|
-
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#context (method)">#context</a></span></p>
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
<h2>
|
191
|
-
Instance Method Summary
|
192
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
193
|
-
</h2>
|
194
|
-
|
195
|
-
<ul class="summary">
|
196
|
-
|
197
|
-
<li class="public ">
|
198
|
-
<span class="summary_signature">
|
199
|
-
|
200
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(opts = {}) ⇒ Object </a>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
</span>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
<span class="summary_desc"><div class='inline'>
|
215
|
-
<p>Initialize seeder and hooks.</p>
|
216
|
-
</div></span>
|
217
|
-
|
218
|
-
</li>
|
219
|
-
|
220
|
-
|
221
|
-
<li class="public ">
|
222
|
-
<span class="summary_signature">
|
223
|
-
|
224
|
-
<a href="#initialize_hook_core_seeder-instance_method" title="#initialize_hook_core_seeder (instance method)">#<strong>initialize_hook_core_seeder</strong>(opts = {}) ⇒ Object </a>
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
</span>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<span class="summary_desc"><div class='inline'>
|
239
|
-
<p>Hook to initialize seeder object.</p>
|
240
|
-
</div></span>
|
241
|
-
|
242
|
-
</li>
|
243
|
-
|
244
|
-
|
245
|
-
</ul>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span></h3>
|
264
|
-
<p class="inherited"><span class='object_link'><a href="ExecutorBehavior.html#enqueue-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#enqueue (method)">#enqueue</a></span>, <span class='object_link'><a href="ExecutorBehavior.html#save-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#save (method)">#save</a></span></p>
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
275
|
-
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#initialize_hook_core_context_integrator-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#initialize_hook_core_context_integrator (method)">#initialize_hook_core_context_integrator</a></span>, <span class='object_link'><a href="ContextIntegrator.html#mock_context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#mock_context (method)">#mock_context</a></span></p>
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="InitializeHook.html" title="AeEasy::Core::Plugin::InitializeHook (module)">InitializeHook</a></span></h3>
|
286
|
-
<p class="inherited"><span class='object_link'><a href="InitializeHook.html#initialize_hooks-instance_method" title="AeEasy::Core::Plugin::InitializeHook#initialize_hooks (method)">#initialize_hooks</a></span></p>
|
287
|
-
|
288
|
-
<div id="instance_attr_details" class="attr_details">
|
289
|
-
<h2>Instance Attribute Details</h2>
|
290
|
-
|
291
|
-
|
292
|
-
<span id="cookie=-instance_method"></span>
|
293
|
-
<div class="method_details first">
|
294
|
-
<h3 class="signature first" id="cookie-instance_method">
|
295
|
-
|
296
|
-
#<strong>cookie</strong> ⇒ <tt>String</tt>
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
</h3><div class="docstring">
|
303
|
-
<div class="discussion">
|
304
|
-
|
305
|
-
<p>Cookie to use on page seeing.</p>
|
306
|
-
|
307
|
-
|
308
|
-
</div>
|
309
|
-
</div>
|
310
|
-
<div class="tags">
|
311
|
-
|
312
|
-
<p class="tag_title">Returns:</p>
|
313
|
-
<ul class="return">
|
314
|
-
|
315
|
-
<li>
|
316
|
-
|
317
|
-
|
318
|
-
<span class='type'>(<tt>String</tt>)</span>
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
</li>
|
323
|
-
|
324
|
-
</ul>
|
325
|
-
|
326
|
-
</div><table class="source_code">
|
327
|
-
<tr>
|
328
|
-
<td>
|
329
|
-
<pre class="lines">
|
330
|
-
|
331
|
-
|
332
|
-
18
|
333
|
-
19
|
334
|
-
20</pre>
|
335
|
-
</td>
|
336
|
-
<td>
|
337
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder.rb', line 18</span>
|
338
|
-
|
339
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_cookie'>cookie</span>
|
340
|
-
<span class='ivar'>@cookie</span>
|
341
|
-
<span class='kw'>end</span></pre>
|
342
|
-
</td>
|
343
|
-
</tr>
|
344
|
-
</table>
|
345
|
-
</div>
|
346
|
-
|
347
|
-
|
348
|
-
<span id="referer=-instance_method"></span>
|
349
|
-
<div class="method_details ">
|
350
|
-
<h3 class="signature " id="referer-instance_method">
|
351
|
-
|
352
|
-
#<strong>referer</strong> ⇒ <tt>String</tt>
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
</h3><div class="docstring">
|
359
|
-
<div class="discussion">
|
360
|
-
|
361
|
-
<p>Referer to use on page seeding.</p>
|
362
|
-
|
363
|
-
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
<div class="tags">
|
367
|
-
|
368
|
-
<p class="tag_title">Returns:</p>
|
369
|
-
<ul class="return">
|
370
|
-
|
371
|
-
<li>
|
372
|
-
|
373
|
-
|
374
|
-
<span class='type'>(<tt>String</tt>)</span>
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
</li>
|
379
|
-
|
380
|
-
</ul>
|
381
|
-
|
382
|
-
</div><table class="source_code">
|
383
|
-
<tr>
|
384
|
-
<td>
|
385
|
-
<pre class="lines">
|
386
|
-
|
387
|
-
|
388
|
-
14
|
389
|
-
15
|
390
|
-
16</pre>
|
391
|
-
</td>
|
392
|
-
<td>
|
393
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder.rb', line 14</span>
|
394
|
-
|
395
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_referer'>referer</span>
|
396
|
-
<span class='ivar'>@referer</span>
|
397
|
-
<span class='kw'>end</span></pre>
|
398
|
-
</td>
|
399
|
-
</tr>
|
400
|
-
</table>
|
401
|
-
</div>
|
402
|
-
|
403
|
-
|
404
|
-
<span id="root_input_dir=-instance_method"></span>
|
405
|
-
<div class="method_details ">
|
406
|
-
<h3 class="signature " id="root_input_dir-instance_method">
|
407
|
-
|
408
|
-
#<strong>root_input_dir</strong> ⇒ <tt>String</tt>
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
</h3><div class="docstring">
|
415
|
-
<div class="discussion">
|
416
|
-
|
417
|
-
<p>Root input directory path.</p>
|
418
|
-
|
419
|
-
|
420
|
-
</div>
|
421
|
-
</div>
|
422
|
-
<div class="tags">
|
423
|
-
|
424
|
-
<p class="tag_title">Returns:</p>
|
425
|
-
<ul class="return">
|
426
|
-
|
427
|
-
<li>
|
428
|
-
|
429
|
-
|
430
|
-
<span class='type'>(<tt>String</tt>)</span>
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
</li>
|
435
|
-
|
436
|
-
</ul>
|
437
|
-
|
438
|
-
</div><table class="source_code">
|
439
|
-
<tr>
|
440
|
-
<td>
|
441
|
-
<pre class="lines">
|
442
|
-
|
443
|
-
|
444
|
-
10
|
445
|
-
11
|
446
|
-
12</pre>
|
447
|
-
</td>
|
448
|
-
<td>
|
449
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder.rb', line 10</span>
|
450
|
-
|
451
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_root_input_dir'>root_input_dir</span>
|
452
|
-
<span class='ivar'>@root_input_dir</span>
|
453
|
-
<span class='kw'>end</span></pre>
|
454
|
-
</td>
|
455
|
-
</tr>
|
456
|
-
</table>
|
457
|
-
</div>
|
458
|
-
|
459
|
-
</div>
|
460
|
-
|
461
|
-
|
462
|
-
<div id="instance_method_details" class="method_details_list">
|
463
|
-
<h2>Instance Method Details</h2>
|
464
|
-
|
465
|
-
|
466
|
-
<div class="method_details first">
|
467
|
-
<h3 class="signature first" id="initialize-instance_method">
|
468
|
-
|
469
|
-
#<strong>initialize</strong>(opts = {}) ⇒ <tt>Object</tt>
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
</h3><div class="docstring">
|
476
|
-
<div class="discussion">
|
477
|
-
|
478
|
-
<p>Initialize seeder and hooks.</p>
|
479
|
-
|
480
|
-
|
481
|
-
</div>
|
482
|
-
</div>
|
483
|
-
<div class="tags">
|
484
|
-
<p class="tag_title">Parameters:</p>
|
485
|
-
<ul class="param">
|
486
|
-
|
487
|
-
<li>
|
488
|
-
|
489
|
-
<span class='name'>opts</span>
|
490
|
-
|
491
|
-
|
492
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
493
|
-
|
494
|
-
|
495
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
496
|
-
|
497
|
-
|
498
|
-
—
|
499
|
-
<div class='inline'>
|
500
|
-
<p>({}) Configuration options.</p>
|
501
|
-
</div>
|
502
|
-
|
503
|
-
</li>
|
504
|
-
|
505
|
-
</ul>
|
506
|
-
|
507
|
-
|
508
|
-
<p class="tag_title">See Also:</p>
|
509
|
-
<ul class="see">
|
510
|
-
|
511
|
-
<li><span class='object_link'><a href="ContextIntegrator.html#initialize_hook_core_context_integrator-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#initialize_hook_core_context_integrator (method)">ContextIntegrator#initialize_hook_core_context_integrator</a></span></li>
|
512
|
-
|
513
|
-
<li><span class='object_link'><a href="#initialize_hook_core_seeder-instance_method" title="AeEasy::Core::Plugin::Seeder#initialize_hook_core_seeder (method)">#initialize_hook_core_seeder</a></span></li>
|
514
|
-
|
515
|
-
</ul>
|
516
|
-
|
517
|
-
</div><table class="source_code">
|
518
|
-
<tr>
|
519
|
-
<td>
|
520
|
-
<pre class="lines">
|
521
|
-
|
522
|
-
|
523
|
-
38
|
524
|
-
39
|
525
|
-
40</pre>
|
526
|
-
</td>
|
527
|
-
<td>
|
528
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder.rb', line 38</span>
|
529
|
-
|
530
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
531
|
-
<span class='id identifier rubyid_initialize_hooks'>initialize_hooks</span> <span class='id identifier rubyid_opts'>opts</span>
|
532
|
-
<span class='kw'>end</span></pre>
|
533
|
-
</td>
|
534
|
-
</tr>
|
535
|
-
</table>
|
536
|
-
</div>
|
537
|
-
|
538
|
-
<div class="method_details ">
|
539
|
-
<h3 class="signature " id="initialize_hook_core_seeder-instance_method">
|
540
|
-
|
541
|
-
#<strong>initialize_hook_core_seeder</strong>(opts = {}) ⇒ <tt>Object</tt>
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
</h3><div class="docstring">
|
548
|
-
<div class="discussion">
|
549
|
-
|
550
|
-
<p>Hook to initialize seeder object.</p>
|
551
|
-
|
552
|
-
|
553
|
-
</div>
|
554
|
-
</div>
|
555
|
-
<div class="tags">
|
556
|
-
<p class="tag_title">Parameters:</p>
|
557
|
-
<ul class="param">
|
558
|
-
|
559
|
-
<li>
|
560
|
-
|
561
|
-
<span class='name'>opts</span>
|
562
|
-
|
563
|
-
|
564
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
565
|
-
|
566
|
-
|
567
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
568
|
-
|
569
|
-
|
570
|
-
—
|
571
|
-
<div class='inline'>
|
572
|
-
<p>({}) Configuration options.</p>
|
573
|
-
</div>
|
574
|
-
|
575
|
-
</li>
|
576
|
-
|
577
|
-
</ul>
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
<p class="tag_title">Options Hash (<tt>opts</tt>):</p>
|
583
|
-
<ul class="option">
|
584
|
-
|
585
|
-
<li>
|
586
|
-
<span class="name">:root_input_dir</span>
|
587
|
-
<span class="type">(<tt>String</tt>)</span>
|
588
|
-
<span class="default">
|
589
|
-
|
590
|
-
— default:
|
591
|
-
<tt>nil</tt>
|
592
|
-
|
593
|
-
</span>
|
594
|
-
|
595
|
-
— <div class='inline'>
|
596
|
-
<p>Root directory for inputs.</p>
|
597
|
-
</div>
|
598
|
-
|
599
|
-
</li>
|
600
|
-
|
601
|
-
<li>
|
602
|
-
<span class="name">:referer</span>
|
603
|
-
<span class="type">(<tt>String</tt>)</span>
|
604
|
-
<span class="default">
|
605
|
-
|
606
|
-
— default:
|
607
|
-
<tt>nil</tt>
|
608
|
-
|
609
|
-
</span>
|
610
|
-
|
611
|
-
— <div class='inline'>
|
612
|
-
<p>New pages referer, useful to dynamic setups.</p>
|
613
|
-
</div>
|
614
|
-
|
615
|
-
</li>
|
616
|
-
|
617
|
-
<li>
|
618
|
-
<span class="name">:cookie</span>
|
619
|
-
<span class="type">(<tt>String</tt>)</span>
|
620
|
-
<span class="default">
|
621
|
-
|
622
|
-
— default:
|
623
|
-
<tt>nil</tt>
|
624
|
-
|
625
|
-
</span>
|
626
|
-
|
627
|
-
— <div class='inline'>
|
628
|
-
<p>Cookie to use on seeded pages fetchs.</p>
|
629
|
-
</div>
|
630
|
-
|
631
|
-
</li>
|
632
|
-
|
633
|
-
</ul>
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
</div><table class="source_code">
|
638
|
-
<tr>
|
639
|
-
<td>
|
640
|
-
<pre class="lines">
|
641
|
-
|
642
|
-
|
643
|
-
26
|
644
|
-
27
|
645
|
-
28
|
646
|
-
29
|
647
|
-
30</pre>
|
648
|
-
</td>
|
649
|
-
<td>
|
650
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder.rb', line 26</span>
|
651
|
-
|
652
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize_hook_core_seeder'>initialize_hook_core_seeder</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
653
|
-
<span class='ivar'>@root_input_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:root_input_dir</span><span class='rbracket'>]</span>
|
654
|
-
<span class='ivar'>@referer</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:referer</span><span class='rbracket'>]</span>
|
655
|
-
<span class='ivar'>@cookie</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:cookie</span><span class='rbracket'>]</span>
|
656
|
-
<span class='kw'>end</span></pre>
|
657
|
-
</td>
|
658
|
-
</tr>
|
659
|
-
</table>
|
660
|
-
</div>
|
661
|
-
|
662
|
-
</div>
|
663
|
-
|
664
|
-
</div>
|
665
|
-
|
666
|
-
<div id="footer">
|
667
|
-
Generated on Fri Sep 27 02:01:30 2019 by
|
668
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
669
|
-
0.9.20 (ruby-2.5.3).
|
670
|
-
</div>
|
671
|
-
|
672
|
-
</div>
|
673
|
-
</body>
|
674
|
-
</html>
|