ae_easy-core 0.1.9 → 0.2.0
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/README.md +1 -1
- data/ae_easy-core.gemspec +1 -1
- data/doc/AeEasy.html +116 -116
- data/doc/AeEasy/Core.html +1217 -1217
- data/doc/AeEasy/Core/Config.html +284 -284
- data/doc/AeEasy/Core/Exception.html +116 -116
- data/doc/AeEasy/Core/Exception/OutdatedError.html +132 -132
- data/doc/AeEasy/Core/Helper.html +116 -116
- data/doc/AeEasy/Core/Helper/Cookie.html +797 -797
- data/doc/AeEasy/Core/Mock.html +231 -231
- data/doc/AeEasy/Core/Mock/FakeDb.html +3133 -2729
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +2852 -2259
- data/doc/AeEasy/Core/Mock/FakeFinisher.html +160 -0
- data/doc/AeEasy/Core/Mock/FakeParser.html +157 -157
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +157 -157
- data/doc/AeEasy/Core/Plugin.html +116 -116
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +262 -262
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +471 -471
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +365 -365
- data/doc/AeEasy/Core/Plugin/Executor.html +243 -243
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +299 -299
- data/doc/AeEasy/Core/Plugin/Finisher.html +265 -0
- data/doc/AeEasy/Core/Plugin/FinisherBehavior.html +142 -0
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +198 -198
- data/doc/AeEasy/Core/Plugin/Parser.html +254 -254
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +216 -216
- data/doc/AeEasy/Core/Plugin/Seeder.html +594 -594
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +141 -141
- data/doc/AeEasy/Core/SmartCollection.html +804 -804
- data/doc/_index.html +363 -342
- data/doc/class_list.html +51 -51
- data/doc/css/full_list.css +58 -58
- data/doc/css/style.css +496 -496
- data/doc/file.README.html +70 -70
- data/doc/file_list.html +56 -56
- data/doc/frames.html +17 -17
- data/doc/index.html +70 -70
- data/doc/js/app.js +303 -292
- data/doc/js/full_list.js +216 -216
- data/doc/js/jquery.js +3 -3
- data/doc/method_list.html +939 -851
- data/doc/top-level-namespace.html +109 -109
- data/lib/ae_easy/core/mock.rb +1 -0
- data/lib/ae_easy/core/mock/fake_db.rb +67 -1
- data/lib/ae_easy/core/mock/fake_executor.rb +61 -0
- data/lib/ae_easy/core/mock/fake_finisher.rb +28 -0
- data/lib/ae_easy/core/mock/fake_parser.rb +3 -1
- data/lib/ae_easy/core/plugin.rb +2 -0
- data/lib/ae_easy/core/plugin/finisher.rb +19 -0
- data/lib/ae_easy/core/plugin/finisher_behavior.rb +9 -0
- data/lib/ae_easy/core/version.rb +1 -1
- metadata +10 -4
@@ -1,344 +1,344 @@
|
|
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
|
-
— Documentation by YARD 0.9.
|
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> »
|
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">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
|
-
<dl>
|
75
|
-
<dt>Includes:</dt>
|
76
|
-
<dd><span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></dd>
|
77
|
-
</dl>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
<dl>
|
83
|
-
<dt>Included in:</dt>
|
84
|
-
<dd><span class='object_link'><a href="Executor.html" title="AeEasy::Core::Plugin::Executor (module)">Executor</a></span>, <span class='object_link'><a href="ParserBehavior.html" title="AeEasy::Core::Plugin::ParserBehavior (module)">ParserBehavior</a></span>, <span class='object_link'><a href="SeederBehavior.html" title="AeEasy::Core::Plugin::SeederBehavior (module)">SeederBehavior</a></span></dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dl>
|
90
|
-
<dt>Defined in:</dt>
|
91
|
-
<dd>lib/ae_easy/core/plugin/executor_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="#enqueue-instance_method" title="#enqueue (instance method)">#<strong>enqueue</strong>(object) ⇒ Object </a>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
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
|
+
— 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::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> »
|
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">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
|
+
<dl>
|
75
|
+
<dt>Includes:</dt>
|
76
|
+
<dd><span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></dd>
|
77
|
+
</dl>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
<dl>
|
83
|
+
<dt>Included in:</dt>
|
84
|
+
<dd><span class='object_link'><a href="Executor.html" title="AeEasy::Core::Plugin::Executor (module)">Executor</a></span>, <span class='object_link'><a href="FinisherBehavior.html" title="AeEasy::Core::Plugin::FinisherBehavior (module)">FinisherBehavior</a></span>, <span class='object_link'><a href="ParserBehavior.html" title="AeEasy::Core::Plugin::ParserBehavior (module)">ParserBehavior</a></span>, <span class='object_link'><a href="SeederBehavior.html" title="AeEasy::Core::Plugin::SeederBehavior (module)">SeederBehavior</a></span></dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<dl>
|
90
|
+
<dt>Defined in:</dt>
|
91
|
+
<dd>lib/ae_easy/core/plugin/executor_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="#enqueue-instance_method" title="#enqueue (instance method)">#<strong>enqueue</strong>(object) ⇒ Object </a>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
</span>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
133
|
<span class="summary_desc"><div class='inline'>
|
134
134
|
<p>Enqueue a single/multiple pages for fetch.</p>
|
135
|
-
</div></span>
|
136
|
-
|
137
|
-
</li>
|
138
|
-
|
139
|
-
|
140
|
-
<li class="public ">
|
141
|
-
<span class="summary_signature">
|
142
|
-
|
143
|
-
<a href="#save-instance_method" title="#save (instance method)">#<strong>save</strong>(object) ⇒ Object </a>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
</span>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
135
|
+
</div></span>
|
136
|
+
|
137
|
+
</li>
|
138
|
+
|
139
|
+
|
140
|
+
<li class="public ">
|
141
|
+
<span class="summary_signature">
|
142
|
+
|
143
|
+
<a href="#save-instance_method" title="#save (instance method)">#<strong>save</strong>(object) ⇒ Object </a>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
</span>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
157
|
<span class="summary_desc"><div class='inline'>
|
158
158
|
<p>Save a single/multiple outputs.</p>
|
159
|
-
</div></span>
|
160
|
-
|
161
|
-
</li>
|
162
|
-
|
163
|
-
|
164
|
-
</ul>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
177
|
-
<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>
|
178
|
-
|
179
|
-
|
180
|
-
<div id="instance_method_details" class="method_details_list">
|
181
|
-
<h2>Instance Method Details</h2>
|
182
|
-
|
183
|
-
|
184
|
-
<div class="method_details first">
|
185
|
-
<h3 class="signature first" id="enqueue-instance_method">
|
186
|
-
|
187
|
-
#<strong>enqueue</strong>(object) ⇒ <tt>Object</tt>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
</h3><div class="docstring">
|
194
|
-
<div class="discussion">
|
195
|
-
|
196
|
-
<div class="note notetag">
|
197
|
-
<strong>Note:</strong>
|
159
|
+
</div></span>
|
160
|
+
|
161
|
+
</li>
|
162
|
+
|
163
|
+
|
164
|
+
</ul>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span></h3>
|
177
|
+
<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>
|
178
|
+
|
179
|
+
|
180
|
+
<div id="instance_method_details" class="method_details_list">
|
181
|
+
<h2>Instance Method Details</h2>
|
182
|
+
|
183
|
+
|
184
|
+
<div class="method_details first">
|
185
|
+
<h3 class="signature first" id="enqueue-instance_method">
|
186
|
+
|
187
|
+
#<strong>enqueue</strong>(object) ⇒ <tt>Object</tt>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
</h3><div class="docstring">
|
194
|
+
<div class="discussion">
|
195
|
+
|
196
|
+
<div class="note notetag">
|
197
|
+
<strong>Note:</strong>
|
198
198
|
<div class='inline'>
|
199
199
|
<p>Instance must implement:</p>
|
200
200
|
<ul><li>
|
201
201
|
<p>`save_pages(pages)`</p>
|
202
202
|
</li></ul>
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
|
206
206
|
|
207
207
|
<p>Enqueue a single/multiple pages for fetch. Analog to `save_pages`.</p>
|
208
|
-
|
209
|
-
|
210
|
-
</div>
|
211
|
-
</div>
|
212
|
-
<div class="tags">
|
213
|
-
<p class="tag_title">Parameters:</p>
|
214
|
-
<ul class="param">
|
215
|
-
|
216
|
-
<li>
|
217
|
-
|
218
|
-
<span class='name'>object</span>
|
219
|
-
|
220
|
-
|
221
|
-
<span class='type'>(<tt>Array</tt>, <tt>Hash</tt>)</span>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
—
|
208
|
+
|
209
|
+
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
<div class="tags">
|
213
|
+
<p class="tag_title">Parameters:</p>
|
214
|
+
<ul class="param">
|
215
|
+
|
216
|
+
<li>
|
217
|
+
|
218
|
+
<span class='name'>object</span>
|
219
|
+
|
220
|
+
|
221
|
+
<span class='type'>(<tt>Array</tt>, <tt>Hash</tt>)</span>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
—
|
226
226
|
<div class='inline'>
|
227
227
|
<p>Pages to save being Hash when single and Array when many.</p>
|
228
|
-
</div>
|
229
|
-
|
230
|
-
</li>
|
231
|
-
|
232
|
-
</ul>
|
233
|
-
|
234
|
-
|
235
|
-
</div><table class="source_code">
|
236
|
-
<tr>
|
237
|
-
<td>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
</li>
|
231
|
+
|
232
|
+
</ul>
|
233
|
+
|
234
|
+
|
235
|
+
</div><table class="source_code">
|
236
|
+
<tr>
|
237
|
+
<td>
|
238
238
|
<pre class="lines">
|
239
239
|
|
240
240
|
|
241
241
|
14
|
242
242
|
15
|
243
243
|
16
|
244
|
-
17</pre>
|
245
|
-
</td>
|
246
|
-
<td>
|
244
|
+
17</pre>
|
245
|
+
</td>
|
246
|
+
<td>
|
247
247
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/executor_behavior.rb', line 14</span>
|
248
248
|
|
249
249
|
<span class='kw'>def</span> <span class='id identifier rubyid_enqueue'>enqueue</span> <span class='id identifier rubyid_object'>object</span>
|
250
250
|
<span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_object'>object</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
|
251
251
|
<span class='id identifier rubyid_save_pages'>save_pages</span> <span class='id identifier rubyid_object'>object</span>
|
252
|
-
<span class='kw'>end</span></pre>
|
253
|
-
</td>
|
254
|
-
</tr>
|
255
|
-
</table>
|
256
|
-
</div>
|
257
|
-
|
258
|
-
<div class="method_details ">
|
259
|
-
<h3 class="signature " id="save-instance_method">
|
260
|
-
|
261
|
-
#<strong>save</strong>(object) ⇒ <tt>Object</tt>
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
</h3><div class="docstring">
|
268
|
-
<div class="discussion">
|
269
|
-
|
270
|
-
<div class="note notetag">
|
271
|
-
<strong>Note:</strong>
|
252
|
+
<span class='kw'>end</span></pre>
|
253
|
+
</td>
|
254
|
+
</tr>
|
255
|
+
</table>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div class="method_details ">
|
259
|
+
<h3 class="signature " id="save-instance_method">
|
260
|
+
|
261
|
+
#<strong>save</strong>(object) ⇒ <tt>Object</tt>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
</h3><div class="docstring">
|
268
|
+
<div class="discussion">
|
269
|
+
|
270
|
+
<div class="note notetag">
|
271
|
+
<strong>Note:</strong>
|
272
272
|
<div class='inline'>
|
273
273
|
<p>Instance must implement:</p>
|
274
274
|
<ul><li>
|
275
275
|
<p>`save_outputs(outputs)`</p>
|
276
276
|
</li></ul>
|
277
|
-
</div>
|
278
|
-
</div>
|
279
|
-
|
277
|
+
</div>
|
278
|
+
</div>
|
279
|
+
|
280
280
|
|
281
281
|
<p>Save a single/multiple outputs. Analog to `save_outputs`.</p>
|
282
|
-
|
283
|
-
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
<div class="tags">
|
287
|
-
<p class="tag_title">Parameters:</p>
|
288
|
-
<ul class="param">
|
289
|
-
|
290
|
-
<li>
|
291
|
-
|
292
|
-
<span class='name'>object</span>
|
293
|
-
|
294
|
-
|
295
|
-
<span class='type'>(<tt>Array</tt>, <tt>Hash</tt>)</span>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
—
|
282
|
+
|
283
|
+
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
<div class="tags">
|
287
|
+
<p class="tag_title">Parameters:</p>
|
288
|
+
<ul class="param">
|
289
|
+
|
290
|
+
<li>
|
291
|
+
|
292
|
+
<span class='name'>object</span>
|
293
|
+
|
294
|
+
|
295
|
+
<span class='type'>(<tt>Array</tt>, <tt>Hash</tt>)</span>
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
—
|
300
300
|
<div class='inline'>
|
301
301
|
<p>Outputs to save being Hash when single and Array when many.</p>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
</li>
|
305
|
-
|
306
|
-
</ul>
|
307
|
-
|
308
|
-
|
309
|
-
</div><table class="source_code">
|
310
|
-
<tr>
|
311
|
-
<td>
|
302
|
+
</div>
|
303
|
+
|
304
|
+
</li>
|
305
|
+
|
306
|
+
</ul>
|
307
|
+
|
308
|
+
|
309
|
+
</div><table class="source_code">
|
310
|
+
<tr>
|
311
|
+
<td>
|
312
312
|
<pre class="lines">
|
313
313
|
|
314
314
|
|
315
315
|
25
|
316
316
|
26
|
317
317
|
27
|
318
|
-
28</pre>
|
319
|
-
</td>
|
320
|
-
<td>
|
318
|
+
28</pre>
|
319
|
+
</td>
|
320
|
+
<td>
|
321
321
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/executor_behavior.rb', line 25</span>
|
322
322
|
|
323
323
|
<span class='kw'>def</span> <span class='id identifier rubyid_save'>save</span> <span class='id identifier rubyid_object'>object</span>
|
324
324
|
<span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_object'>object</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
|
325
325
|
<span class='id identifier rubyid_save_outputs'>save_outputs</span> <span class='id identifier rubyid_object'>object</span>
|
326
|
-
<span class='kw'>end</span></pre>
|
327
|
-
</td>
|
328
|
-
</tr>
|
329
|
-
</table>
|
330
|
-
</div>
|
331
|
-
|
332
|
-
</div>
|
333
|
-
|
334
|
-
</div>
|
335
|
-
|
336
|
-
<div id="footer">
|
337
|
-
Generated on
|
338
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
339
|
-
0.9.
|
340
|
-
</div>
|
341
|
-
|
342
|
-
</div>
|
343
|
-
</body>
|
326
|
+
<span class='kw'>end</span></pre>
|
327
|
+
</td>
|
328
|
+
</tr>
|
329
|
+
</table>
|
330
|
+
</div>
|
331
|
+
|
332
|
+
</div>
|
333
|
+
|
334
|
+
</div>
|
335
|
+
|
336
|
+
<div id="footer">
|
337
|
+
Generated on Fri Sep 27 02:01:31 2019 by
|
338
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
339
|
+
0.9.20 (ruby-2.5.3).
|
340
|
+
</div>
|
341
|
+
|
342
|
+
</div>
|
343
|
+
</body>
|
344
344
|
</html>
|