wee 0.6.0 → 0.7.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.
Files changed (74) hide show
  1. data/ChangeLog +18 -0
  2. data/doc/rdoc/classes/Enumerable.html +6 -6
  3. data/doc/rdoc/classes/Object.html +12 -12
  4. data/doc/rdoc/classes/OgScaffolder.html +53 -6
  5. data/doc/rdoc/classes/OgScaffolder/Editor.html +182 -107
  6. data/doc/rdoc/classes/String.html +12 -12
  7. data/doc/rdoc/classes/Wee/AnswerDecoration.html +9 -9
  8. data/doc/rdoc/classes/Wee/Application.html +42 -42
  9. data/doc/rdoc/classes/Wee/Brush.html +18 -18
  10. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +7 -7
  11. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +7 -7
  12. data/doc/rdoc/classes/Wee/Brush/FormTag.html +14 -14
  13. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
  14. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +6 -6
  15. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +84 -84
  16. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
  17. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +15 -15
  18. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +18 -18
  19. data/doc/rdoc/classes/Wee/Brush/InputTag.html +12 -12
  20. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +6 -6
  21. data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
  22. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +31 -23
  23. data/doc/rdoc/classes/Wee/Brush/SelectListTag/SelectListCallback.html +11 -7
  24. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +6 -6
  25. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
  26. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +14 -14
  27. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
  28. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +36 -36
  29. data/doc/rdoc/classes/Wee/Brush/TableTag.html +6 -6
  30. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +12 -12
  31. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
  32. data/doc/rdoc/classes/Wee/CallbackRegistry.html +36 -36
  33. data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
  34. data/doc/rdoc/classes/Wee/Canvas.html +24 -24
  35. data/doc/rdoc/classes/Wee/Component.html +124 -124
  36. data/doc/rdoc/classes/Wee/Component/OnAnswer.html +6 -6
  37. data/doc/rdoc/classes/Wee/Decoration.html +40 -40
  38. data/doc/rdoc/classes/Wee/Delegate.html +27 -27
  39. data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
  40. data/doc/rdoc/classes/Wee/FormDecoration.html +6 -6
  41. data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
  42. data/doc/rdoc/classes/Wee/HtmlCanvas.html +214 -214
  43. data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
  44. data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +12 -12
  45. data/doc/rdoc/classes/Wee/Md5IdGenerator.html +12 -12
  46. data/doc/rdoc/classes/Wee/MessageBox.html +12 -12
  47. data/doc/rdoc/classes/Wee/PageDecoration.html +18 -18
  48. data/doc/rdoc/classes/Wee/PagelessApplication.html +6 -6
  49. data/doc/rdoc/classes/Wee/PagelessRequest.html +12 -12
  50. data/doc/rdoc/classes/Wee/PagelessSession.html +24 -24
  51. data/doc/rdoc/classes/Wee/Presenter.html +85 -85
  52. data/doc/rdoc/classes/Wee/RedirectResponse.html +6 -6
  53. data/doc/rdoc/classes/Wee/RefreshResponse.html +6 -6
  54. data/doc/rdoc/classes/Wee/Request.html +30 -30
  55. data/doc/rdoc/classes/Wee/RequestHandler.html +31 -31
  56. data/doc/rdoc/classes/Wee/Response.html +36 -36
  57. data/doc/rdoc/classes/Wee/Session.html +104 -104
  58. data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +12 -12
  59. data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
  60. data/doc/rdoc/classes/Wee/Utils.html +19 -19
  61. data/doc/rdoc/classes/Wee/Utils/LRUCache.html +6 -6
  62. data/doc/rdoc/classes/Wee/ValueHolder.html +18 -18
  63. data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +46 -46
  64. data/doc/rdoc/classes/Wee/WrapperDecoration.html +6 -6
  65. data/doc/rdoc/created.rid +1 -1
  66. data/doc/rdoc/files/README.html +5 -5
  67. data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
  68. data/doc/rdoc/files/lib/wee/databases/og/scaffolder_rb.html +8 -1
  69. data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
  70. data/doc/rdoc/fr_method_index.html +268 -264
  71. data/lib/wee.rb +1 -1
  72. data/lib/wee/databases/og/scaffolder.rb +62 -17
  73. data/lib/wee/renderer/html/brushes.rb +17 -5
  74. metadata +21 -21
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000268">new</a>&nbsp;&nbsp;
91
+ <a href="#M000272">new</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -110,19 +110,19 @@
110
110
  <div id="methods">
