wee 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/TODO +31 -0
- data/benchmark.rb +37 -0
- data/demo.ru +11 -0
- data/doc/rdoc/classes/Array.html +22 -26
- data/doc/rdoc/classes/Hash.html +22 -26
- data/doc/rdoc/classes/Object.html +21 -26
- data/doc/rdoc/classes/String.html +19 -87
- data/doc/rdoc/classes/Struct.html +22 -26
- data/doc/rdoc/classes/Wee.html +75 -206
- data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
- data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
- data/doc/rdoc/classes/Wee/Application.html +63 -114
- data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
- data/doc/rdoc/classes/Wee/Brush.html +52 -101
- data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
- data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
- data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
- data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
- data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
- data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
- data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
- data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
- data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
- data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
- data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
- data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
- data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
- data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
- data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
- data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
- data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
- data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
- data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
- data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
- data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
- data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
- data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
- data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
- data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
- data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
- data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
- data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
- data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
- data/doc/rdoc/classes/Wee/Component.html +142 -292
- data/doc/rdoc/classes/Wee/Decoration.html +85 -141
- data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
- data/doc/rdoc/classes/Wee/Delegate.html +72 -115
- data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
- data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
- data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
- data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
- data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
- data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
- data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
- data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
- data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
- data/doc/rdoc/classes/Wee/JQuery.html +36 -64
- data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
- data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
- data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
- data/doc/rdoc/classes/Wee/Presenter.html +86 -143
- data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
- data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
- data/doc/rdoc/classes/Wee/Renderer.html +56 -125
- data/doc/rdoc/classes/Wee/Request.html +57 -115
- data/doc/rdoc/classes/Wee/Response.html +24 -26
- data/doc/rdoc/classes/Wee/Session.html +137 -292
- data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
- data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
- data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
- data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
- data/doc/rdoc/classes/Wee/State.html +57 -105
- data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
- data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
- data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
- data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README_rdoc.html +26 -17
- data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
- data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
- data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
- data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
- data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
- data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
- data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
- data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
- data/doc/rdoc/files/lib/wee_rb.html +37 -47
- data/doc/rdoc/fr_class_index.html +12 -86
- data/doc/rdoc/fr_file_index.html +12 -30
- data/doc/rdoc/fr_method_index.html +242 -473
- data/doc/rdoc/index.html +8 -5
- data/doc/rdoc/rdoc-style.css +119 -210
- data/examples/ObjectSpaceBrowser.rb +4 -4
- data/examples/TODO +21 -0
- data/examples/ajax.rb +6 -4
- data/examples/blog.rb +42 -0
- data/examples/demo.rb +5 -3
- data/examples/demo/calculator.rb +3 -3
- data/examples/demo/calendar.rb +4 -4
- data/examples/demo/counter.rb +2 -2
- data/examples/demo/editable_counter.rb +2 -2
- data/examples/demo/example.rb +25 -16
- data/examples/demo/window.rb +10 -3
- data/examples/hw2.rb +17 -0
- data/examples/recipe/description.rb +170 -0
- data/examples/recipe/migrations/001_create_recipes.rb +13 -0
- data/examples/recipe/model.rb +27 -0
- data/examples/recipe/models/recipe.rb +18 -0
- data/examples/recipe/recipe_editor.rb +28 -0
- data/lib/wee.rb +1 -7
- data/lib/wee/component.rb +37 -74
- data/lib/wee/decoration.rb +16 -15
- data/lib/wee/html_brushes.rb +16 -17
- data/lib/wee/presenter.rb +2 -1
- data/lib/wee/response.rb +4 -4
- data/lib/wee/session.rb +2 -2
- data/lib/wee/state.rb +2 -2
- data/test/t.rb +67 -0
- data/wee.gemspec +1 -1
- metadata +157 -167
@@ -1,9 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
3
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
7
|
<head>
|
5
|
-
<title>Class: Wee::Brush::FormTag
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::FormTag</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
7
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
9
12
|
<script type="text/javascript">
|
@@ -22,7 +25,7 @@
|
|
22
25
|
return false;
|
23
26
|
|
24
27
|
elemStyle = elem.style;
|
25
|
-
|
28
|
+
|
26
29
|
if ( elemStyle.display != "block" ) {
|
27
30
|
elemStyle.display = "block"
|
28
31
|
} else {
|
@@ -31,10 +34,10 @@
|
|
31
34
|
|
32
35
|
return true;
|
33
36
|
}
|
34
|
-
|
37
|
+
|
35
38
|
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }
|
37
|
-
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
38
41
|
// ]]>
|
39
42
|
</script>
|
40
43
|
|
@@ -42,6 +45,7 @@
|
|
42
45
|
<body>
|
43
46
|
|
44
47
|
|
48
|
+
|
45
49
|
<div id="classHeader">
|
46
50
|
<table class="header-table">
|
47
51
|
<tr class="top-aligned-row">
|
@@ -51,100 +55,74 @@
|
|
51
55
|
<tr class="top-aligned-row">
|
52
56
|
<td><strong>In:</strong></td>
|
53
57
|
<td>
|
54
|
-
|
55
|
-
|
56
58
|
<a href="../../../files/lib/wee/html_brushes_rb.html">
|
57
|
-
|
58
59
|
lib/wee/html_brushes.rb
|
59
|
-
|
60
60
|
</a>
|
61
|
-
|
62
|
-
|
63
61
|
<br />
|
64
|
-
|
65
62
|
</td>
|
66
63
|
</tr>
|
67
64
|
|
68
|
-
|
69
65
|
<tr class="top-aligned-row">
|
70
66
|
<td><strong>Parent:</strong></td>
|
71
67
|
<td>
|
72
|
-
|
73
68
|
Brush::GenericTagBrush
|
74
|
-
|
75
69
|
</td>
|
76
70
|
</tr>
|
77
|
-
|
78
71
|
</table>
|
79
72
|
</div>
|
80
73
|
<!-- banner header -->
|
81
74
|
|
82
75
|
<div id="bodyContent">
|
83
76
|
|
77
|
+
|
78
|
+
|
84
79
|
<div id="contextContent">
|
85
80
|
|
86
|
-
<div id="description">
|
87
|
-
<hr size="10"></hr><pre>
|
88
|
-
Form
|
89
|
-
</pre>
|
90
|
-
<hr size="10"></hr>
|
91
|
-
</div>
|
92
81
|
|
93
|
-
</div>
|
94
82
|
|
83
|
+
</div>
|
95
84
|
|
96
85
|
<div id="method-list">
|
97
86
|
<h3 class="section-bar">Methods</h3>
|
98
87
|
|
99
88
|
<div class="name-list">
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<a href="#M000146">new</a>
|
106
|
-
|
107
|
-
<a href="#M000147">with</a>
|
108
|
-
|
89
|
+
<a href="#M000145">__callback</a>
|
90
|
+
<a href="#M000142">enctype_multipart</a>
|
91
|
+
<a href="#M000143">new</a>
|
92
|
+
<a href="#M000144">with</a>
|
109
93
|
</div>
|
110
94
|
</div>
|
111
95
|
|
112
96
|
</div>
|
113
97
|
|
114
|
-
<!-- if includes -->
|
115
98
|
|
99
|
+
<!-- if includes -->
|
116
100
|
<div id="includes">
|
117
101
|
<h3 class="section-bar">Included Modules</h3>
|
118
102
|
|
119
103
|
<div id="includes-list">
|
120
|
-
|
121
104
|
<span class="include-name"><a href="../CallbackMixin.html">CallbackMixin</a></span>
|
122
|
-
|
123
105
|
</div>
|
124
106
|
</div>
|
125
107
|
|
126
108
|
<div id="section">
|
127
109
|
|
110
|
+
|
128
111
|
<div id="constants-list">
|
129
112
|
<h3 class="section-bar">Constants</h3>
|
130
113
|
|
131
114
|
<div class="name-list">
|
132
115
|
<table summary="Constants">
|
133
|
-
|
134
116
|
<tr class="top-aligned-row context-row">
|
135
117
|
<td class="context-item-name">HTML_TAG</td>
|
136
118
|
<td>=</td>
|
137
119
|
<td class="context-item-value">'form'.freeze</td>
|
138
|
-
|
139
120
|
</tr>
|
140
|
-
|
141
121
|
<tr class="top-aligned-row context-row">
|
142
122
|
<td class="context-item-name">HTML_METHOD_POST</td>
|
143
123
|
<td>=</td>
|
144
124
|
<td class="context-item-value">'POST'.freeze</td>
|
145
|
-
|
146
125
|
</tr>
|
147
|
-
|
148
126
|
</table>
|
149
127
|
</div>
|
150
128
|
</div>
|
@@ -156,53 +134,39 @@
|
|
156
134
|
|
157
135
|
<div class="name-list">
|
158
136
|
<table>
|
159
|
-
|
160
137
|
<tr class="top-aligned-row context-row">
|
161
138
|
<td class="context-item-name">action</td>
|
162
|
-
|
163
139
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
164
|
-
|
165
140
|
<td class="context-item-desc"></td>
|
166
141
|
</tr>
|
167
|
-
|
168
142
|
<tr class="top-aligned-row context-row">
|
169
143
|
<td class="context-item-name">enctype</td>
|
170
|
-
|
171
144
|
<td class="context-item-value"> [HtmlAttribute] </td>
|
172
|
-
|
173
145
|
<td class="context-item-desc"></td>
|
174
146
|
</tr>
|
175
|
-
|
176
147
|
</table>
|
177
148
|
</div>
|
178
149
|
</div>
|
150
|
+
|
179
151
|
|
180
152
|
|
181
153
|
<!-- if method_list -->
|
182
|
-
|
183
154
|
<div id="methods">
|
184
|
-
|
185
155
|
<h3 class="section-bar">Public Class methods</h3>
|
186
156
|
|
187
|
-
|
188
|
-
|
189
|
-
<a name="M000146"></a>
|
157
|
+
<div id="method-M000143" class="method-detail">
|
158
|
+
<a name="M000143"></a>
|
190
159
|
|
191
160
|
<div class="method-heading">
|
192
|
-
|
193
|
-
<a href="#M000146" class="method-signature">
|
194
|
-
|
161
|
+
<a href="#M000143" class="method-signature">
|
195
162
|
<span class="method-name">new</span><span class="method-args">()</span>
|
196
|
-
|
197
163
|
</a>
|
198
|
-
|
199
164
|
</div>
|
200
|
-
|
165
|
+
|
201
166
|
<div class="method-description">
|
202
|
-
|
203
167
|
<p><a class="source-toggle" href="#"
|
204
|
-
onclick="toggleCode('
|
205
|
-
<div class="method-source-code" id="
|
168
|
+
onclick="toggleCode('M000143-source');return false;">[Source]</a></p>
|
169
|
+
<div class="method-source-code" id="M000143-source">
|
206
170
|
<pre>
|
207
171
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 328</span>
|
208
172
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -211,65 +175,49 @@
|
|
211
175
|
<span class="ruby-keyword kw">end</span>
|
212
176
|
</pre>
|
213
177
|
</div>
|
214
|
-
|
215
178
|
</div>
|
216
179
|
</div>
|
217
180
|
|
218
|
-
|
219
181
|
<h3 class="section-bar">Public Instance methods</h3>
|
220
182
|
|
221
|
-
|
222
|
-
|
223
|
-
<a name="M000148"></a>
|
183
|
+
<div id="method-M000145" class="method-detail">
|
184
|
+
<a name="M000145"></a>
|
224
185
|
|
225
186
|
<div class="method-heading">
|
226
|
-
|
227
|
-
<a href="#M000148" class="method-signature">
|
228
|
-
|
187
|
+
<a href="#M000145" class="method-signature">
|
229
188
|
<span class="method-name">__callback</span><span class="method-args">()</span>
|
230
|
-
|
231
189
|
</a>
|
232
|
-
|
233
190
|
</div>
|
234
|
-
|
191
|
+
|
235
192
|
<div class="method-description">
|
236
|
-
|
237
193
|
<p><a class="source-toggle" href="#"
|
238
|
-
onclick="toggleCode('
|
239
|
-
<div class="method-source-code" id="
|
194
|
+
onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
|
195
|
+
<div class="method-source-code" id="M000145-source">
|
240
196
|
<pre>
|
241
197
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 343</span>
|
242
198
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callback</span>; <span class="ruby-identifier">action</span>(<span class="ruby-ivar">@canvas</span>.<span class="ruby-identifier">url_for_callback</span>(<span class="ruby-ivar">@callback</span>)) <span class="ruby-keyword kw">end</span>
|
243
199
|
</pre>
|
244
200
|
</div>
|
245
|
-
|
246
201
|
</div>
|
247
202
|
</div>
|
248
203
|
|
249
|
-
|
250
|
-
|
251
|
-
<a name="M000145"></a>
|
204
|
+
<div id="method-M000142" class="method-detail">
|
205
|
+
<a name="M000142"></a>
|
252
206
|
|
253
207
|
<div class="method-heading">
|
254
|
-
|
255
|
-
<a href="#M000145" class="method-signature">
|
256
|
-
|
208
|
+
<a href="#M000142" class="method-signature">
|
257
209
|
<span class="method-name">enctype_multipart</span><span class="method-args">()</span>
|
258
|
-
|
259
210
|
</a>
|
260
|
-
|
261
211
|
</div>
|
262
|
-
|
212
|
+
|
263
213
|
<div class="method-description">
|
264
|
-
|
265
214
|
<p>
|
266
215
|
Use this enctype when you have a <a
|
267
216
|
href="FileUploadTag.html">FileUploadTag</a> field.
|
268
217
|
</p>
|
269
|
-
|
270
218
|
<p><a class="source-toggle" href="#"
|
271
|
-
onclick="toggleCode('
|
272
|
-
<div class="method-source-code" id="
|
219
|
+
onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
|
220
|
+
<div class="method-source-code" id="M000142-source">
|
273
221
|
<pre>
|
274
222
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 324</span>
|
275
223
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enctype_multipart</span>
|
@@ -277,29 +225,22 @@ href="FileUploadTag.html">FileUploadTag</a> field.
|
|
277
225
|
<span class="ruby-keyword kw">end</span>
|
278
226
|
</pre>
|
279
227
|
</div>
|
280
|
-
|
281
228
|
</div>
|
282
229
|
</div>
|
283
230
|
|
284
|
-
|
285
|
-
|
286
|
-
<a name="M000147"></a>
|
231
|
+
<div id="method-M000144" class="method-detail">
|
232
|
+
<a name="M000144"></a>
|
287
233
|
|
288
234
|
<div class="method-heading">
|
289
|
-
|
290
|
-
<a href="#M000147" class="method-signature">
|
291
|
-
|
235
|
+
<a href="#M000144" class="method-signature">
|
292
236
|
<span class="method-name">with</span><span class="method-args">(&block)</span>
|
293
|
-
|
294
237
|
</a>
|
295
|
-
|
296
238
|
</div>
|
297
|
-
|
239
|
+
|
298
240
|
<div class="method-description">
|
299
|
-
|
300
241
|
<p><a class="source-toggle" href="#"
|
301
|
-
onclick="toggleCode('
|
302
|
-
<div class="method-source-code" id="
|
242
|
+
onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
|
243
|
+
<div class="method-source-code" id="M000144-source">
|
303
244
|
<pre>
|
304
245
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 333</span>
|
305
246
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -311,22 +252,19 @@ href="FileUploadTag.html">FileUploadTag</a> field.
|
|
311
252
|
<span class="ruby-keyword kw">end</span>
|
312
253
|
</pre>
|
313
254
|
</div>
|
314
|
-
|
315
255
|
</div>
|
316
256
|
</div>
|
317
257
|
|
318
258
|
|
319
|
-
|
320
259
|
</div>
|
321
260
|
|
322
261
|
|
323
|
-
|
324
|
-
|
325
262
|
</div>
|
326
263
|
|
264
|
+
|
327
265
|
<div id="validator-badges">
|
328
266
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
329
267
|
</div>
|
330
268
|
|
331
269
|
</body>
|
332
|
-
</html>
|
270
|
+
</html>
|
@@ -1,9 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
3
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
7
|
<head>
|
5
|
-
<title>Class: Wee::Brush::GenericEncodedTextBrush
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::GenericEncodedTextBrush</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
7
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
8
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
9
12
|
<script type="text/javascript">
|
@@ -22,7 +25,7 @@
|
|
22
25
|
return false;
|
23
26
|
|
24
27
|
elemStyle = elem.style;
|
25
|
-
|
28
|
+
|
26
29
|
if ( elemStyle.display != "block" ) {
|
27
30
|
elemStyle.display = "block"
|
28
31
|
} else {
|
@@ -31,10 +34,10 @@
|
|
31
34
|
|
32
35
|
return true;
|
33
36
|
}
|
34
|
-
|
37
|
+
|
35
38
|
// Make codeblocks hidden by default
|
36
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }
|
37
|
-
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
38
41
|
// ]]>
|
39
42
|
</script>
|
40
43
|
|
@@ -42,6 +45,7 @@
|
|
42
45
|
<body>
|
43
46
|
|
44
47
|
|
48
|
+
|
45
49
|
<div id="classHeader">
|
46
50
|
<table class="header-table">
|
47
51
|
<tr class="top-aligned-row">
|
@@ -51,53 +55,44 @@
|
|
51
55
|
<tr class="top-aligned-row">
|
52
56
|
<td><strong>In:</strong></td>
|
53
57
|
<td>
|
54
|
-
|
55
|
-
|
56
58
|
<a href="../../../files/lib/wee/html_brushes_rb.html">
|
57
|
-
|
58
59
|
lib/wee/html_brushes.rb
|
59
|
-
|
60
60
|
</a>
|
61
|
-
|
62
|
-
|
63
61
|
<br />
|
64
|
-
|
65
62
|
</td>
|
66
63
|
</tr>
|
67
64
|
|
68
|
-
|
69
65
|
<tr class="top-aligned-row">
|
70
66
|
<td><strong>Parent:</strong></td>
|
71
67
|
<td>
|
72
|
-
|
73
68
|
Brush::GenericTextBrush
|
74
|
-
|
75
69
|
</td>
|
76
70
|
</tr>
|
77
|
-
|
78
71
|
</table>
|
79
72
|
</div>
|
80
73
|
<!-- banner header -->
|
81
74
|
|
82
75
|
<div id="bodyContent">
|
83
76
|
|
77
|
+
|
78
|
+
|
84
79
|
<div id="contextContent">
|
85
80
|
|
86
|
-
</div>
|
87
81
|
|
88
82
|
|
83
|
+
</div>
|
84
|
+
|
89
85
|
<div id="method-list">
|
90
86
|
<h3 class="section-bar">Methods</h3>
|
91
87
|
|
92
88
|
<div class="name-list">
|
93
|
-
|
94
|
-
<a href="#M000122">with</a>
|
95
|
-
|
89
|
+
<a href="#M000147">with</a>
|
96
90
|
</div>
|
97
91
|
</div>
|
98
92
|
|
99
93
|
</div>
|
100
94
|
|
95
|
+
|
101
96
|
<!-- if includes -->
|
102
97
|
|
103
98
|
<div id="section">
|
@@ -105,31 +100,27 @@
|
|
105
100
|
|
106
101
|
|
107
102
|
|
108
|
-
<!-- if method_list -->
|
109
103
|
|
110
|
-
|
104
|
+
|
111
105
|
|
112
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
113
106
|
|
107
|
+
<!-- if method_list -->
|
108
|
+
<div id="methods">
|
109
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
114
110
|
|
115
|
-
<div id="method-
|
116
|
-
<a name="
|
111
|
+
<div id="method-M000147" class="method-detail">
|
112
|
+
<a name="M000147"></a>
|
117
113
|
|
118
114
|
<div class="method-heading">
|
119
|
-
|
120
|
-
<a href="#M000122" class="method-signature">
|
121
|
-
|
115
|
+
<a href="#M000147" class="method-signature">
|
122
116
|
<span class="method-name">with</span><span class="method-args">(text)</span>
|
123
|
-
|
124
117
|
</a>
|
125
|
-
|
126
118
|
</div>
|
127
|
-
|
119
|
+
|
128
120
|
<div class="method-description">
|
129
|
-
|
130
121
|
<p><a class="source-toggle" href="#"
|
131
|
-
onclick="toggleCode('
|
132
|
-
<div class="method-source-code" id="
|
122
|
+
onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000147-source">
|
133
124
|
<pre>
|
134
125
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 42</span>
|
135
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">text</span>)
|
@@ -138,22 +129,19 @@
|
|
138
129
|
<span class="ruby-keyword kw">end</span>
|
139
130
|
</pre>
|
140
131
|
</div>
|
141
|
-
|
142
132
|
</div>
|
143
133
|
</div>
|
144
134
|
|
145
135
|
|
146
|
-
|
147
136
|
</div>
|
148
137
|
|
149
138
|
|
150
|
-
|
151
|
-
|
152
139
|
</div>
|
153
140
|
|
141
|
+
|
154
142
|
<div id="validator-badges">
|
155
143
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
156
144
|
</div>
|
157
145
|
|
158
146
|
</body>
|
159
|
-
</html>
|
147
|
+
</html>
|