ovto 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +3 -0
  3. data/CHANGELOG.md +4 -0
  4. data/Gemfile +2 -3
  5. data/Gemfile.lock +21 -25
  6. data/book/api/middleware.md +8 -2
  7. data/docs/api/Array.html +190 -0
  8. data/docs/api/Hash.html +196 -0
  9. data/docs/api/Ovto/Actions.html +1 -1
  10. data/docs/api/Ovto/App.html +1 -1
  11. data/docs/api/Ovto/Component/MoreThanOneNode.html +1 -1
  12. data/docs/api/Ovto/Component.html +1 -1
  13. data/docs/api/Ovto/Middleware/Actions.html +428 -0
  14. data/docs/api/Ovto/Middleware/Base.html +606 -0
  15. data/docs/api/Ovto/Middleware/Component.html +355 -0
  16. data/docs/api/Ovto/Middleware.html +288 -0
  17. data/docs/api/Ovto/PureComponent/StateIsNotAvailable.html +1 -1
  18. data/docs/api/Ovto/PureComponent.html +1 -1
  19. data/docs/api/Ovto/Runtime.html +1 -1
  20. data/docs/api/Ovto/State/MissingValue.html +1 -1
  21. data/docs/api/Ovto/State/UnknownStateKey.html +135 -0
  22. data/docs/api/Ovto/State.html +2 -2
  23. data/docs/api/Ovto/WiredActionSet.html +636 -0
  24. data/docs/api/Ovto/WiredActions.html +1 -1
  25. data/docs/api/Ovto.html +3 -3
  26. data/docs/api/_index.html +27 -4
  27. data/docs/api/actions.html +16 -3
  28. data/docs/api/app.html +15 -2
  29. data/docs/api/class_list.html +1 -1
  30. data/docs/api/component.html +15 -2
  31. data/docs/api/fetch.html +17 -4
  32. data/docs/api/file.README.html +1 -1
  33. data/docs/api/index.html +1 -1
  34. data/docs/api/method_list.html +85 -53
  35. data/docs/api/middleware.html +498 -0
  36. data/docs/api/pure_component.html +17 -4
  37. data/docs/api/state.html +15 -2
  38. data/docs/api/top-level-namespace.html +4 -2
  39. data/docs/guides/debugging.html +15 -2
  40. data/docs/guides/development.html +15 -2
  41. data/docs/guides/install.html +15 -2
  42. data/docs/guides/tutorial.html +15 -2
  43. data/docs/index.html +15 -2
  44. data/docs/search_index.json +1 -1
  45. data/examples/sinatra/Gemfile +2 -0
  46. data/examples/sinatra/Gemfile.lock +32 -30
  47. data/examples/sinatra/app.rb +1 -4
  48. data/examples/sinatra/config.ru +6 -6
  49. data/examples/static/Gemfile.lock +9 -9
  50. data/lib/ovto/component.rb +3 -0
  51. data/lib/ovto/version.rb +1 -1
  52. data/lib/ovto.rb +2 -1
  53. metadata +15 -7
