wee 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +18 -0
- data/doc/rdoc/classes/Enumerable.html +6 -6
- data/doc/rdoc/classes/Object.html +12 -12
- data/doc/rdoc/classes/OgScaffolder.html +53 -6
- data/doc/rdoc/classes/OgScaffolder/Editor.html +182 -107
- data/doc/rdoc/classes/String.html +12 -12
- data/doc/rdoc/classes/Wee/AnswerDecoration.html +9 -9
- data/doc/rdoc/classes/Wee/Application.html +42 -42
- data/doc/rdoc/classes/Wee/Brush.html +18 -18
- data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/FormTag.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +84 -84
- data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +15 -15
- data/doc/rdoc/classes/Wee/Brush/ImageTag.html +18 -18
- data/doc/rdoc/classes/Wee/Brush/InputTag.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +31 -23
- data/doc/rdoc/classes/Wee/Brush/SelectListTag/SelectListCallback.html +11 -7
- data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +36 -36
- data/doc/rdoc/classes/Wee/Brush/TableTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
- data/doc/rdoc/classes/Wee/CallbackRegistry.html +36 -36
- data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
- data/doc/rdoc/classes/Wee/Canvas.html +24 -24
- data/doc/rdoc/classes/Wee/Component.html +124 -124
- data/doc/rdoc/classes/Wee/Component/OnAnswer.html +6 -6
- data/doc/rdoc/classes/Wee/Decoration.html +40 -40
- data/doc/rdoc/classes/Wee/Delegate.html +27 -27
- data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
- data/doc/rdoc/classes/Wee/FormDecoration.html +6 -6
- data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
- data/doc/rdoc/classes/Wee/HtmlCanvas.html +214 -214
- data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
- data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +12 -12
- data/doc/rdoc/classes/Wee/Md5IdGenerator.html +12 -12
- data/doc/rdoc/classes/Wee/MessageBox.html +12 -12
- data/doc/rdoc/classes/Wee/PageDecoration.html +18 -18
- data/doc/rdoc/classes/Wee/PagelessApplication.html +6 -6
- data/doc/rdoc/classes/Wee/PagelessRequest.html +12 -12
- data/doc/rdoc/classes/Wee/PagelessSession.html +24 -24
- data/doc/rdoc/classes/Wee/Presenter.html +85 -85
- data/doc/rdoc/classes/Wee/RedirectResponse.html +6 -6
- data/doc/rdoc/classes/Wee/RefreshResponse.html +6 -6
- data/doc/rdoc/classes/Wee/Request.html +30 -30
- data/doc/rdoc/classes/Wee/RequestHandler.html +31 -31
- data/doc/rdoc/classes/Wee/Response.html +36 -36
- data/doc/rdoc/classes/Wee/Session.html +104 -104
- data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +12 -12
- data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
- data/doc/rdoc/classes/Wee/Utils.html +19 -19
- data/doc/rdoc/classes/Wee/Utils/LRUCache.html +6 -6
- data/doc/rdoc/classes/Wee/ValueHolder.html +18 -18
- data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +46 -46
- data/doc/rdoc/classes/Wee/WrapperDecoration.html +6 -6
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README.html +5 -5
- data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
- data/doc/rdoc/files/lib/wee/databases/og/scaffolder_rb.html +8 -1
- data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
- data/doc/rdoc/fr_method_index.html +268 -264
- data/lib/wee.rb +1 -1
- data/lib/wee/databases/og/scaffolder.rb +62 -17
- data/lib/wee/renderer/html/brushes.rb +17 -5
- metadata +21 -21
@@ -97,23 +97,23 @@
|
|
97
97
|
<h3 class="section-bar">Methods</h3>
|
98
98
|
|
99
99
|
<div class="name-list">
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
100
|
+
<a href="#M000204">awake</a>
|
101
|
+
<a href="#M000203">create_page</a>
|
102
|
+
<a href="#M000199">current</a>
|
103
|
+
<a href="#M000208">current_callbacks</a>
|
104
|
+
<a href="#M000207">current_context</a>
|
105
|
+
<a href="#M000209">get_property</a>
|
106
|
+
<a href="#M000210">handle_new_page_view</a>
|
107
|
+
<a href="#M000202">handle_request</a>
|
108
|
+
<a href="#M000214">handle_request</a>
|
109
|
+
<a href="#M000200">new</a>
|
110
|
+
<a href="#M000213">new</a>
|
111
|
+
<a href="#M000206">process_request</a>
|
112
|
+
<a href="#M000212">respond</a>
|
113
|
+
<a href="#M000211">set_response</a>
|
114
|
+
<a href="#M000205">sleep</a>
|
115
|
+
<a href="#M000201">snapshot</a>
|
116
|
+
<a href="#M000215">start_request_response_loop</a>
|
117
117
|
</div>
|
118
118
|
</div>
|
119
119
|
|
@@ -153,19 +153,19 @@
|
|
153
153
|
<div id="methods">
|
154
154
|
<h3 class="section-bar">Public Class methods</h3>
|
155
155
|
|
156
|
-
<div id="method-
|
157
|
-
<a name="
|
156
|
+
<div id="method-M000199" class="method-detail">
|
157
|
+
<a name="M000199"></a>
|
158
158
|
|
159
159
|
<div class="method-heading">
|
160
|
-
<a href="#
|
160
|
+
<a href="#M000199" class="method-signature">
|
161
161
|
<span class="method-name">current</span><span class="method-args">()</span>
|
162
162
|
</a>
|
163
163
|
</div>
|
164
164
|
|
165
165
|
<div class="method-description">
|
166
166
|
<p><a class="source-toggle" href="#"
|
167
|
-
onclick="toggleCode('
|
168
|
-
<div class="method-source-code" id="
|
167
|
+
onclick="toggleCode('M000199-source');return false;">[Source]</a></p>
|
168
|
+
<div class="method-source-code" id="M000199-source">
|
169
169
|
<pre>
|
170
170
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 7</span>
|
171
171
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">current</span>
|
@@ -178,19 +178,19 @@
|
|
178
178
|
</div>
|
179
179
|
</div>
|
180
180
|
|
181
|
-
<div id="method-
|
182
|
-
<a name="
|
181
|
+
<div id="method-M000200" class="method-detail">
|
182
|
+
<a name="M000200"></a>
|
183
183
|
|
184
184
|
<div class="method-heading">
|
185
|
-
<a href="#
|
185
|
+
<a href="#M000200" class="method-signature">
|
186
186
|
<span class="method-name">new</span><span class="method-args">(&block)</span>
|
187
187
|
</a>
|
188
188
|
</div>
|
189
189
|
|
190
190
|
<div class="method-description">
|
191
191
|
<p><a class="source-toggle" href="#"
|
192
|
-
onclick="toggleCode('
|
193
|
-
<div class="method-source-code" id="
|
192
|
+
onclick="toggleCode('M000200-source');return false;">[Source]</a></p>
|
193
|
+
<div class="method-source-code" id="M000200-source">
|
194
194
|
<pre>
|
195
195
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 13</span>
|
196
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -219,23 +219,23 @@
|
|
219
219
|
|
220
220
|
<h3 class="section-bar">Public Instance methods</h3>
|
221
221
|
|
222
|
-
<div id="method-
|
223
|
-
<a name="
|
222
|
+
<div id="method-M000204" class="method-detail">
|
223
|
+
<a name="M000204"></a>
|
224
224
|
|
225
225
|
<div class="method-heading">
|
226
|
-
<a href="#
|
226
|
+
<a href="#M000204" class="method-signature">
|
227
227
|
<span class="method-name">awake</span><span class="method-args">()</span>
|
228
228
|
</a>
|
229
229
|
</div>
|
230
230
|
|
231
231
|
<div class="method-description">
|
232
232
|
<p>
|
233
|
-
Is called before <a href="Session.html#
|
233
|
+
Is called before <a href="Session.html#M000206">process_request</a> is
|
234
234
|
invoked Can be used to setup e.g. a database connection.
|
235
235
|
</p>
|
236
236
|
<p><a class="source-toggle" href="#"
|
237
|
-
onclick="toggleCode('
|
238
|
-
<div class="method-source-code" id="
|
237
|
+
onclick="toggleCode('M000204-source');return false;">[Source]</a></p>
|
238
|
+
<div class="method-source-code" id="M000204-source">
|
239
239
|
<pre>
|
240
240
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 66</span>
|
241
241
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">awake</span>
|
@@ -245,19 +245,19 @@ invoked Can be used to setup e.g. a database connection.
|
|
245
245
|
</div>
|
246
246
|
</div>
|
247
247
|
|
248
|
-
<div id="method-
|
249
|
-
<a name="
|
248
|
+
<div id="method-M000203" class="method-detail">
|
249
|
+
<a name="M000203"></a>
|
250
250
|
|
251
251
|
<div class="method-heading">
|
252
|
-
<a href="#
|
252
|
+
<a href="#M000203" class="method-signature">
|
253
253
|
<span class="method-name">create_page</span><span class="method-args">(snapshot)</span>
|
254
254
|
</a>
|
255
255
|
</div>
|
256
256
|
|
257
257
|
<div class="method-description">
|
258
258
|
<p><a class="source-toggle" href="#"
|
259
|
-
onclick="toggleCode('
|
260
|
-
<div class="method-source-code" id="
|
259
|
+
onclick="toggleCode('M000203-source');return false;">[Source]</a></p>
|
260
|
+
<div class="method-source-code" id="M000203-source">
|
261
261
|
<pre>
|
262
262
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 59</span>
|
263
263
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_page</span>(<span class="ruby-identifier">snapshot</span>)
|
@@ -269,19 +269,19 @@ invoked Can be used to setup e.g. a database connection.
|
|
269
269
|
</div>
|
270
270
|
</div>
|
271
271
|
|
272
|
-
<div id="method-
|
273
|
-
<a name="
|
272
|
+
<div id="method-M000208" class="method-detail">
|
273
|
+
<a name="M000208"></a>
|
274
274
|
|
275
275
|
<div class="method-heading">
|
276
|
-
<a href="#
|
276
|
+
<a href="#M000208" class="method-signature">
|
277
277
|
<span class="method-name">current_callbacks</span><span class="method-args">()</span>
|
278
278
|
</a>
|
279
279
|
</div>
|
280
280
|
|
281
281
|
<div class="method-description">
|
282
282
|
<p><a class="source-toggle" href="#"
|
283
|
-
onclick="toggleCode('
|
284
|
-
<div class="method-source-code" id="
|
283
|
+
onclick="toggleCode('M000208-source');return false;">[Source]</a></p>
|
284
|
+
<div class="method-source-code" id="M000208-source">
|
285
285
|
<pre>
|
286
286
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 153</span>
|
287
287
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_callbacks</span>
|
@@ -292,19 +292,19 @@ invoked Can be used to setup e.g. a database connection.
|
|
292
292
|
</div>
|
293
293
|
</div>
|
294
294
|
|
295
|
-
<div id="method-
|
296
|
-
<a name="
|
295
|
+
<div id="method-M000207" class="method-detail">
|
296
|
+
<a name="M000207"></a>
|
297
297
|
|
298
298
|
<div class="method-heading">
|
299
|
-
<a href="#
|
299
|
+
<a href="#M000207" class="method-signature">
|
300
300
|
<span class="method-name">current_context</span><span class="method-args">()</span>
|
301
301
|
</a>
|
302
302
|
</div>
|
303
303
|
|
304
304
|
<div class="method-description">
|
305
305
|
<p><a class="source-toggle" href="#"
|
306
|
-
onclick="toggleCode('
|
307
|
-
<div class="method-source-code" id="
|
306
|
+
onclick="toggleCode('M000207-source');return false;">[Source]</a></p>
|
307
|
+
<div class="method-source-code" id="M000207-source">
|
308
308
|
<pre>
|
309
309
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 149</span>
|
310
310
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_context</span>
|
@@ -315,11 +315,11 @@ invoked Can be used to setup e.g. a database connection.
|
|
315
315
|
</div>
|
316
316
|
</div>
|
317
317
|
|
318
|
-
<div id="method-
|
319
|
-
<a name="
|
318
|
+
<div id="method-M000202" class="method-detail">
|
319
|
+
<a name="M000202"></a>
|
320
320
|
|
321
321
|
<div class="method-heading">
|
322
|
-
<a href="#
|
322
|
+
<a href="#M000202" class="method-signature">
|
323
323
|
<span class="method-name">handle_request</span><span class="method-args">(context)</span>
|
324
324
|
</a>
|
325
325
|
</div>
|
@@ -329,8 +329,8 @@ invoked Can be used to setup e.g. a database connection.
|
|
329
329
|
called by application to send the session a request
|
330
330
|
</p>
|
331
331
|
<p><a class="source-toggle" href="#"
|
332
|
-
onclick="toggleCode('
|
333
|
-
<div class="method-source-code" id="
|
332
|
+
onclick="toggleCode('M000202-source');return false;">[Source]</a></p>
|
333
|
+
<div class="method-source-code" id="M000202-source">
|
334
334
|
<pre>
|
335
335
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 40</span>
|
336
336
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">handle_request</span>(<span class="ruby-identifier">context</span>)
|
@@ -356,19 +356,19 @@ called by application to send the session a request
|
|
356
356
|
</div>
|
357
357
|
</div>
|
358
358
|
|
359
|
-
<div id="method-
|
360
|
-
<a name="
|
359
|
+
<div id="method-M000206" class="method-detail">
|
360
|
+
<a name="M000206"></a>
|
361
361
|
|
362
362
|
<div class="method-heading">
|
363
|
-
<a href="#
|
363
|
+
<a href="#M000206" class="method-signature">
|
364
364
|
<span class="method-name">process_request</span><span class="method-args">()</span>
|
365
365
|
</a>
|
366
366
|
</div>
|
367
367
|
|
368
368
|
<div class="method-description">
|
369
369
|
<p><a class="source-toggle" href="#"
|
370
|
-
onclick="toggleCode('
|
371
|
-
<div class="method-source-code" id="
|
370
|
+
onclick="toggleCode('M000206-source');return false;">[Source]</a></p>
|
371
|
+
<div class="method-source-code" id="M000206-source">
|
372
372
|
<pre>
|
373
373
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 74</span>
|
374
374
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_request</span>
|
@@ -450,23 +450,23 @@ called by application to send the session a request
|
|
450
450
|
</div>
|
451
451
|
</div>
|
452
452
|
|
453
|
-
<div id="method-
|
454
|
-
<a name="
|
453
|
+
<div id="method-M000205" class="method-detail">
|
454
|
+
<a name="M000205"></a>
|
455
455
|
|
456
456
|
<div class="method-heading">
|
457
|
-
<a href="#
|
457
|
+
<a href="#M000205" class="method-signature">
|
458
458
|
<span class="method-name">sleep</span><span class="method-args">()</span>
|
459
459
|
</a>
|
460
460
|
</div>
|
461
461
|
|
462
462
|
<div class="method-description">
|
463
463
|
<p>
|
464
|
-
Is called after <a href="Session.html#
|
464
|
+
Is called after <a href="Session.html#M000206">process_request</a> is run
|
465
465
|
Can be used to release e.g. a database connection.
|
466
466
|
</p>
|
467
467
|
<p><a class="source-toggle" href="#"
|
468
|
-
onclick="toggleCode('
|
469
|
-
<div class="method-source-code" id="
|
468
|
+
onclick="toggleCode('M000205-source');return false;">[Source]</a></p>
|
469
|
+
<div class="method-source-code" id="M000205-source">
|
470
470
|
<pre>
|
471
471
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 71</span>
|
472
472
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sleep</span>
|
@@ -476,19 +476,19 @@ Can be used to release e.g. a database connection.
|
|
476
476
|
</div>
|
477
477
|
</div>
|
478
478
|
|
479
|
-
<div id="method-
|
480
|
-
<a name="
|
479
|
+
<div id="method-M000201" class="method-detail">
|
480
|
+
<a name="M000201"></a>
|
481
481
|
|
482
482
|
<div class="method-heading">
|
483
|
-
<a href="#
|
483
|
+
<a href="#M000201" class="method-signature">
|
484
484
|
<span class="method-name">snapshot</span><span class="method-args">()</span>
|
485
485
|
</a>
|
486
486
|
</div>
|
487
487
|
|
488
488
|
<div class="method-description">
|
489
489
|
<p><a class="source-toggle" href="#"
|
490
|
-
onclick="toggleCode('
|
491
|
-
<div class="method-source-code" id="
|
490
|
+
onclick="toggleCode('M000201-source');return false;">[Source]</a></p>
|
491
|
+
<div class="method-source-code" id="M000201-source">
|
492
492
|
<pre>
|
493
493
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 33</span>
|
494
494
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snapshot</span>
|
@@ -532,19 +532,19 @@ Can be used to release e.g. a database connection.
|
|
532
532
|
<div id="methods">
|
533
533
|
<h3 class="section-bar">Public Class methods</h3>
|
534
534
|
|
535
|
-
<div id="method-
|
536
|
-
<a name="
|
535
|
+
<div id="method-M000213" class="method-detail">
|
536
|
+
<a name="M000213"></a>
|
537
537
|
|
538
538
|
<div class="method-heading">
|
539
|
-
<a href="#
|
539
|
+
<a href="#M000213" class="method-signature">
|
540
540
|
<span class="method-name">new</span><span class="method-args">(&block)</span>
|
541
541
|
</a>
|
542
542
|
</div>
|
543
543
|
|
544
544
|
<div class="method-description">
|
545
545
|
<p><a class="source-toggle" href="#"
|
546
|
-
onclick="toggleCode('
|
547
|
-
<div class="method-source-code" id="
|
546
|
+
onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
|
547
|
+
<div class="method-source-code" id="M000213-source">
|
548
548
|
<pre>
|
549
549
|
<span class="ruby-comment cmt"># File lib/wee/continuation/session.rb, line 4</span>
|
550
550
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -572,11 +572,11 @@ Can be used to release e.g. a database connection.
|
|
572
572
|
|
573
573
|
<h3 class="section-bar">Public Instance methods</h3>
|
574
574
|
|
575
|
-
<div id="method-
|
576
|
-
<a name="
|
575
|
+
<div id="method-M000209" class="method-detail">
|
576
|
+
<a name="M000209"></a>
|
577
577
|
|
578
578
|
<div class="method-heading">
|
579
|
-
<a href="#
|
579
|
+
<a href="#M000209" class="method-signature">
|
580
580
|
<span class="method-name">get_property</span><span class="method-args">(prop, klass)</span>
|
581
581
|
</a>
|
582
582
|
</div>
|
@@ -586,8 +586,8 @@ Can be used to release e.g. a database connection.
|
|
586
586
|
Returns an "owned" property for the given <tt>klass</tt>.
|
587
587
|
</p>
|
588
588
|
<p><a class="source-toggle" href="#"
|
589
|
-
onclick="toggleCode('
|
590
|
-
<div class="method-source-code" id="
|
589
|
+
onclick="toggleCode('M000209-source');return false;">[Source]</a></p>
|
590
|
+
<div class="method-source-code" id="M000209-source">
|
591
591
|
<pre>
|
592
592
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 165</span>
|
593
593
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property</span>(<span class="ruby-identifier">prop</span>, <span class="ruby-identifier">klass</span>)
|
@@ -602,11 +602,11 @@ Returns an "owned" property for the given <tt>klass</tt>.
|
|
602
602
|
</div>
|
603
603
|
</div>
|
604
604
|
|
605
|
-
<div id="method-
|
606
|
-
<a name="
|
605
|
+
<div id="method-M000214" class="method-detail">
|
606
|
+
<a name="M000214"></a>
|
607
607
|
|
608
608
|
<div class="method-heading">
|
609
|
-
<a href="#
|
609
|
+
<a href="#M000214" class="method-signature">
|
610
610
|
<span class="method-name">handle_request</span><span class="method-args">(context)</span>
|
611
611
|
</a>
|
612
612
|
</div>
|
@@ -616,8 +616,8 @@ Returns an "owned" property for the given <tt>klass</tt>.
|
|
616
616
|
called by application to send the session a request
|
617
617
|
</p>
|
618
618
|
<p><a class="source-toggle" href="#"
|
619
|
-
onclick="toggleCode('
|
620
|
-
<div class="method-source-code" id="
|
619
|
+
onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
|
620
|
+
<div class="method-source-code" id="M000214-source">
|
621
621
|
<pre>
|
622
622
|
<span class="ruby-comment cmt"># File lib/wee/continuation/session.rb, line 24</span>
|
623
623
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">handle_request</span>(<span class="ruby-identifier">context</span>)
|
@@ -635,19 +635,19 @@ called by application to send the session a request
|
|
635
635
|
</div>
|
636
636
|
</div>
|
637
637
|
|
638
|
-
<div id="method-
|
639
|
-
<a name="
|
638
|
+
<div id="method-M000215" class="method-detail">
|
639
|
+
<a name="M000215"></a>
|
640
640
|
|
641
641
|
<div class="method-heading">
|
642
|
-
<a href="#
|
642
|
+
<a href="#M000215" class="method-signature">
|
643
643
|
<span class="method-name">start_request_response_loop</span><span class="method-args">()</span>
|
644
644
|
</a>
|
645
645
|
</div>
|
646
646
|
|
647
647
|
<div class="method-description">
|
648
648
|
<p><a class="source-toggle" href="#"
|
649
|
-
onclick="toggleCode('
|
650
|
-
<div class="method-source-code" id="
|
649
|
+
onclick="toggleCode('M000215-source');return false;">[Source]</a></p>
|
650
|
+
<div class="method-source-code" id="M000215-source">
|
651
651
|
<pre>
|
652
652
|
<span class="ruby-comment cmt"># File lib/wee/continuation/session.rb, line 35</span>
|
653
653
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_request_response_loop</span>
|
@@ -693,19 +693,19 @@ called by application to send the session a request
|
|
693
693
|
|
694
694
|
<h3 class="section-bar">Private Instance methods</h3>
|
695
695
|
|
696
|
-
<div id="method-
|
697
|
-
<a name="
|
696
|
+
<div id="method-M000210" class="method-detail">
|
697
|
+
<a name="M000210"></a>
|
698
698
|
|
699
699
|
<div class="method-heading">
|
700
|
-
<a href="#
|
700
|
+
<a href="#M000210" class="method-signature">
|
701
701
|
<span class="method-name">handle_new_page_view</span><span class="method-args">(context, snapshot=nil)</span>
|
702
702
|
</a>
|
703
703
|
</div>
|
704
704
|
|
705
705
|
<div class="method-description">
|
706
706
|
<p><a class="source-toggle" href="#"
|
707
|
-
onclick="toggleCode('
|
708
|
-
<div class="method-source-code" id="
|
707
|
+
onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
|
708
|
+
<div class="method-source-code" id="M000210-source">
|
709
709
|
<pre>
|
710
710
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 175</span>
|
711
711
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">handle_new_page_view</span>(<span class="ruby-identifier">context</span>, <span class="ruby-identifier">snapshot</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -721,19 +721,19 @@ called by application to send the session a request
|
|
721
721
|
</div>
|
722
722
|
</div>
|
723
723
|
|
724
|
-
<div id="method-
|
725
|
-
<a name="
|
724
|
+
<div id="method-M000212" class="method-detail">
|
725
|
+
<a name="M000212"></a>
|
726
726
|
|
727
727
|
<div class="method-heading">
|
728
|
-
<a href="#
|
728
|
+
<a href="#M000212" class="method-signature">
|
729
729
|
<span class="method-name">respond</span><span class="method-args">(context, callbacks)</span>
|
730
730
|
</a>
|
731
731
|
</div>
|
732
732
|
|
733
733
|
<div class="method-description">
|
734
734
|
<p><a class="source-toggle" href="#"
|
735
|
-
onclick="toggleCode('
|
736
|
-
<div class="method-source-code" id="
|
735
|
+
onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
|
736
|
+
<div class="method-source-code" id="M000212-source">
|
737
737
|
<pre>
|
738
738
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 188</span>
|
739
739
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond</span>(<span class="ruby-identifier">context</span>, <span class="ruby-identifier">callbacks</span>)
|
@@ -747,19 +747,19 @@ called by application to send the session a request
|
|
747
747
|
</div>
|
748
748
|
</div>
|
749
749
|
|
750
|
-
<div id="method-
|
751
|
-
<a name="
|
750
|
+
<div id="method-M000211" class="method-detail">
|
751
|
+
<a name="M000211"></a>
|
752
752
|
|
753
753
|
<div class="method-heading">
|
754
|
-
<a href="#
|
754
|
+
<a href="#M000211" class="method-signature">
|
755
755
|
<span class="method-name">set_response</span><span class="method-args">(context, response)</span>
|
756
756
|
</a>
|
757
757
|
</div>
|
758
758
|
|
759
759
|
<div class="method-description">
|
760
760
|
<p><a class="source-toggle" href="#"
|
761
|
-
onclick="toggleCode('
|
762
|
-
<div class="method-source-code" id="
|
761
|
+
onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
|
762
|
+
<div class="method-source-code" id="M000211-source">
|
763
763
|
<pre>
|
764
764
|
<span class="ruby-comment cmt"># File lib/wee/session.rb, line 184</span>
|
765
765
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_response</span>(<span class="ruby-identifier">context</span>, <span class="ruby-identifier">response</span>)
|