111
111
  <h3 class="section-bar">Public Class methods</h3>
112
112
 
113
- <div id="method-M000268" class="method-detail">
114
- <a name="M000268"></a>
113
+ <div id="method-M000272" class="method-detail">
114
+ <a name="M000272"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="#M000268" class="method-signature">
117
+ <a href="#M000272" class="method-signature">
118
118
  <span class="method-name">new</span><span class="method-args">(location)</span>
119
119
  </a>
120
120
  </div>
121
121
 
122
122
  <div class="method-description">
123
123
  <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000268-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000268-source">
124
+ onclick="toggleCode('M000272-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000272-source">
126
126
  <pre>
127
127
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 48</span>
128
128
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">location</span>)
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000243">new</a>&nbsp;&nbsp;
91
+ <a href="#M000247">new</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -110,19 +110,19 @@
110
110
  <div id="methods">
111
111
  <h3 class="section-bar">Public Class methods</h3>
112
112
 
113
- <div id="method-M000243" class="method-detail">
114
- <a name="M000243"></a>
113
+ <div id="method-M000247" class="method-detail">
114
+ <a name="M000247"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="#M000243" class="method-signature">
117
+ <a href="#M000247" class="method-signature">
118
118
  <span class="method-name">new</span><span class="method-args">(message, location, seconds=10)</span>
119
119
  </a>
120
120
  </div>
121
121
 
122
122
  <div class="method-description">
123
123
  <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000243-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000243-source">
124
+ onclick="toggleCode('M000247-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000247-source">
126
126
  <pre>
127
127
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 56</span>
128
128
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">location</span>, <span class="ruby-identifier">seconds</span>=<span class="ruby-value">10</span>)
@@ -100,11 +100,11 @@ NOTE that if there are fields named &quot;xxx&quot; and
100
100
  <h3 class="section-bar">Methods</h3>
101
101
 
102
102
  <div class="name-list">
103
- <a href="#M000278">application_path</a>&nbsp;&nbsp;
104
- <a href="#M000279">build_url</a>&nbsp;&nbsp;
105
- <a href="#M000277">new</a>&nbsp;&nbsp;
106
- <a href="#M000280">parse_fields</a>&nbsp;&nbsp;
107
- <a href="#M000281">parse_path</a>&nbsp;&nbsp;
103
+ <a href="#M000282">application_path</a>&nbsp;&nbsp;
104
+ <a href="#M000283">build_url</a>&nbsp;&nbsp;
105
+ <a href="#M000281">new</a>&nbsp;&nbsp;
106
+ <a href="#M000284">parse_fields</a>&nbsp;&nbsp;
107
+ <a href="#M000285">parse_path</a>&nbsp;&nbsp;
108
108
  </div>
109
109
  </div>
110
110
 
@@ -167,19 +167,19 @@ NOTE that if there are fields named &quot;xxx&quot; and
167
167
  <div id="methods">
168
168
  <h3 class="section-bar">Public Class methods</h3>
169
169
 
170
- <div id="method-M000277" class="method-detail">
171
- <a name="M000277"></a>
170
+ <div id="method-M000281" class="method-detail">
171
+ <a name="M000281"></a>
172
172
 
173
173
  <div class="method-heading">
174
- <a href="#M000277" class="method-signature">
174
+ <a href="#M000281" class="method-signature">
175
175
  <span class="method-name">new</span><span class="method-args">(app_path, path, headers, fields, cookies)</span>
176
176
  </a>
177
177
  </div>
178
178
 
179
179
  <div class="method-description">
180
180
  <p><a class="source-toggle" href="#"