@@ -0,0 +1,355 @@
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::Middleware::Component
8
+
9
+ &mdash; 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::Middleware::Component";
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 (C)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Ovto.html" title="Ovto (module)">Ovto</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Middleware.html" title="Ovto::Middleware (module)">Middleware</a></span></span>
41
+ &raquo;
42
+ <span class="title">Component</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::Middleware::Component
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="../Component.html" title="Ovto::Component (class)">Component</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="../Component.html" title="Ovto::Component (class)">Component</a></span></li>
78
+
79
+ <li class="next">Ovto::Middleware::Component</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/ovto/middleware.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Base class of middleware component Basically the same as Ovto::Component
108
+ but `actions` is wired to middleware actions.</p>
109
+
110
+
111
+ </div>
112
+ </div>
113
+ <div class="tags">
114
+
115
+
116
+ </div>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ <h2>
125
+ Class Method Summary
126
+ <small><a href="#" class="summary_toggle">collapse</a></small>
127
+ </h2>
128
+
129
+ <ul class="summary">
130
+
131
+ <li class="public ">
132
+ <span class="summary_signature">
133
+
134
+ <a href="#middleware_name-class_method" title="middleware_name (class method)">.<strong>middleware_name</strong> &#x21d2; Object </a>
135
+
136
+
137
+
138
+ </span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+ <span class="summary_desc"><div class='inline'></div></span>
149
+
150
+ </li>
151
+
152
+
153
+ </ul>
154
+
155
+ <h2>
156
+ Instance Method Summary
157
+ <small><a href="#" class="summary_toggle">collapse</a></small>
158
+ </h2>
159
+
160
+ <ul class="summary">
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#middleware_name-instance_method" title="#middleware_name (instance method)">#<strong>middleware_name</strong> &#x21d2; Object </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <span class="summary_desc"><div class='inline'>
180
+ <p>The name of the middleware this component belongs to.</p>
181
+ </div></span>
182
+
183
+ </li>
184
+
185
+
186
+ <li class="public ">
187
+ <span class="summary_signature">
188
+
189
+ <a href="#state-instance_method" title="#state (instance method)">#<strong>state</strong> &#x21d2; Object </a>
190
+
191
+
192
+
193
+ </span>
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+ <span class="summary_desc"><div class='inline'></div></span>
204
+
205
+ </li>
206
+
207
+
208
+ </ul>
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Component.html" title="Ovto::Component (class)">Component</a></span></h3>
221
+ <p class="inherited"><span class='object_link'><a href="../Component.html#hash_to_js_obj-class_method" title="Ovto::Component.hash_to_js_obj (method)">hash_to_js_obj</a></span>, <span class='object_link'><a href="../Component.html#initialize-instance_method" title="Ovto::Component#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Component.html#render-instance_method" title="Ovto::Component#render (method)">#render</a></span></p>
222
+ <div id="constructor_details" class="method_details_list">
223
+ <h2>Constructor Details</h2>
224
+
225
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Component.html#initialize-instance_method" title="Ovto::Component#initialize (method)">Ovto::Component</a></span></p>
226
+
227
+ </div>
228
+
229
+
230
+ <div id="class_method_details" class="method_details_list">
231
+ <h2>Class Method Details</h2>
232
+
233
+
234
+ <div class="method_details first">
235
+ <h3 class="signature first" id="middleware_name-class_method">
236
+
237
+ .<strong>middleware_name</strong> &#x21d2; <tt>Object</tt>
238
+
239
+
240
+
241
+
242
+
243
+ </h3><table class="source_code">
244
+ <tr>
245
+ <td>
246
+ <pre class="lines">
247
+
248
+
249
+ 107
250
+ 108
251
+ 109</pre>
252
+ </td>
253
+ <td>
254
+ <pre class="code"><span class="info file"># File 'lib/ovto/middleware.rb', line 107</span>
255
+
256
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_middleware_name'>middleware_name</span>
257
+ <span class='kw'>self</span><span class='op'>::</span><span class='const'>OVTO_MIDDLEWARE_NAME</span>
258
+ <span class='kw'>end</span></pre>
259
+ </td>
260
+ </tr>
261
+ </table>
262
+ </div>
263
+
264
+ </div>
265
+
266
+ <div id="instance_method_details" class="method_details_list">
267
+ <h2>Instance Method Details</h2>
268
+
269
+
270
+ <div class="method_details first">
271
+ <h3 class="signature first" id="middleware_name-instance_method">
272
+
273
+ #<strong>middleware_name</strong> &#x21d2; <tt>Object</tt>
274
+
275
+
276
+
277
+
278
+
279
+ </h3><div class="docstring">
280
+ <div class="discussion">
281
+
282
+ <p>The name of the middleware this component belongs to</p>
283
+
284
+
285
+ </div>
286
+ </div>
287
+ <div class="tags">
288
+
289
+
290
+ </div><table class="source_code">
291
+ <tr>
292
+ <td>
293
+ <pre class="lines">
294
+
295
+
296
+ 112
297
+ 113
298
+ 114</pre>
299
+ </td>
300
+ <td>
301
+ <pre class="code"><span class="info file"># File 'lib/ovto/middleware.rb', line 112</span>
302
+
303
+ <span class='kw'>def</span> <span class='id identifier rubyid_middleware_name'>middleware_name</span>
304
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='op'>::</span><span class='const'>OVTO_MIDDLEWARE_NAME</span>
305
+ <span class='kw'>end</span></pre>
306
+ </td>
307
+ </tr>
308
+ </table>
309
+ </div>
310
+
311
+ <div class="method_details ">
312
+ <h3 class="signature " id="state-instance_method">
313
+
314
+ #<strong>state</strong> &#x21d2; <tt>Object</tt>
315
+
316
+
317
+
318
+
319
+
320
+ </h3><table class="source_code">
321
+ <tr>
322
+ <td>
323
+ <pre class="lines">
324
+
325
+
326
+ 116
327
+ 117
328
+ 118
329
+ 119</pre>
330
+ </td>
331
+ <td>
332
+ <pre class="code"><span class="info file"># File 'lib/ovto/middleware.rb', line 116</span>
333
+
334
+ <span class='kw'>def</span> <span class='id identifier rubyid_state'>state</span>
335
+ <span class='id identifier rubyid_app_state'>app_state</span> <span class='op'>=</span> <span class='kw'>super</span>
336
+ <span class='kw'>return</span> <span class='const'><span class='object_link'><a href="../../Ovto.html" title="Ovto (module)">Ovto</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Middleware.html" title="Ovto::Middleware (module)">Middleware</a></span></span><span class='period'>.</span><span class='id identifier rubyid_dig_middleware_state'><span class='object_link'><a href="../Middleware.html#dig_middleware_state-class_method" title="Ovto::Middleware.dig_middleware_state (method)">dig_middleware_state</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_app_state'>app_state</span><span class='comma'>,</span> <span class='ivar'>@middleware_path</span><span class='rparen'>)</span>
337
+ <span class='kw'>end</span></pre>
338
+ </td>
339
+ </tr>
340
+ </table>
341
+ </div>
342
+
343
+ </div>
344
+
345
+ </div>
346
+
347
+ <div id="footer">
348
+ Generated on Sat Feb 29 23:26:32 2020 by
349
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
350
+ 0.9.24 (ruby-2.5.5).
351
+ </div>
352
+
353
+ </div>
354
+ </body>
355
+ </html>
@@ -0,0 +1,288 @@
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: Ovto::Middleware
8
+
9
+ &mdash; 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::Middleware";
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 (M)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Ovto.html" title="Ovto (module)">Ovto</a></span></span>
41
+ &raquo;
42
+ <span class="title">Middleware</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: Ovto::Middleware
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/ovto/middleware.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+ <h2>Defined Under Namespace</h2>
87
+ <p class="children">
88
+
89
+
90
+
91
+
92
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Middleware/Actions.html" title="Ovto::Middleware::Actions (class)">Actions</a></span>, <span class='object_link'><a href="Middleware/Base.html" title="Ovto::Middleware::Base (class)">Base</a></span>, <span class='object_link'><a href="Middleware/Component.html" title="Ovto::Middleware::Component (class)">Component</a></span>
93
+
94
+
95
+ </p>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <h2>
105
+ Class Method Summary
106
+ <small><a href="#" class="summary_toggle">collapse</a></small>
107
+ </h2>
108
+
109
+ <ul class="summary">
110
+
111
+ <li class="public ">
112
+ <span class="summary_signature">
113
+
114
+ <a href="#create_middleware_states_class-class_method" title="create_middleware_states_class (class method)">.<strong>create_middleware_states_class</strong>(middlewares) &#x21d2; Object </a>
115
+
116
+
117
+
118
+ </span>
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ <span class="summary_desc"><div class='inline'>
129
+ <p>(internal) Create a subclass of Ovto::State that handles states of
130
+ `middlewares` Called from App#initialize.</p>
131
+ </div></span>
132
+
133
+ </li>
134
+
135
+
136
+ <li class="public ">
137
+ <span class="summary_signature">
138
+
139
+ <a href="#dig_middleware_state-class_method" title="dig_middleware_state (class method)">.<strong>dig_middleware_state</strong>(app_state, middleware_path) &#x21d2; Object </a>
140
+
141
+
142
+
143
+ </span>
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+ <span class="summary_desc"><div class='inline'>
154
+ <p>Get the state of the middleware specified with `middleware_path`.</p>
155
+ </div></span>
156
+
157
+ </li>
158
+
159
+
160
+ </ul>
161
+
162
+
163
+
164
+
165
+ <div id="class_method_details" class="method_details_list">
166
+ <h2>Class Method Details</h2>
167
+
168
+
169
+ <div class="method_details first">
170
+ <h3 class="signature first" id="create_middleware_states_class-class_method">
171
+
172
+ .<strong>create_middleware_states_class</strong>(middlewares) &#x21d2; <tt>Object</tt>
173
+
174
+
175
+
176
+
177
+
178
+ </h3><div class="docstring">
179
+ <div class="discussion">
180
+
181
+ <p>(internal) Create a subclass of Ovto::State that handles states of
182
+ `middlewares` Called from App#initialize</p>
183
+
184
+
185
+ </div>
186
+ </div>
187
+ <div class="tags">
188
+
189
+
190
+ </div><table class="source_code">
191
+ <tr>
192
+ <td>
193
+ <pre class="lines">
194
+
195
+
196
+ 24
197
+ 25
198
+ 26
199
+ 27
200
+ 28
201
+ 29
202
+ 30
203
+ 31
204
+ 32
205
+ 33
206
+ 34
207
+ 35
208
+ 36</pre>
209
+ </td>
210
+ <td>
211
+ <pre class="code"><span class="info file"># File 'lib/ovto/middleware.rb', line 24</span>
212
+
213
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_create_middleware_states_class'>create_middleware_states_class</span><span class='lparen'>(</span><span class='id identifier rubyid_middlewares'>middlewares</span><span class='rparen'>)</span>
214
+ <span class='kw'>return</span> <span class='const'>Class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Ovto.html" title="Ovto (module)">Ovto</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="State.html" title="Ovto::State (class)">State</a></span></span><span class='rparen'>)</span><span class='lbrace'>{</span>
215
+ <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>
216
+ <span class='id identifier rubyid_item'>item</span> <span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>default_proc:</span> <span class='tlambda'>-&gt;</span><span class='tlambeg'>{</span>
217
+ <span class='id identifier rubyid_mw_state_class'>mw_state_class</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'>&#39;</span><span class='tstring_content'>State</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
218
+ <span class='id identifier rubyid_mw_state_class'>mw_state_class</span><span class='period'>.</span><span class='id identifier rubyid_item'>item</span> <span class='symbol'>:_middlewares</span><span class='comma'>,</span> <span class='label'>default_proc:</span> <span class='tlambda'>-&gt;</span> <span class='tlambeg'>{</span>
219
+ <span class='const'><span class='object_link'><a href="../Ovto.html" title="Ovto (module)">Ovto</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Ovto::Middleware (module)">Middleware</a></span></span><span class='period'>.</span><span class='id identifier rubyid_create_middleware_states_class'>create_middleware_states_class</span><span class='lparen'>(</span><span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_middlewares'>middlewares</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
220
+ <span class='rbrace'>}</span>
221
+ <span class='id identifier rubyid_mw_state_class'>mw_state_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
222
+ <span class='rbrace'>}</span>
223
+ <span class='kw'>end</span>
224
+ <span class='rbrace'>}</span>
225
+ <span class='kw'>end</span></pre>
226
+ </td>
227
+ </tr>
228
+ </table>
229
+ </div>
230
+
231
+ <div class="method_details ">
232
+ <h3 class="signature " id="dig_middleware_state-class_method">
233
+
234
+ .<strong>dig_middleware_state</strong>(app_state, middleware_path) &#x21d2; <tt>Object</tt>
235
+
236
+
237
+
238
+
239
+
240
+ </h3><div class="docstring">
241
+ <div class="discussion">
242
+
243
+ <p>Get the state of the middleware specified with `middleware_path`</p>
244
+
245
+
246
+ </div>
247
+ </div>
248
+ <div class="tags">
249
+
250
+
251
+ </div><table class="source_code">
252
+ <tr>
253
+ <td>
254
+ <pre class="lines">
255
+
256
+
257
+ 39
258
+ 40
259
+ 41
260
+ 42
261
+ 43</pre>
262
+ </td>
263
+ <td>
264
+ <pre class="code"><span class="info file"># File 'lib/ovto/middleware.rb', line 39</span>
265
+
266
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dig_middleware_state'>dig_middleware_state</span><span class='lparen'>(</span><span class='id identifier rubyid_app_state'>app_state</span><span class='comma'>,</span> <span class='id identifier rubyid_middleware_path'>middleware_path</span><span class='rparen'>)</span>
267
+ <span class='kw'>return</span> <span class='id identifier rubyid_middleware_path'>middleware_path</span><span class='period'>.</span><span class='id identifier rubyid_inject'>inject</span><span class='lparen'>(</span><span class='id identifier rubyid_app_state'>app_state</span><span class='rparen'>)</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_state'>state</span><span class='comma'>,</span> <span class='id identifier rubyid_middleware_name'>middleware_name</span><span class='op'>|</span>
268
+ <span class='id identifier rubyid_state'>state</span><span class='period'>.</span><span class='id identifier rubyid__middlewares'>_middlewares</span><span class='period'>.</span><span class='id identifier rubyid___send__'>__send__</span><span class='lparen'>(</span><span class='id identifier rubyid_middleware_name'>middleware_name</span><span class='rparen'>)</span>
269
+ <span class='rbrace'>}</span>
270
+ <span class='kw'>end</span></pre>
271
+ </td>
272
+ </tr>
273
+ </table>
274
+ </div>
275
+
276
+ </div>
277
+
278
+ </div>
279
+
280
+ <div id="footer">
281
+ Generated on Sat Feb 29 23:26:32 2020 by
282
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
283
+ 0.9.24 (ruby-2.5.5).
284
+ </div>
285
+
286
+ </div>
287
+ </body>
288
+ </html>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Fri Feb 28 23:42:46 2020 by
117
+ Generated on Sat Feb 29 23:26:32 2020 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.24 (ruby-2.5.5).
120
120
  </div>
@@ -358,7 +358,7 @@
358
358
  </div>
359
359
 
360
360
  <div id="footer">
361
- Generated on Fri Feb 28 23:42:46 2020 by
361
+ Generated on Sat Feb 29 23:26:32 2020 by
362
362
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
363
363
  0.9.24 (ruby-2.5.5).
364
364
  </div>
@@ -313,7 +313,7 @@
313
313
  </div>
314
314
 
315
315
  <div id="footer">
316
- Generated on Fri Feb 28 23:42:46 2020 by
316
+ Generated on Sat Feb 29 23:26:32 2020 by
317
317
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
318
318
  0.9.24 (ruby-2.5.5).
319
319
  </div>
@@ -125,7 +125,7 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Fri Feb 28 23:42:46 2020 by
128
+ Generated on Sat Feb 29 23:26:32 2020 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.24 (ruby-2.5.5).
131
131
  </div>