ovto 0.4.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.gitmodules +3 -0
- data/CHANGELOG.md +15 -2
- data/Gemfile +2 -2
- data/Gemfile.lock +23 -27
- data/README.md +2 -2
- data/book/SUMMARY.md +3 -1
- data/book/api/actions.md +1 -1
- data/book/api/fetch.md +3 -3
- data/book/api/middleware.md +99 -0
- data/book/api/pure_component.md +30 -0
- data/book/guides/install.md +76 -0
- data/book/guides/tutorial.md +3 -3
- data/book/ovtologo.png +0 -0
- data/docs/api/Array.html +190 -0
- data/docs/api/Hash.html +196 -0
- data/docs/api/Ovto/Actions.html +132 -40
- data/docs/api/Ovto/App.html +254 -40
- data/docs/api/Ovto/Component/MoreThanOneNode.html +6 -6
- data/docs/api/Ovto/Component.html +102 -27
- data/docs/api/Ovto/Middleware/Actions.html +428 -0
- data/docs/api/Ovto/Middleware/Base.html +606 -0
- data/docs/api/Ovto/Middleware/Component.html +355 -0
- data/docs/api/Ovto/Middleware.html +288 -0
- data/docs/api/Ovto/PureComponent/StateIsNotAvailable.html +124 -0
- data/docs/api/Ovto/PureComponent.html +368 -0
- data/docs/api/Ovto/Runtime.html +7 -7
- data/docs/api/Ovto/State/MissingValue.html +6 -6
- data/docs/api/Ovto/State/{UnknownKey.html → UnknownStateKey.html} +11 -11
- data/docs/api/Ovto/State.html +59 -43
- data/docs/api/Ovto/WiredActionSet.html +636 -0
- data/docs/api/Ovto/WiredActions.html +78 -35
- data/docs/api/Ovto.html +226 -29
- data/docs/api/_index.html +99 -11
- data/docs/api/actions.html +36 -10
- data/docs/api/app.html +35 -9
- data/docs/api/class_list.html +3 -3
- data/docs/api/component.html +37 -11
- data/docs/api/css/style.css +2 -2
- data/docs/api/fetch.html +40 -14
- data/docs/api/file.README.html +8 -8
- data/docs/api/file_list.html +2 -2
- data/docs/api/frames.html +2 -2
- data/docs/api/index.html +8 -8
- data/docs/api/js/app.js +14 -3
- data/docs/api/method_list.html +318 -22
- data/docs/api/middleware.html +498 -0
- data/docs/api/pure_component.html +428 -0
- data/docs/api/state.html +35 -9
- data/docs/api/top-level-namespace.html +9 -7
- data/docs/gitbook/gitbook.js +2 -2
- data/docs/gitbook/theme.js +1 -1
- data/docs/guides/debugging.html +35 -9
- data/docs/guides/development.html +35 -9
- data/docs/guides/install.html +452 -0
- data/docs/guides/tutorial.html +101 -66
- data/docs/index.html +37 -17
- data/docs/ovtologo.png +0 -0
- data/docs/search_index.json +1 -1
- data/examples/sinatra/Gemfile +2 -0
- data/examples/sinatra/Gemfile.lock +33 -31
- data/examples/sinatra/app.rb +1 -4
- data/examples/sinatra/config.ru +6 -6
- data/examples/static/Gemfile.lock +10 -14
- data/lib/ovto/actions.rb +11 -0
- data/lib/ovto/app.rb +37 -13
- data/lib/ovto/component.rb +149 -73
- data/lib/ovto/fetch.rb +1 -1
- data/lib/ovto/middleware.rb +121 -0
- data/lib/ovto/pure_component.rb +22 -0
- data/lib/ovto/state.rb +13 -5
- data/lib/ovto/version.rb +1 -1
- data/lib/ovto/wired_action_set.rb +40 -0
- data/lib/ovto/wired_actions.rb +49 -11
- data/lib/ovto.rb +27 -0
- data/ovto.gemspec +1 -1
- metadata +35 -9
@@ -0,0 +1,636 @@
|
|
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: Ovto::WiredActionSet
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.24
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Ovto::WiredActionSet";
|
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 (W)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Ovto.html" title="Ovto (module)">Ovto</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">WiredActionSet</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: Ovto::WiredActionSet
|
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">Ovto::WiredActionSet</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/ovto/wired_action_set.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
103
|
+
<div class="discussion">
|
104
|
+
|
105
|
+
<p>Set of WiredActions (One for the app, zero or more for middlewares)</p>
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="tags">
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<h2>
|
116
|
+
Constant Summary
|
117
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
118
|
+
</h2>
|
119
|
+
|
120
|
+
<dl class="constants">
|
121
|
+
|
122
|
+
<dt id="I_AM_APP_NOT_A_MIDDLEWARE-constant" class="">I_AM_APP_NOT_A_MIDDLEWARE =
|
123
|
+
<div class="docstring">
|
124
|
+
<div class="discussion">
|
125
|
+
|
126
|
+
<p>Special key for @hash</p>
|
127
|
+
|
128
|
+
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
<div class="tags">
|
132
|
+
|
133
|
+
|
134
|
+
</div>
|
135
|
+
</dt>
|
136
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span></pre></dd>
|
137
|
+
|
138
|
+
<dt id="THE_MIDDLEWARE_ITSELF-constant" class="">THE_MIDDLEWARE_ITSELF =
|
139
|
+
|
140
|
+
</dt>
|
141
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span></pre></dd>
|
142
|
+
|
143
|
+
</dl>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
150
|
+
<ul class="summary">
|
151
|
+
|
152
|
+
<li class="public ">
|
153
|
+
<span class="summary_signature">
|
154
|
+
|
155
|
+
<a href="#app-instance_method" title="#app (instance method)">#<strong>app</strong> ⇒ Object </a>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
</span>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
<span class="note title readonly">readonly</span>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<span class="summary_desc"><div class='inline'>
|
175
|
+
<p>Returns the value of attribute app.</p>
|
176
|
+
</div></span>
|
177
|
+
|
178
|
+
</li>
|
179
|
+
|
180
|
+
|
181
|
+
<li class="public ">
|
182
|
+
<span class="summary_signature">
|
183
|
+
|
184
|
+
<a href="#middleware_names-instance_method" title="#middleware_names (instance method)">#<strong>middleware_names</strong> ⇒ Object </a>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
</span>
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<span class="note title readonly">readonly</span>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<span class="summary_desc"><div class='inline'>
|
204
|
+
<p>Returns the value of attribute middleware_names.</p>
|
205
|
+
</div></span>
|
206
|
+
|
207
|
+
</li>
|
208
|
+
|
209
|
+
|
210
|
+
</ul>
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
<h2>
|
217
|
+
Class Method Summary
|
218
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
219
|
+
</h2>
|
220
|
+
|
221
|
+
<ul class="summary">
|
222
|
+
|
223
|
+
<li class="public ">
|
224
|
+
<span class="summary_signature">
|
225
|
+
|
226
|
+
<a href="#dummy-class_method" title="dummy (class method)">.<strong>dummy</strong> ⇒ Object </a>
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</span>
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<span class="summary_desc"><div class='inline'>
|
241
|
+
<p>For testing.</p>
|
242
|
+
</div></span>
|
243
|
+
|
244
|
+
</li>
|
245
|
+
|
246
|
+
|
247
|
+
</ul>
|
248
|
+
|
249
|
+
<h2>
|
250
|
+
Instance Method Summary
|
251
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
252
|
+
</h2>
|
253
|
+
|
254
|
+
<ul class="summary">
|
255
|
+
|
256
|
+
<li class="public ">
|
257
|
+
<span class="summary_signature">
|
258
|
+
|
259
|
+
<a href="#[]-instance_method" title="#[] (instance method)">#<strong>[]</strong>(name) ⇒ Object </a>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</span>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<span class="summary_desc"><div class='inline'>
|
274
|
+
<p>Return the WiredActions of a middleware.</p>
|
275
|
+
</div></span>
|
276
|
+
|
277
|
+
</li>
|
278
|
+
|
279
|
+
|
280
|
+
<li class="public ">
|
281
|
+
<span class="summary_signature">
|
282
|
+
|
283
|
+
<a href="#app_wired_actions-instance_method" title="#app_wired_actions (instance method)">#<strong>app_wired_actions</strong> ⇒ Object </a>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
</span>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
<span class="summary_desc"><div class='inline'>
|
298
|
+
<p>Return the WiredActions of the app.</p>
|
299
|
+
</div></span>
|
300
|
+
|
301
|
+
</li>
|
302
|
+
|
303
|
+
|
304
|
+
<li class="public ">
|
305
|
+
<span class="summary_signature">
|
306
|
+
|
307
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(app, actions, middleware_path, middlewares, runtime) ⇒ WiredActionSet </a>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</span>
|
312
|
+
|
313
|
+
|
314
|
+
<span class="note title constructor">constructor</span>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
<span class="summary_desc"><div class='inline'>
|
324
|
+
<p>A new instance of WiredActionSet.</p>
|
325
|
+
</div></span>
|
326
|
+
|
327
|
+
</li>
|
328
|
+
|
329
|
+
|
330
|
+
</ul>
|
331
|
+
|
332
|
+
|
333
|
+
<div id="constructor_details" class="method_details_list">
|
334
|
+
<h2>Constructor Details</h2>
|
335
|
+
|
336
|
+
<div class="method_details first">
|
337
|
+
<h3 class="signature first" id="initialize-instance_method">
|
338
|
+
|
339
|
+
#<strong>initialize</strong>(app, actions, middleware_path, middlewares, runtime) ⇒ <tt><span class='object_link'><a href="" title="Ovto::WiredActionSet (class)">WiredActionSet</a></span></tt>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
</h3><div class="docstring">
|
346
|
+
<div class="discussion">
|
347
|
+
|
348
|
+
<p>Returns a new instance of WiredActionSet.</p>
|
349
|
+
|
350
|
+
|
351
|
+
</div>
|
352
|
+
</div>
|
353
|
+
<div class="tags">
|
354
|
+
|
355
|
+
|
356
|
+
</div><table class="source_code">
|
357
|
+
<tr>
|
358
|
+
<td>
|
359
|
+
<pre class="lines">
|
360
|
+
|
361
|
+
|
362
|
+
15
|
363
|
+
16
|
364
|
+
17
|
365
|
+
18
|
366
|
+
19
|
367
|
+
20
|
368
|
+
21
|
369
|
+
22
|
370
|
+
23
|
371
|
+
24
|
372
|
+
25
|
373
|
+
26
|
374
|
+
27</pre>
|
375
|
+
</td>
|
376
|
+
<td>
|
377
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 15</span>
|
378
|
+
|
379
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='id identifier rubyid_actions'>actions</span><span class='comma'>,</span> <span class='id identifier rubyid_middleware_path'>middleware_path</span><span class='comma'>,</span> <span class='id identifier rubyid_middlewares'>middlewares</span><span class='comma'>,</span> <span class='id identifier rubyid_runtime'>runtime</span><span class='rparen'>)</span>
|
380
|
+
<span class='ivar'>@app</span> <span class='op'>=</span> <span class='id identifier rubyid_app'>app</span>
|
381
|
+
<span class='ivar'>@hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
382
|
+
<span class='ivar'>@hash</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="#THE_MIDDLEWARE_ITSELF-constant" title="Ovto::WiredActionSet::THE_MIDDLEWARE_ITSELF (constant)">THE_MIDDLEWARE_ITSELF</a></span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="WiredActions.html" title="Ovto::WiredActions (class)">WiredActions</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="WiredActions.html#initialize-instance_method" title="Ovto::WiredActions#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_actions'>actions</span><span class='comma'>,</span> <span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='id identifier rubyid_runtime'>runtime</span><span class='comma'>,</span> <span class='kw'>self</span><span class='rparen'>)</span>
|
383
|
+
<span class='id identifier rubyid_middlewares'>middlewares</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_m'>m</span><span class='op'>|</span>
|
384
|
+
<span class='id identifier rubyid_mw_path'>mw_path</span> <span class='op'>=</span> <span class='id identifier rubyid_middleware_path'>middleware_path</span> <span class='op'>+</span> <span class='lbracket'>[</span><span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
|
385
|
+
<span class='id identifier rubyid_mw_actions'>mw_actions</span> <span class='op'>=</span> <span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Actions</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_mw_path'>mw_path</span><span class='rparen'>)</span>
|
386
|
+
<span class='id identifier rubyid_mw_wired_action_set'>mw_wired_action_set</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="Ovto::WiredActionSet (class)">WiredActionSet</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='id identifier rubyid_mw_actions'>mw_actions</span><span class='comma'>,</span> <span class='id identifier rubyid_mw_path'>mw_path</span><span class='comma'>,</span> <span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_middlewares'>middlewares</span><span class='comma'>,</span> <span class='id identifier rubyid_runtime'>runtime</span><span class='rparen'>)</span>
|
387
|
+
<span class='ivar'>@hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_mw_wired_action_set'>mw_wired_action_set</span>
|
388
|
+
<span class='id identifier rubyid_mw_actions'>mw_actions</span><span class='period'>.</span><span class='id identifier rubyid_wired_actions'>wired_actions</span> <span class='op'>=</span> <span class='id identifier rubyid_mw_wired_action_set'>mw_wired_action_set</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="#THE_MIDDLEWARE_ITSELF-constant" title="Ovto::WiredActionSet::THE_MIDDLEWARE_ITSELF (constant)">THE_MIDDLEWARE_ITSELF</a></span></span><span class='rbracket'>]</span>
|
389
|
+
<span class='kw'>end</span>
|
390
|
+
<span class='ivar'>@middleware_names</span> <span class='op'>=</span> <span class='id identifier rubyid_middlewares'>middlewares</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:name</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_set'>to_set</span>
|
391
|
+
<span class='kw'>end</span></pre>
|
392
|
+
</td>
|
393
|
+
</tr>
|
394
|
+
</table>
|
395
|
+
</div>
|
396
|
+
|
397
|
+
</div>
|
398
|
+
|
399
|
+
<div id="instance_attr_details" class="attr_details">
|
400
|
+
<h2>Instance Attribute Details</h2>
|
401
|
+
|
402
|
+
|
403
|
+
<span id=""></span>
|
404
|
+
<div class="method_details first">
|
405
|
+
<h3 class="signature first" id="app-instance_method">
|
406
|
+
|
407
|
+
#<strong>app</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
</h3><div class="docstring">
|
414
|
+
<div class="discussion">
|
415
|
+
|
416
|
+
<p>Returns the value of attribute app.</p>
|
417
|
+
|
418
|
+
|
419
|
+
</div>
|
420
|
+
</div>
|
421
|
+
<div class="tags">
|
422
|
+
|
423
|
+
|
424
|
+
</div><table class="source_code">
|
425
|
+
<tr>
|
426
|
+
<td>
|
427
|
+
<pre class="lines">
|
428
|
+
|
429
|
+
|
430
|
+
28
|
431
|
+
29
|
432
|
+
30</pre>
|
433
|
+
</td>
|
434
|
+
<td>
|
435
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 28</span>
|
436
|
+
|
437
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_app'>app</span>
|
438
|
+
<span class='ivar'>@app</span>
|
439
|
+
<span class='kw'>end</span></pre>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
</table>
|
443
|
+
</div>
|
444
|
+
|
445
|
+
|
446
|
+
<span id=""></span>
|
447
|
+
<div class="method_details ">
|
448
|
+
<h3 class="signature " id="middleware_names-instance_method">
|
449
|
+
|
450
|
+
#<strong>middleware_names</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
</h3><div class="docstring">
|
457
|
+
<div class="discussion">
|
458
|
+
|
459
|
+
<p>Returns the value of attribute middleware_names.</p>
|
460
|
+
|
461
|
+
|
462
|
+
</div>
|
463
|
+
</div>
|
464
|
+
<div class="tags">
|
465
|
+
|
466
|
+
|
467
|
+
</div><table class="source_code">
|
468
|
+
<tr>
|
469
|
+
<td>
|
470
|
+
<pre class="lines">
|
471
|
+
|
472
|
+
|
473
|
+
28
|
474
|
+
29
|
475
|
+
30</pre>
|
476
|
+
</td>
|
477
|
+
<td>
|
478
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 28</span>
|
479
|
+
|
480
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_middleware_names'>middleware_names</span>
|
481
|
+
<span class='ivar'>@middleware_names</span>
|
482
|
+
<span class='kw'>end</span></pre>
|
483
|
+
</td>
|
484
|
+
</tr>
|
485
|
+
</table>
|
486
|
+
</div>
|
487
|
+
|
488
|
+
</div>
|
489
|
+
|
490
|
+
|
491
|
+
<div id="class_method_details" class="method_details_list">
|
492
|
+
<h2>Class Method Details</h2>
|
493
|
+
|
494
|
+
|
495
|
+
<div class="method_details first">
|
496
|
+
<h3 class="signature first" id="dummy-class_method">
|
497
|
+
|
498
|
+
.<strong>dummy</strong> ⇒ <tt>Object</tt>
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
|
504
|
+
</h3><div class="docstring">
|
505
|
+
<div class="discussion">
|
506
|
+
|
507
|
+
<p>For testing</p>
|
508
|
+
|
509
|
+
|
510
|
+
</div>
|
511
|
+
</div>
|
512
|
+
<div class="tags">
|
513
|
+
|
514
|
+
|
515
|
+
</div><table class="source_code">
|
516
|
+
<tr>
|
517
|
+
<td>
|
518
|
+
<pre class="lines">
|
519
|
+
|
520
|
+
|
521
|
+
11
|
522
|
+
12
|
523
|
+
13</pre>
|
524
|
+
</td>
|
525
|
+
<td>
|
526
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 11</span>
|
527
|
+
|
528
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dummy'>dummy</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
529
|
+
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
530
|
+
<span class='kw'>end</span></pre>
|
531
|
+
</td>
|
532
|
+
</tr>
|
533
|
+
</table>
|
534
|
+
</div>
|
535
|
+
|
536
|
+
</div>
|
537
|
+
|
538
|
+
<div id="instance_method_details" class="method_details_list">
|
539
|
+
<h2>Instance Method Details</h2>
|
540
|
+
|
541
|
+
|
542
|
+
<div class="method_details first">
|
543
|
+
<h3 class="signature first" id="[]-instance_method">
|
544
|
+
|
545
|
+
#<strong>[]</strong>(name) ⇒ <tt>Object</tt>
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
|
551
|
+
</h3><div class="docstring">
|
552
|
+
<div class="discussion">
|
553
|
+
|
554
|
+
<p>Return the WiredActions of a middleware</p>
|
555
|
+
|
556
|
+
|
557
|
+
</div>
|
558
|
+
</div>
|
559
|
+
<div class="tags">
|
560
|
+
|
561
|
+
|
562
|
+
</div><table class="source_code">
|
563
|
+
<tr>
|
564
|
+
<td>
|
565
|
+
<pre class="lines">
|
566
|
+
|
567
|
+
|
568
|
+
36
|
569
|
+
37
|
570
|
+
38</pre>
|
571
|
+
</td>
|
572
|
+
<td>
|
573
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 36</span>
|
574
|
+
|
575
|
+
<span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
576
|
+
<span class='ivar'>@hash</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
577
|
+
<span class='kw'>end</span></pre>
|
578
|
+
</td>
|
579
|
+
</tr>
|
580
|
+
</table>
|
581
|
+
</div>
|
582
|
+
|
583
|
+
<div class="method_details ">
|
584
|
+
<h3 class="signature " id="app_wired_actions-instance_method">
|
585
|
+
|
586
|
+
#<strong>app_wired_actions</strong> ⇒ <tt>Object</tt>
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
591
|
+
|
592
|
+
</h3><div class="docstring">
|
593
|
+
<div class="discussion">
|
594
|
+
|
595
|
+
<p>Return the WiredActions of the app</p>
|
596
|
+
|
597
|
+
|
598
|
+
</div>
|
599
|
+
</div>
|
600
|
+
<div class="tags">
|
601
|
+
|
602
|
+
|
603
|
+
</div><table class="source_code">
|
604
|
+
<tr>
|
605
|
+
<td>
|
606
|
+
<pre class="lines">
|
607
|
+
|
608
|
+
|
609
|
+
31
|
610
|
+
32
|
611
|
+
33</pre>
|
612
|
+
</td>
|
613
|
+
<td>
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/ovto/wired_action_set.rb', line 31</span>
|
615
|
+
|
616
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_app_wired_actions'>app_wired_actions</span>
|
617
|
+
<span class='ivar'>@hash</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="#I_AM_APP_NOT_A_MIDDLEWARE-constant" title="Ovto::WiredActionSet::I_AM_APP_NOT_A_MIDDLEWARE (constant)">I_AM_APP_NOT_A_MIDDLEWARE</a></span></span><span class='rbracket'>]</span>
|
618
|
+
<span class='kw'>end</span></pre>
|
619
|
+
</td>
|
620
|
+
</tr>
|
621
|
+
</table>
|
622
|
+
</div>
|
623
|
+
|
624
|
+
</div>
|
625
|
+
|
626
|
+
</div>
|
627
|
+
|
628
|
+
<div id="footer">
|
629
|
+
Generated on Sat Feb 29 23:26:32 2020 by
|
630
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
631
|
+
0.9.24 (ruby-2.5.5).
|
632
|
+
</div>
|
633
|
+
|
634
|
+
</div>
|
635
|
+
</body>
|
636
|
+
</html>
|