181
- onclick="toggleCode('M000277-source');return false;">[Source]</a></p>
182
- <div class="method-source-code" id="M000277-source">
181
+ onclick="toggleCode('M000281-source');return false;">[Source]</a></p>
182
+ <div class="method-source-code" id="M000281-source">
183
183
  <pre>
184
184
  <span class="ruby-comment cmt"># File lib/wee/request.rb, line 14</span>
185
185
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">app_path</span>, <span class="ruby-identifier">path</span>, <span class="ruby-identifier">headers</span>, <span class="ruby-identifier">fields</span>, <span class="ruby-identifier">cookies</span>)
@@ -194,19 +194,19 @@ NOTE that if there are fields named &quot;xxx&quot; and
194
194
 
195
195
  <h3 class="section-bar">Public Instance methods</h3>
196
196
 
197
- <div id="method-M000278" class="method-detail">
198
- <a name="M000278"></a>
197
+ <div id="method-M000282" class="method-detail">
198
+ <a name="M000282"></a>
199
199
 
200
200
  <div class="method-heading">
201
- <a href="#M000278" class="method-signature">
201
+ <a href="#M000282" class="method-signature">
202
202
  <span class="method-name">application_path</span><span class="method-args">()</span>
203
203
  </a>
204
204
  </div>
205
205
 
206
206
  <div class="method-description">
207
207
  <p><a class="source-toggle" href="#"
208
- onclick="toggleCode('M000278-source');return false;">[Source]</a></p>
209
- <div class="method-source-code" id="M000278-source">
208
+ onclick="toggleCode('M000282-source');return false;">[Source]</a></p>
209
+ <div class="method-source-code" id="M000282-source">
210
210
  <pre>
211
211
  <span class="ruby-comment cmt"># File lib/wee/request.rb, line 20</span>
212
212
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">application_path</span>
@@ -217,19 +217,19 @@ NOTE that if there are fields named &quot;xxx&quot; and
217
217
  </div>
218
218
  </div>
219
219
 
220
- <div id="method-M000279" class="method-detail">
221
- <a name="M000279"></a>
220
+ <div id="method-M000283" class="method-detail">
221
+ <a name="M000283"></a>
222
222
 
223
223
  <div class="method-heading">
224
- <a href="#M000279" class="method-signature">
224
+ <a href="#M000283" class="method-signature">
225
225
  <span class="method-name">build_url</span><span class="method-args">(request_handler_id=nil, page_id=nil, callback_id=nil)</span>
226
226
  </a>
227
227
  </div>
228
228
 
229
229
  <div class="method-description">
230
230
  <p><a class="source-toggle" href="#"
231
- onclick="toggleCode('M000279-source');return false;">[Source]</a></p>
232
- <div class="method-source-code" id="M000279-source">
231
+ onclick="toggleCode('M000283-source');return false;">[Source]</a></p>
232
+ <div class="method-source-code" id="M000283-source">
233
233
  <pre>
234
234
  <span class="ruby-comment cmt"># File lib/wee/request.rb, line 24</span>
235
235
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build_url</span>(<span class="ruby-identifier">request_handler_id</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">page_id</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">callback_id</span>=<span class="ruby-keyword kw">nil</span>)
@@ -254,19 +254,19 @@ NOTE that if there are fields named &quot;xxx&quot; and
254
254
 
255
255
  <h3 class="section-bar">Private Instance methods</h3>
256
256
 
257
- <div id="method-M000280" class="method-detail">
258
- <a name="M000280"></a>
257
+ <div id="method-M000284" class="method-detail">
258
+ <a name="M000284"></a>
259
259
 
260
260
  <div class="method-heading">
261
- <a href="#M000280" class="method-signature">
261
+ <a href="#M000284" class="method-signature">
262
262
  <span class="method-name">parse_fields</span><span class="method-args">(fields)</span>
263
263
  </a>
264
264
  </div>
265
265
 
266
266
  <div class="method-description">
267
267
  <p><a class="source-toggle" href="#"
