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.
- 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
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
|
87
87
|
|
|
88
88
|
<div class="name-list">
|
|
89
|
-
<a href="#
|
|
89
|
+
<a href="#M000271">call</a>
|
|
90
90
|
</div>
|
|
91
91
|
</div>
|
|
92
92
|
|
|
@@ -108,19 +108,19 @@
|
|
|
108
108
|
<div id="methods">
|
|
109
109
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
110
110
|
|
|
111
|
-
<div id="method-
|
|
112
|
-
<a name="
|
|
111
|
+
<div id="method-M000271" class="method-detail">
|
|
112
|
+
<a name="M000271"></a>
|
|
113
113
|
|
|
114
114
|
<div class="method-heading">
|
|
115
|
-
<a href="#
|
|
115
|
+
<a href="#M000271" class="method-signature">
|
|
116
116
|
<span class="method-name">call</span><span class="method-args">(*answer_args)</span>
|
|
117
117
|
</a>
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div class="method-description">
|
|
121
121
|
<p><a class="source-toggle" href="#"
|
|
122
|
-
onclick="toggleCode('
|
|
123
|
-
<div class="method-source-code" id="
|
|
122
|
+
onclick="toggleCode('M000271-source');return false;">[Source]</a></p>
|
|
123
|
+
<div class="method-source-code" id="M000271-source">
|
|
124
124
|
<pre>
|
|
125
125
|
<span class="ruby-comment cmt"># File lib/wee/core/component.rb, line 332</span>
|
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">answer_args</span>)
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
<div id="description">
|
|
84
84
|
<p>
|
|
85
85
|
Abstract base class of all decorations. Forwards the methods <a
|
|
86
|
-
href="Decoration.html#
|
|
87
|
-
href="Decoration.html#
|
|
88
|
-
href="Decoration.html#
|
|
86
|
+
href="Decoration.html#M000217">process_callbacks</a>, <a
|
|
87
|
+
href="Decoration.html#M000218">do_render</a> and <a
|
|
88
|
+
href="Decoration.html#M000219">backtrack_state</a> to the next decoration
|
|
89
89
|
in the chain. Subclasses should provide special behaviour in these methods,
|
|
90
90
|
otherwise the decoration does not make sense.
|
|
91
91
|
</p>
|
|
@@ -127,12 +127,12 @@ around the decorations or components below itself:
|
|
|
127
127
|
<h3 class="section-bar">Methods</h3>
|
|
128
128
|
|
|
129
129
|
<div class="name-list">
|
|
130
|
-
<a href="#
|
|
131
|
-
<a href="#
|
|
132
|
-
<a href="#
|
|
133
|
-
<a href="#
|
|
134
|
-
<a href="#
|
|
135
|
-
<a href="#
|
|
130
|
+
<a href="#M000219">backtrack_state</a>
|
|
131
|
+
<a href="#M000218">do_render</a>
|
|
132
|
+
<a href="#M000216">global?</a>
|
|
133
|
+
<a href="#M000217">process_callbacks</a>
|
|
134
|
+
<a href="#M000221">restore_snapshot</a>
|
|
135
|
+
<a href="#M000220">take_snapshot</a>
|
|
136
136
|
</div>
|
|
137
137
|
</div>
|
|
138
138
|
|
|
@@ -173,11 +173,11 @@ everything "below" itself.
|
|
|
173
173
|
<div id="methods">
|
|
174
174
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
175
175
|
|
|
176
|
-
<div id="method-
|
|
177
|
-
<a name="
|
|
176
|
+
<div id="method-M000219" class="method-detail">
|
|
177
|
+
<a name="M000219"></a>
|
|
178
178
|
|
|
179
179
|
<div class="method-heading">
|
|
180
|
-
<a href="#
|
|
180
|
+
<a href="#M000219" class="method-signature">
|
|
181
181
|
<span class="method-name">backtrack_state</span><span class="method-args">(snapshot)</span>
|
|
182
182
|
</a>
|
|
183
183
|
</div>
|
|
@@ -187,8 +187,8 @@ everything "below" itself.
|
|
|
187
187
|
Forwards method call to the next decoration in the chain.
|
|
188
188
|
</p>
|
|
189
189
|
<p><a class="source-toggle" href="#"
|
|
190
|
-
onclick="toggleCode('
|
|
191
|
-
<div class="method-source-code" id="
|
|
190
|
+
onclick="toggleCode('M000219-source');return false;">[Source]</a></p>
|
|
191
|
+
<div class="method-source-code" id="M000219-source">
|
|
192
192
|
<pre>
|
|
193
193
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 59</span>
|
|
194
194
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">backtrack_state</span>(<span class="ruby-identifier">snapshot</span>)
|
|
@@ -200,11 +200,11 @@ Forwards method call to the next decoration in the chain.
|
|
|
200
200
|
</div>
|
|
201
201
|
</div>
|
|
202
202
|
|
|
203
|
-
<div id="method-
|
|
204
|
-
<a name="
|
|
203
|
+
<div id="method-M000218" class="method-detail">
|
|
204
|
+
<a name="M000218"></a>
|
|
205
205
|
|
|
206
206
|
<div class="method-heading">
|
|
207
|
-
<a href="#
|
|
207
|
+
<a href="#M000218" class="method-signature">
|
|
208
208
|
<span class="method-name">do_render</span><span class="method-args">(rendering_context)</span>
|
|
209
209
|
</a>
|
|
210
210
|
</div>
|
|
@@ -214,8 +214,8 @@ Forwards method call to the next decoration in the chain.
|
|
|
214
214
|
Forwards method call to the next decoration in the chain.
|
|
215
215
|
</p>
|
|
216
216
|
<p><a class="source-toggle" href="#"
|
|
217
|
-
onclick="toggleCode('
|
|
218
|
-
<div class="method-source-code" id="
|
|
217
|
+
onclick="toggleCode('M000218-source');return false;">[Source]</a></p>
|
|
218
|
+
<div class="method-source-code" id="M000218-source">
|
|
219
219
|
<pre>
|
|
220
220
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 53</span>
|
|
221
221
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_render</span>(<span class="ruby-identifier">rendering_context</span>)
|
|
@@ -226,11 +226,11 @@ Forwards method call to the next decoration in the chain.
|
|
|
226
226
|
</div>
|
|
227
227
|
</div>
|
|
228
228
|
|
|
229
|
-
<div id="method-
|
|
230
|
-
<a name="
|
|
229
|
+
<div id="method-M000216" class="method-detail">
|
|
230
|
+
<a name="M000216"></a>
|
|
231
231
|
|
|
232
232
|
<div class="method-heading">
|
|
233
|
-
<a href="#
|
|
233
|
+
<a href="#M000216" class="method-signature">
|
|
234
234
|
<span class="method-name">global?</span><span class="method-args">()</span>
|
|
235
235
|
</a>
|
|
236
236
|
</div>
|
|
@@ -246,8 +246,8 @@ decoration is added in front of all other local decorations but after all
|
|
|
246
246
|
global decorations.
|
|
247
247
|
</p>
|
|
248
248
|
<p><a class="source-toggle" href="#"
|
|
249
|
-
onclick="toggleCode('
|
|
250
|
-
<div class="method-source-code" id="
|
|
249
|
+
onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
|
|
250
|
+
<div class="method-source-code" id="M000216-source">
|
|
251
251
|
<pre>
|
|
252
252
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 43</span>
|
|
253
253
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">global?</span>() <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">end</span>
|
|
@@ -256,11 +256,11 @@ global decorations.
|
|
|
256
256
|
</div>
|
|
257
257
|
</div>
|
|
258
258
|
|
|
259
|
-
<div id="method-
|
|
260
|
-
<a name="
|
|
259
|
+
<div id="method-M000217" class="method-detail">
|
|
260
|
+
<a name="M000217"></a>
|
|
261
261
|
|
|
262
262
|
<div class="method-heading">
|
|
263
|
-
<a href="#
|
|
263
|
+
<a href="#M000217" class="method-signature">
|
|
264
264
|
<span class="method-name">process_callbacks</span><span class="method-args">(callback_stream)</span>
|
|
265
265
|
</a>
|
|
266
266
|
</div>
|
|
@@ -270,8 +270,8 @@ global decorations.
|
|
|
270
270
|
Forwards method call to the next decoration in the chain.
|
|
271
271
|
</p>
|
|
272
272
|
<p><a class="source-toggle" href="#"
|
|
273
|
-
onclick="toggleCode('
|
|
274
|
-
<div class="method-source-code" id="
|
|
273
|
+
onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
|
|
274
|
+
<div class="method-source-code" id="M000217-source">
|
|
275
275
|
<pre>
|
|
276
276
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 47</span>
|
|
277
277
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_callbacks</span>(<span class="ruby-identifier">callback_stream</span>)
|
|
@@ -301,19 +301,19 @@ Forwards method call to the next decoration in the chain.
|
|
|
301
301
|
<div id="methods">
|
|
302
302
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
303
303
|
|
|
304
|
-
<div id="method-
|
|
305
|
-
<a name="
|
|
304
|
+
<div id="method-M000221" class="method-detail">
|
|
305
|
+
<a name="M000221"></a>
|
|
306
306
|
|
|
307
307
|
<div class="method-heading">
|
|
308
|
-
<a href="#
|
|
308
|
+
<a href="#M000221" class="method-signature">
|
|
309
309
|
<span class="method-name">restore_snapshot</span><span class="method-args">(snap)</span>
|
|
310
310
|
</a>
|
|
311
311
|
</div>
|
|
312
312
|
|
|
313
313
|
<div class="method-description">
|
|
314
314
|
<p><a class="source-toggle" href="#"
|
|
315
|
-
onclick="toggleCode('
|
|
316
|
-
<div class="method-source-code" id="
|
|
315
|
+
onclick="toggleCode('M000221-source');return false;">[Source]</a></p>
|
|
316
|
+
<div class="method-source-code" id="M000221-source">
|
|
317
317
|
<pre>
|
|
318
318
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 78</span>
|
|
319
319
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore_snapshot</span>(<span class="ruby-identifier">snap</span>)
|
|
@@ -324,11 +324,11 @@ Forwards method call to the next decoration in the chain.
|
|
|
324
324
|
</div>
|
|
325
325
|
</div>
|
|
326
326
|
|
|
327
|
-
<div id="method-
|
|
328
|
-
<a name="
|
|
327
|
+
<div id="method-M000220" class="method-detail">
|
|
328
|
+
<a name="M000220"></a>
|
|
329
329
|
|
|
330
330
|
<div class="method-heading">
|
|
331
|
-
<a href="#
|
|
331
|
+
<a href="#M000220" class="method-signature">
|
|
332
332
|
<span class="method-name">take_snapshot</span><span class="method-args">()</span>
|
|
333
333
|
</a>
|
|
334
334
|
</div>
|
|
@@ -336,14 +336,14 @@ Forwards method call to the next decoration in the chain.
|
|
|
336
336
|
<div class="method-description">
|
|
337
337
|
<p>
|
|
338
338
|
We have to save the @owner attribute to be able to correctly backtrack
|
|
339
|
-
calls, as method <a href="Component.html#
|
|
339
|
+
calls, as method <a href="Component.html#M000268">Wee::Component#call</a>
|
|
340
340
|
modifies it in the call to <tt>component.remove_decoration(answer)</tt>.
|
|
341
341
|
Removing the answer-decoration has the advantage to be able to call a
|
|
342
342
|
component more than once!
|
|
343
343
|
</p>
|
|
344
344
|
<p><a class="source-toggle" href="#"
|
|
345
|
-
onclick="toggleCode('
|
|
346
|
-
<div class="method-source-code" id="
|
|
345
|
+
onclick="toggleCode('M000220-source');return false;">[Source]</a></p>
|
|
346
|
+
<div class="method-source-code" id="M000220-source">
|
|
347
347
|
<pre>
|
|
348
348
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 74</span>
|
|
349
349
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">take_snapshot</span>
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
<div id="description">
|
|
84
84
|
<p>
|
|
85
85
|
A <a href="Delegate.html">Wee::Delegate</a> breaks the decoration chain and
|
|
86
|
-
forwards the methods <a href="Delegate.html#
|
|
87
|
-
<a href="Delegate.html#
|
|
88
|
-
href="Delegate.html#
|
|
86
|
+
forwards the methods <a href="Delegate.html#M000306">process_callbacks</a>,
|
|
87
|
+
<a href="Delegate.html#M000307">do_render</a> and <a
|
|
88
|
+
href="Delegate.html#M000308">backtrack_state</a> to the corresponding
|
|
89
89
|
<b>chain</b> method of it’s <em>delegate</em> component (a <a
|
|
90
90
|
href="Component.html">Wee::Component</a>).
|
|
91
91
|
</p>
|
|
@@ -99,10 +99,10 @@ href="Component.html">Wee::Component</a>).
|
|
|
99
99
|
<h3 class="section-bar">Methods</h3>
|
|
100
100
|
|
|
101
101
|
<div class="name-list">
|
|
102
|
-
<a href="#
|
|
103
|
-
<a href="#
|
|
104
|
-
<a href="#
|
|
105
|
-
<a href="#
|
|
102
|
+
<a href="#M000308">backtrack_state</a>
|
|
103
|
+
<a href="#M000307">do_render</a>
|
|
104
|
+
<a href="#M000305">new</a>
|
|
105
|
+
<a href="#M000306">process_callbacks</a>
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
|
|
@@ -124,19 +124,19 @@ href="Component.html">Wee::Component</a>).
|
|
|
124
124
|
<div id="methods">
|
|
125
125
|
<h3 class="section-bar">Public Class methods</h3>
|
|
126
126
|
|
|
127
|
-
<div id="method-
|
|
128
|
-
<a name="
|
|
127
|
+
<div id="method-M000305" class="method-detail">
|
|
128
|
+
<a name="M000305"></a>
|
|
129
129
|
|
|
130
130
|
<div class="method-heading">
|
|
131
|
-
<a href="#
|
|
131
|
+
<a href="#M000305" class="method-signature">
|
|
132
132
|
<span class="method-name">new</span><span class="method-args">(delegate)</span>
|
|
133
133
|
</a>
|
|
134
134
|
</div>
|
|
135
135
|
|
|
136
136
|
<div class="method-description">
|
|
137
137
|
<p><a class="source-toggle" href="#"
|
|
138
|
-
onclick="toggleCode('
|
|
139
|
-
<div class="method-source-code" id="
|
|
138
|
+
onclick="toggleCode('M000305-source');return false;">[Source]</a></p>
|
|
139
|
+
<div class="method-source-code" id="M000305-source">
|
|
140
140
|
<pre>
|
|
141
141
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 89</span>
|
|
142
142
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">delegate</span>)
|
|
@@ -149,11 +149,11 @@ href="Component.html">Wee::Component</a>).
|
|
|
149
149
|
|
|
150
150
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
151
151
|
|
|
152
|
-
<div id="method-
|
|
153
|
-
<a name="
|
|
152
|
+
<div id="method-M000308" class="method-detail">
|
|
153
|
+
<a name="M000308"></a>
|
|
154
154
|
|
|
155
155
|
<div class="method-heading">
|
|
156
|
-
<a href="#
|
|
156
|
+
<a href="#M000308" class="method-signature">
|
|
157
157
|
<span class="method-name">backtrack_state</span><span class="method-args">(snapshot)</span>
|
|
158
158
|
</a>
|
|
159
159
|
</div>
|
|
@@ -165,8 +165,8 @@ Forwards method to the corresponding top-level <b>chain</b> method of the
|
|
|
165
165
|
components, thus we follow the @owner (via super).
|
|
166
166
|
</p>
|
|
167
167
|
<p><a class="source-toggle" href="#"
|
|
168
|
-
onclick="toggleCode('
|
|
169
|
-
<div class="method-source-code" id="
|
|
168
|
+
onclick="toggleCode('M000308-source');return false;">[Source]</a></p>
|
|
169
|
+
<div class="method-source-code" id="M000308-source">
|
|
170
170
|
<pre>
|
|
171
171
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 111</span>
|
|
172
172
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">backtrack_state</span>(<span class="ruby-identifier">snapshot</span>)
|
|
@@ -178,11 +178,11 @@ components, thus we follow the @owner (via super).
|
|
|
178
178
|
</div>
|
|
179
179
|
</div>
|
|
180
180
|
|
|
181
|
-
<div id="method-
|
|
182
|
-
<a name="
|
|
181
|
+
<div id="method-M000307" class="method-detail">
|
|
182
|
+
<a name="M000307"></a>
|
|
183
183
|
|
|
184
184
|
<div class="method-heading">
|
|
185
|
-
<a href="#
|
|
185
|
+
<a href="#M000307" class="method-signature">
|
|
186
186
|
<span class="method-name">do_render</span><span class="method-args">(rendering_context)</span>
|
|
187
187
|
</a>
|
|
188
188
|
</div>
|
|
@@ -193,8 +193,8 @@ Forwards method to the corresponding top-level <b>chain</b> method of the
|
|
|
193
193
|
<em>delegate</em> component.
|
|
194
194
|
</p>
|
|
195
195
|
<p><a class="source-toggle" href="#"
|
|
196
|
-
onclick="toggleCode('
|
|
197
|
-
<div class="method-source-code" id="
|
|
196
|
+
onclick="toggleCode('M000307-source');return false;">[Source]</a></p>
|
|
197
|
+
<div class="method-source-code" id="M000307-source">
|
|
198
198
|
<pre>
|
|
199
199
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 103</span>
|
|
200
200
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_render</span>(<span class="ruby-identifier">rendering_context</span>)
|
|
@@ -205,11 +205,11 @@ Forwards method to the corresponding top-level <b>chain</b> method of the
|
|
|
205
205
|
</div>
|
|
206
206
|
</div>
|
|
207
207
|
|
|
208
|
-
<div id="method-
|
|
209
|
-
<a name="
|
|
208
|
+
<div id="method-M000306" class="method-detail">
|
|
209
|
+
<a name="M000306"></a>
|
|
210
210
|
|
|
211
211
|
<div class="method-heading">
|
|
212
|
-
<a href="#
|
|
212
|
+
<a href="#M000306" class="method-signature">
|
|
213
213
|
<span class="method-name">process_callbacks</span><span class="method-args">(callback_stream)</span>
|
|
214
214
|
</a>
|
|
215
215
|
</div>
|
|
@@ -220,8 +220,8 @@ Forwards method to the corresponding top-level <b>chain</b> method of the
|
|
|
220
220
|
<em>delegate</em> component.
|
|
221
221
|
</p>
|
|
222
222
|
<p><a class="source-toggle" href="#"
|
|
223
|
-
onclick="toggleCode('
|
|
224
|
-
<div class="method-source-code" id="
|
|
223
|
+
onclick="toggleCode('M000306-source');return false;">[Source]</a></p>
|
|
224
|
+
<div class="method-source-code" id="M000306-source">
|
|
225
225
|
<pre>
|
|
226
226
|
<span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 96</span>
|
|
227
227
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_callbacks</span>(<span class="ruby-identifier">callback_stream</span>)
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
|
89
89
|
|
|
90
90
|
<div class="name-list">
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
91
|
+
<a href="#M000314">new</a>
|
|
92
|
+
<a href="#M000315">render</a>
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
|
95
95
|
|
|
@@ -111,19 +111,19 @@
|
|
|
111
111
|
<div id="methods">
|
|
112
112
|
<h3 class="section-bar">Public Class methods</h3>
|
|
113
113
|
|
|
114
|
-
<div id="method-
|
|
115
|
-
<a name="
|
|
114
|
+
<div id="method-M000314" class="method-detail">
|
|
115
|
+
<a name="M000314"></a>
|
|
116
116
|
|
|
117
117
|
<div class="method-heading">
|
|
118
|
-
<a href="#
|
|
118
|
+
<a href="#M000314" class="method-signature">
|
|
119
119
|
<span class="method-name">new</span><span class="method-args">(exception)</span>
|
|
120
120
|
</a>
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
123
|
<div class="method-description">
|
|
124
124
|
<p><a class="source-toggle" href="#"
|
|
125
|
-
onclick="toggleCode('
|
|
126
|
-
<div class="method-source-code" id="
|
|
125
|
+
onclick="toggleCode('M000314-source');return false;">[Source]</a></p>
|
|
126
|
+
<div class="method-source-code" id="M000314-source">
|
|
127
127
|
<pre>
|
|
128
128
|
<span class="ruby-comment cmt"># File lib/wee/response.rb, line 71</span>
|
|
129
129
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">exception</span>)
|
|
@@ -138,19 +138,19 @@
|
|
|
138
138
|
|
|
139
139
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
140
140
|
|
|
141
|
-
<div id="method-
|
|
142
|
-
<a name="
|
|
141
|
+
<div id="method-M000315" class="method-detail">
|
|
142
|
+
<a name="M000315"></a>
|
|
143
143
|
|
|
144
144
|
<div class="method-heading">
|
|
145
|
-
<a href="#
|
|
145
|
+
<a href="#M000315" class="method-signature">
|
|
146
146
|
<span class="method-name">render</span><span class="method-args">(c)</span>
|
|
147
147
|
</a>
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
<div class="method-description">
|
|
151
151
|
<p><a class="source-toggle" href="#"
|
|
152
|
-
onclick="toggleCode('
|
|
153
|
-
<div class="method-source-code" id="
|
|
152
|
+
onclick="toggleCode('M000315-source');return false;">[Source]</a></p>
|
|
153
|
+
<div class="method-source-code" id="M000315-source">
|
|
154
154
|
<pre>
|
|
155
155
|
<span class="ruby-comment cmt"># File lib/wee/response.rb, line 77</span>
|
|
156
156
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>(<span class="ruby-identifier">c</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="#M000093">render_wrapper</a>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
94
|
|
|
@@ -110,19 +110,19 @@
|
|
|
110
110
|
<div id="methods">
|
|
111
111
|
<h3 class="section-bar">Private Instance methods</h3>
|
|
112
112
|
|
|
113
|
-
<div id="method-
|
|
114
|
-
<a name="
|
|
113
|
+
<div id="method-M000093" class="method-detail">
|
|
114
|
+
<a name="M000093"></a>
|
|
115
115
|
|
|
116
116
|
<div class="method-heading">
|
|
117
|
-
<a href="#
|
|
117
|
+
<a href="#M000093" class="method-signature">
|
|
118
118
|
<span class="method-name">render_wrapper</span><span class="method-args">() {|| ...}</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('M000093-source');return false;">[Source]</a></p>
|
|
125
|
+
<div class="method-source-code" id="M000093-source">
|
|
126
126
|
<pre>
|
|
127
127
|
<span class="ruby-comment cmt"># File lib/wee/components/form_decoration.rb, line 4</span>
|
|
128
128
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_wrapper</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="#M000094">new</a>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
94
94
|
|
|
@@ -123,19 +123,19 @@
|
|
|
123
123
|
<div id="methods">
|
|
124
124
|
<h3 class="section-bar">Public Class methods</h3>
|
|
125
125
|
|
|
126
|
-
<div id="method-
|
|
127
|
-
<a name="
|
|
126
|
+
<div id="method-M000094" class="method-detail">
|
|
127
|
+
<a name="M000094"></a>
|
|
128
128
|
|
|
129
129
|
<div class="method-heading">
|
|
130
|
-
<a href="#
|
|
130
|
+
<a href="#M000094" class="method-signature">
|
|
131
131
|
<span class="method-name">new</span><span class="method-args">(mime_type = 'text/html', content='')</span>
|
|
132
132
|
</a>
|
|
133
133
|
</div>
|
|
134
134
|
|
|
135
135
|
<div class="method-description">
|
|
136
136
|
<p><a class="source-toggle" href="#"
|
|
137
|
-
onclick="toggleCode('
|
|
138
|
-
<div class="method-source-code" id="
|
|
137
|
+
onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
|
|
138
|
+
<div class="method-source-code" id="M000094-source">
|
|
139
139
|
<pre>
|
|
140
140
|
<span class="ruby-comment cmt"># File lib/wee/response.rb, line 40</span>
|
|
141
141
|
<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>)
|