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
@@ -88,7 +88,7 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
91
|
+
<a href="#M000272">new</a>
|
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-
|
114
|
-
<a name="
|
113
|
+
<div id="method-M000272" class="method-detail">
|
114
|
+
<a name="M000272"></a>
|
115
115
|
|
116
116
|
<div class="method-heading">
|
117
|
-
<a href="#
|
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('
|
125
|
-
<div class="method-source-code" id="
|
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="#
|
91
|
+
<a href="#M000247">new</a>
|
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-
|
114
|
-
<a name="
|
113
|
+
<div id="method-M000247" class="method-detail">
|
114
|
+
<a name="M000247"></a>
|
115
115
|
|
116
116
|
<div class="method-heading">
|
117
|
-
<a href="#
|
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('
|
125
|
-
<div class="method-source-code" id="
|
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 "xxx" and
|
|
100
100
|
<h3 class="section-bar">Methods</h3>
|
101
101
|
|
102
102
|
<div class="name-list">
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
103
|
+
<a href="#M000282">application_path</a>
|
104
|
+
<a href="#M000283">build_url</a>
|
105
|
+
<a href="#M000281">new</a>
|
106
|
+
<a href="#M000284">parse_fields</a>
|
107
|
+
<a href="#M000285">parse_path</a>
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
|
@@ -167,19 +167,19 @@ NOTE that if there are fields named "xxx" and
|
|
167
167
|
<div id="methods">
|
168
168
|
<h3 class="section-bar">Public Class methods</h3>
|
169
169
|
|
170
|
-
<div id="method-
|
171
|
-
<a name="
|
170
|
+
<div id="method-M000281" class="method-detail">
|
171
|
+
<a name="M000281"></a>
|
172
172
|
|
173
173
|
<div class="method-heading">
|
174
|
-
<a href="#
|
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('
|
182
|
-
<div class="method-source-code" id="
|
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 "xxx" and
|
|
194
194
|
|
195
195
|
<h3 class="section-bar">Public Instance methods</h3>
|
196
196
|
|
197
|
-
<div id="method-
|
198
|
-
<a name="
|
197
|
+
<div id="method-M000282" class="method-detail">
|
198
|
+
<a name="M000282"></a>
|
199
199
|
|
200
200
|
<div class="method-heading">
|
201
|
-
<a href="#
|
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('
|
209
|
-
<div class="method-source-code" id="
|
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 "xxx" and
|
|
217
217
|
</div>
|
218
218
|
</div>
|
219
219
|
|
220
|
-
<div id="method-
|
221
|
-
<a name="
|
220
|
+
<div id="method-M000283" class="method-detail">
|
221
|
+
<a name="M000283"></a>
|
222
222
|
|
223
223
|
<div class="method-heading">
|
224
|
-
<a href="#
|
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('
|
232
|
-
<div class="method-source-code" id="
|
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 "xxx" and
|
|
254
254
|
|
255
255
|
<h3 class="section-bar">Private Instance methods</h3>
|
256
256
|
|
257
|
-
<div id="method-
|
258
|
-
<a name="
|
257
|
+
<div id="method-M000284" class="method-detail">
|
258
|
+
<a name="M000284"></a>
|
259
259
|
|
260
260
|
<div class="method-heading">
|
261
|
-
<a href="#
|
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('
|
269
|
-
<div class="method-source-code" id="
|
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 "xxx" and
|
|
294
294
|
</div>
|
295
295
|
</div>
|
296
296
|
|
297
|
-
<div id="method-
|
298
|
-
<a name="
|
297
|
+
<div id="method-M000285" class="method-detail">
|
298
|
+
<a name="M000285"></a>
|
299
299
|
|
300
300
|
<div class="method-heading">
|
301
|
-
<a href="#
|
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('
|
309
|
-
<div class="method-source-code" id="
|
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="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
91
|
+
<a href="#M000310">alive?</a>
|
92
|
+
<a href="#M000311">handle_request</a>
|
93
|
+
<a href="#M000313">new</a>
|
94
|
+
<a href="#M000312">statistics</a>
|
95
|
+
<a href="#M000309">teminate</a>
|
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-
|
179
|
-
<a name="
|
178
|
+
<div id="method-M000313" class="method-detail">
|
179
|
+
<a name="M000313"></a>
|
180
180
|
|
181
181
|
<div class="method-heading">
|
182
|
-
<a href="#
|
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('
|
190
|
-
<div class="method-source-code" id="
|
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-
|
207
|
-
<a name="
|
206
|
+
<div id="method-M000310" class="method-detail">
|
207
|
+
<a name="M000310"></a>
|
208
208
|
|
209
209
|
<div class="method-heading">
|
210
|
-
<a href="#
|
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('
|
221
|
-
<div class="method-source-code" id="
|
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-
|
242
|
-
<a name="
|
241
|
+
<div id="method-M000311" class="method-detail">
|
242
|
+
<a name="M000311"></a>
|
243
243
|
|
244
244
|
<div class="method-heading">
|
245
|
-
<a href="#
|
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#
|
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('
|
257
|
-
<div class="method-source-code" id="
|
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-
|
270
|
-
<a name="
|
269
|
+
<div id="method-M000312" class="method-detail">
|
270
|
+
<a name="M000312"></a>
|
271
271
|
|
272
272
|
<div class="method-heading">
|
273
|
-
<a href="#
|
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('
|
281
|
-
<div class="method-source-code" id="
|
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-
|
300
|
-
<a name="
|
299
|
+
<div id="method-M000309" class="method-detail">
|
300
|
+
<a name="M000309"></a>
|
301
301
|
|
302
302
|
<div class="method-heading">
|
303
|
-
<a href="#
|
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('
|
318
|
-
<div class="method-source-code" id="
|
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="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
91
|
+
<a href="#M000234"><<</a>
|
92
|
+
<a href="#M000232">content_type</a>
|
93
|
+
<a href="#M000233">content_type=</a>
|
94
|
+
<a href="#M000230">cookies</a>
|
95
|
+
<a href="#M000229">cookies?</a>
|
96
|
+
<a href="#M000231">new</a>
|
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-
|
155
|
-
<a name="
|
154
|
+
<div id="method-M000231" class="method-detail">
|
155
|
+
<a name="M000231"></a>
|
156
156
|
|
157
157
|
<div class="method-heading">
|
158
|
-
<a href="#
|
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('
|
166
|
-
<div class="method-source-code" id="
|
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-
|
182
|
-
<a name="
|
181
|
+
<div id="method-M000234" class="method-detail">
|
182
|
+
<a name="M000234"></a>
|
183
183
|
|
184
184
|
<div class="method-heading">
|
185
|
-
<a href="#
|
185
|
+
<a href="#M000234" class="method-signature">
|
186
186
|
<span class="method-name"><<</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('
|
193
|
-
<div class="method-source-code" id="
|
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"><<</span>(<span class="ruby-identifier">str</span>)
|
@@ -201,19 +201,19 @@
|
|
201
201
|
</div>
|
202
202
|
</div>
|
203
203
|
|
204
|
-
<div id="method-
|
205
|
-
<a name="
|
204
|
+
<div id="method-M000232" class="method-detail">
|
205
|
+
<a name="M000232"></a>
|
206
206
|
|
207
207
|
<div class="method-heading">
|
208
|
-
<a href="#
|
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('
|
216
|
-
<div class="method-source-code" id="
|
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-
|
228
|
-
<a name="
|
227
|
+
<div id="method-M000233" class="method-detail">
|
228
|
+
<a name="M000233"></a>
|
229
229
|
|
230
230
|
<div class="method-heading">
|
231
|
-
<a href="#
|
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('
|
239
|
-
<div class="method-source-code" id="
|
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-
|
251
|
-
<a name="
|
250
|
+
<div id="method-M000230" class="method-detail">
|
251
|
+
<a name="M000230"></a>
|
252
252
|
|
253
253
|
<div class="method-heading">
|
254
|
-
<a href="#
|
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('
|
262
|
-
<div class="method-source-code" id="
|
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-
|
274
|
-
<a name="
|
273
|
+
<div id="method-M000229" class="method-detail">
|
274
|
+
<a name="M000229"></a>
|
275
275
|
|
276
276
|
<div class="method-heading">
|
277
|
-
<a href="#
|
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('
|
285
|
-
<div class="method-source-code" id="
|
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>
|