268
- onclick="toggleCode('M000280-source');return false;">[Source]</a></p>
269
- <div class="method-source-code" id="M000280-source">
268
+ onclick="toggleCode('M000284-source');return false;">[Source]</a></p>
269
+ <div class="method-source-code" id="M000284-source">
270
270
  <pre>
271
271
  <span class="ruby-comment cmt"># File lib/wee/request.rb, line 42</span>
272
272
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_fields</span>(<span class="ruby-identifier">fields</span>)
@@ -294,19 +294,19 @@ NOTE that if there are fields named &quot;xxx&quot; and
294
294
  </div>
295
295
  </div>
296
296
 
297
- <div id="method-M000281" class="method-detail">
298
- <a name="M000281"></a>
297
+ <div id="method-M000285" class="method-detail">
298
+ <a name="M000285"></a>
299
299
 
300
300
  <div class="method-heading">
301
- <a href="#M000281" class="method-signature">
301
+ <a href="#M000285" class="method-signature">
302
302
  <span class="method-name">parse_path</span><span class="method-args">()</span>
303
303
  </a>
304
304
  </div>
305
305
 
306
306
  <div class="method-description">
307
307
  <p><a class="source-toggle" href="#"
308
- onclick="toggleCode('M000281-source');return false;">[Source]</a></p>
309
- <div class="method-source-code" id="M000281-source">
308
+ onclick="toggleCode('M000285-source');return false;">[Source]</a></p>
309
+ <div class="method-source-code" id="M000285-source">
310
310
  <pre>
311
311
  <span class="ruby-comment cmt"># File lib/wee/request.rb, line 63</span>
312
312
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_path</span>
@@ -88,11 +88,11 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000306">alive?</a>&nbsp;&nbsp;
92
- <a href="#M000307">handle_request</a>&nbsp;&nbsp;
93
- <a href="#M000309">new</a>&nbsp;&nbsp;
94
- <a href="#M000308">statistics</a>&nbsp;&nbsp;
95
- <a href="#M000305">teminate</a>&nbsp;&nbsp;
91
+ <a href="#M000310">alive?</a>&nbsp;&nbsp;
92
+ <a href="#M000311">handle_request</a>&nbsp;&nbsp;
93
+ <a href="#M000313">new</a>&nbsp;&nbsp;
94
+ <a href="#M000312">statistics</a>&nbsp;&nbsp;
95
+ <a href="#M000309">teminate</a>&nbsp;&nbsp;
96
96
  </div>
97
97
  </div>
98
98
 
@@ -175,19 +175,19 @@ The maximum number of requests this handler should serve. A value of
175
175
  <div id="methods">
176
176
  <h3 class="section-bar">Public Class methods</h3>
177
177
 
178
- <div id="method-M000309" class="method-detail">
179
- <a name="M000309"></a>
178
+ <div id="method-M000313" class="method-detail">
179
+ <a name="M000313"></a>
180
180
 
181
181
  <div class="method-heading">
182
- <a href="#M000309" class="method-signature">
182
+ <a href="#M000313" class="method-signature">
183
183
  <span class="method-name">new</span><span class="method-args">()</span>
184
184
  </a>
185
185
  </div>
186
186
 
187
187
  <div class="method-description">
188
188
  <p><a class="source-toggle" href="#"
189
- onclick="toggleCode('M000309-source');return false;">[Source]</a></p>
190
- <div class="method-source-code" id="M000309-source">
189
+ onclick="toggleCode('M000313-source');return false;">[Source]</a></p>
190
+ <div class="method-source-code" id="M000313-source">
191
191
  <pre>
192
192
  <span class="ruby-comment cmt"># File lib/wee/requesthandler.rb, line 74</span>
193
193
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -203,11 +203,11 @@ The maximum number of requests this handler should serve. A value of
203
203
 
204
204
  <h3 class="section-bar">Public Instance methods</h3>
205
205
 
206
- <div id="method-M000306" class="method-detail">
207
- <a name="M000306"></a>
206
+ <div id="method-M000310" class="method-detail">
207
+ <a name="M000310"></a>
208
208
 
209
209
  <div class="method-heading">
210
- <a href="#M000306" class="method-signature">
210
+ <a href="#M000310" class="method-signature">
211
211
  <span class="method-name">alive?</span><span class="method-args">()</span>
212
212
  </a>
213
213
  </div>
@@ -217,8 +217,8 @@ The maximum number of requests this handler should serve. A value of
217
217
  Query whether this handler is still alive.
218
218
  </p>
219
219
  <p><a class="source-toggle" href="#"
220
- onclick="toggleCode('M000306-source');return false;">[Source]</a></p>
221
- <div class="method-source-code" id="M000306-source">
220
+ onclick="toggleCode('M000310-source');return false;">[Source]</a></p>
221
+ <div class="method-source-code" id="M000310-source">
222
222
  <pre>
223
223
  <span class="ruby-comment cmt"># File lib/wee/requesthandler.rb, line 43</span>
224
224
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alive?</span>
@@ -238,23 +238,23 @@ Query whether this handler is still alive.
238
238
  </div>
239
239
  </div>
240
240
 
241
- <div id="method-M000307" class="method-detail">
242
- <a name="M000307"></a>
241
+ <div id="method-M000311" class="method-detail">
242
+ <a name="M000311"></a>
243
243
 
244
244
  <div class="method-heading">
245
- <a href="#M000307" class="method-signature">
245
+ <a href="#M000311" class="method-signature">
246
246
  <span class="method-name">handle_request</span><span class="method-args">(context)</span>
247
247
  </a>
248
248
  </div>
249
249
 
250
250
  <div class="method-description">
251
251
  <p>
252
- Extend <a href="RequestHandler.html#M000307">handle_request</a> in your own
252
+ Extend <a href="RequestHandler.html#M000311">handle_request</a> in your own
253
253
  subclass.
254
254
  </p>
255
255
  <p><a class="source-toggle" href="#"
256
- onclick="toggleCode('M000307-source');return false;">[Source]</a></p>
257
- <div class="method-source-code" id="M000307-source">
256
+ onclick="toggleCode('M000311-source');return false;">[Source]</a></p>
257
+ <div class="method-source-code" id="M000311-source">
258
258
  <pre>
259
259
  <span class="ruby-comment cmt"># File lib/wee/requesthandler.rb, line 58</span>
260
260
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">handle_request</span>(<span class="ruby-identifier">context</span>)
@@ -266,19 +266,19 @@ subclass.
266
266
  </div>
267
267
  </div>
268
268
 
269
- <div id="method-M000308" class="method-detail">
270
- <a name="M000308"></a>
269
+ <div id="method-M000312" class="method-detail">
270
+ <a name="M000312"></a>
271
271
 
272
272
  <div class="method-heading">
273
- <a href="#M000308" class="method-signature">
273
+ <a href="#M000312" class="method-signature">
274
274
  <span class="method-name">statistics</span><span class="method-args">()</span>
275
275
  </a>
276
276
  </div>
277
277
 
278
278
  <div class="method-description">
279
279
  <p><a class="source-toggle" href="#"
280
- onclick="toggleCode('M000308-source');return false;">[Source]</a></p>
281
- <div class="method-source-code" id="M000308-source">
280
+ onclick="toggleCode('M000312-source');return false;">[Source]</a></p>
281
+ <div class="method-source-code" id="M000312-source">
282
282
  <pre>
283
283
  <span class="ruby-comment cmt"># File lib/wee/requesthandler.rb, line 63</span>
284
284
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">statistics</span>
@@ -296,11 +296,11 @@ subclass.
296
296
  </div>
297
297
  </div>
298
298
 
299
- <div id="method-M000305" class="method-detail">
300
- <a name="M000305"></a>
299
+ <div id="method-M000309" class="method-detail">
300
+ <a name="M000309"></a>
301
301
 
302
302
  <div class="method-heading">
303
- <a href="#M000305" class="method-signature">
303
+ <a href="#M000309" class="method-signature">
304
304
  <span class="method-name">teminate</span><span class="method-args">()</span>
305
305
  </a>
306
306
  </div>
@@ -314,8 +314,8 @@ This will usually not immediatly terminate the handler from running, but
314
314
  further requests will not be answered.
315
315
  </p>
316
316
  <p><a class="source-toggle" href="#"
317
- onclick="toggleCode('M000305-source');return false;">[Source]</a></p>
318
- <div class="method-source-code" id="M000305-source">
317
+ onclick="toggleCode('M000309-source');return false;">[Source]</a></p>
318
+ <div class="method-source-code" id="M000309-source">
319
319
  <pre>
320
320
  <span class="ruby-comment cmt"># File lib/wee/requesthandler.rb, line 37</span>
321
321
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teminate</span>
@@ -88,12 +88,12 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000230">&lt;&lt;</a>&nbsp;&nbsp;
92
- <a href="#M000228">content_type</a>&nbsp;&nbsp;
93
- <a href="#M000229">content_type=</a>&nbsp;&nbsp;
94
- <a href="#M000226">cookies</a>&nbsp;&nbsp;
95
- <a href="#M000225">cookies?</a>&nbsp;&nbsp;
96
- <a href="#M000227">new</a>&nbsp;&nbsp;
91
+ <a href="#M000234">&lt;&lt;</a>&nbsp;&nbsp;
92
+ <a href="#M000232">content_type</a>&nbsp;&nbsp;
93
+ <a href="#M000233">content_type=</a>&nbsp;&nbsp;
94
+ <a href="#M000230">cookies</a>&nbsp;&nbsp;
95
+ <a href="#M000229">cookies?</a>&nbsp;&nbsp;
96
+ <a href="#M000231">new</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -151,19 +151,19 @@
151
151
  <div id="methods">
152
152
  <h3 class="section-bar">Public Class methods</h3>
153
153
 
154
- <div id="method-M000227" class="method-detail">
155
- <a name="M000227"></a>
154
+ <div id="method-M000231" class="method-detail">
155
+ <a name="M000231"></a>
156
156
 
157
157
  <div class="method-heading">
158
- <a href="#M000227" class="method-signature">
158
+ <a href="#M000231" class="method-signature">
159
159
  <span class="method-name">new</span><span class="method-args">(mime_type = 'text/html', content='')</span>
160
160
  </a>
161
161
  </div>
162
162
 
163
163
  <div class="method-description">
164
164
  <p><a class="source-toggle" href="#"
165
- onclick="toggleCode('M000227-source');return false;">[Source]</a></p>
166
- <div class="method-source-code" id="M000227-source">
165
+ onclick="toggleCode('M000231-source');return false;">[Source]</a></p>
166
+ <div class="method-source-code" id="M000231-source">
167
167
  <pre>
168
168
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 17</span>
169
169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">mime_type</span> = <span class="ruby-value str">'text/html'</span>, <span class="ruby-identifier">content</span>=<span class="ruby-value str">''</span>)
@@ -178,19 +178,19 @@
178
178
 
179
179
  <h3 class="section-bar">Public Instance methods</h3>
180
180
 
181
- <div id="method-M000230" class="method-detail">
182
- <a name="M000230"></a>
181
+ <div id="method-M000234" class="method-detail">
182
+ <a name="M000234"></a>
183
183
 
184
184
  <div class="method-heading">
185
- <a href="#M000230" class="method-signature">
185
+ <a href="#M000234" class="method-signature">
186
186
  <span class="method-name">&lt;&lt;</span><span class="method-args">(str)</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('M000230-source');return false;">[Source]</a></p>
193
- <div class="method-source-code" id="M000230-source">
192
+ onclick="toggleCode('M000234-source');return false;">[Source]</a></p>
193
+ <div class="method-source-code" id="M000234-source">
194
194
  <pre>
195
195
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 31</span>
196
196
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span>(<span class="ruby-identifier">str</span>)
@@ -201,19 +201,19 @@
201
201
  </div>
202
202
  </div>
203
203
 
204
- <div id="method-M000228" class="method-detail">
205
- <a name="M000228"></a>
204
+ <div id="method-M000232" class="method-detail">
205
+ <a name="M000232"></a>
206
206
 
207
207
  <div class="method-heading">
208
- <a href="#M000228" class="method-signature">
208
+ <a href="#M000232" class="method-signature">
209
209
  <span class="method-name">content_type</span><span class="method-args">()</span>
210
210
  </a>
211
211
  </div>
212
212
 
213
213
  <div class="method-description">
214
214
  <p><a class="source-toggle" href="#"
215
- onclick="toggleCode('M000228-source');return false;">[Source]</a></p>
216
- <div class="method-source-code" id="M000228-source">
215
+ onclick="toggleCode('M000232-source');return false;">[Source]</a></p>
216
+ <div class="method-source-code" id="M000232-source">
217
217
  <pre>
218
218
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 23</span>
219
219
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">content_type</span>
@@ -224,19 +224,19 @@
224
224
  </div>
225
225
  </div>
226
226
 
227
- <div id="method-M000229" class="method-detail">
228
- <a name="M000229"></a>
227
+ <div id="method-M000233" class="method-detail">
228
+ <a name="M000233"></a>
229
229
 
230
230
  <div class="method-heading">
231
- <a href="#M000229" class="method-signature">
231
+ <a href="#M000233" class="method-signature">
232
232
  <span class="method-name">content_type=</span><span class="method-args">(mime_type)</span>
233
233
  </a>
234
234
  </div>
235
235
 
236
236
  <div class="method-description">
237
237
  <p><a class="source-toggle" href="#"
238
- onclick="toggleCode('M000229-source');return false;">[Source]</a></p>
239
- <div class="method-source-code" id="M000229-source">
238
+ onclick="toggleCode('M000233-source');return false;">[Source]</a></p>
239
+ <div class="method-source-code" id="M000233-source">
240
240
  <pre>
241
241
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 27</span>
242
242
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">content_type=</span>(<span class="ruby-identifier">mime_type</span>)
@@ -247,19 +247,19 @@
247
247
  </div>
248
248
  </div>
249
249
 
250
- <div id="method-M000226" class="method-detail">
251
- <a name="M000226"></a>
250
+ <div id="method-M000230" class="method-detail">
251
+ <a name="M000230"></a>
252
252
 
253
253
  <div class="method-heading">
254
- <a href="#M000226" class="method-signature">
254
+ <a href="#M000230" class="method-signature">
255
255
  <span class="method-name">cookies</span><span class="method-args">()</span>
256
256
  </a>
257
257
  </div>
258
258
 
259
259
  <div class="method-description">
260
260
  <p><a class="source-toggle" href="#"
261
- onclick="toggleCode('M000226-source');return false;">[Source]</a></p>
262
- <div class="method-source-code" id="M000226-source">
261
+ onclick="toggleCode('M000230-source');return false;">[Source]</a></p>
262
+ <div class="method-source-code" id="M000230-source">
263
263
  <pre>
264
264
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 13</span>
265
265
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cookies</span>
@@ -270,19 +270,19 @@
270
270
  </div>
271
271
  </div>
272
272
 
273
- <div id="method-M000225" class="method-detail">
274
- <a name="M000225"></a>
273
+ <div id="method-M000229" class="method-detail">
274
+ <a name="M000229"></a>
275
275
 
276
276
  <div class="method-heading">
277
- <a href="#M000225" class="method-signature">
277
+ <a href="#M000229" class="method-signature">
278
278
  <span class="method-name">cookies?</span><span class="method-args">()</span>
279
279
  </a>
280
280
  </div>
281
281
 
282
282
  <div class="method-description">
283
283
  <p><a class="source-toggle" href="#"
284
- onclick="toggleCode('M000225-source');return false;">[Source]</a></p>
285
- <div class="method-source-code" id="M000225-source">
284
+ onclick="toggleCode('M000229-source');return false;">[Source]</a></p>
285
+ <div class="method-source-code" id="M000229-source">
286
286
  <pre>
287
287
  <span class="ruby-comment cmt"># File lib/wee/response.rb, line 9</span>
288
288
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cookies?</span>