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::CheckboxTag
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::CheckboxTag</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,106 +55,87 @@
|
|
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::InputTag
|
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
|
-
|
95
|
-
|
96
|
-
<a href="#M000154">new</a>
|
97
|
-
|
98
|
-
<a href="#M000156">with</a>
|
99
|
-
|
89
|
+
<a href="#M000150">__callback</a>
|
90
|
+
<a href="#M000149">new</a>
|
91
|
+
<a href="#M000151">with</a>
|
100
92
|
</div>
|
101
93
|
</div>
|
102
94
|
|
103
95
|
</div>
|
104
96
|
|
97
|
+
|
105
98
|
<!-- if includes -->
|
106
99
|
|
107
100
|
<div id="section">
|
108
101
|
|
102
|
+
|
109
103
|
<div id="constants-list">
|
110
104
|
<h3 class="section-bar">Constants</h3>
|
111
105
|
|
112
106
|
<div class="name-list">
|
113
107
|
<table summary="Constants">
|
114
|
-
|
115
108
|
<tr class="top-aligned-row context-row">
|
116
109
|
<td class="context-item-name">HTML_TYPE</td>
|
117
110
|
<td>=</td>
|
118
111
|
<td class="context-item-value">'checkbox'.freeze</td>
|
119
|
-
|
120
112
|
</tr>
|
121
|
-
|
122
113
|
</table>
|
123
114
|
</div>
|
124
115
|
</div>
|
125
116
|
|
126
117
|
|
127
118
|
|
119
|
+
|
128
120
|
|
129
|
-
<!-- if method_list -->
|
130
121
|
|
122
|
+
<!-- if method_list -->
|
131
123
|
<div id="methods">
|
132
|
-
|
133
124
|
<h3 class="section-bar">Public Class methods</h3>
|
134
125
|
|
135
|
-
|
136
|
-
|
137
|
-
<a name="M000154"></a>
|
126
|
+
<div id="method-M000149" class="method-detail">
|
127
|
+
<a name="M000149"></a>
|
138
128
|
|
139
129
|
<div class="method-heading">
|
140
|
-
|
141
|
-
<a href="#M000154" class="method-signature">
|
142
|
-
|
130
|
+
<a href="#M000149" class="method-signature">
|
143
131
|
<span class="method-name">new</span><span class="method-args">()</span>
|
144
|
-
|
145
132
|
</a>
|
146
|
-
|
147
133
|
</div>
|
148
|
-
|
134
|
+
|
149
135
|
<div class="method-description">
|
150
|
-
|
151
136
|
<p><a class="source-toggle" href="#"
|
152
|
-
onclick="toggleCode('
|
153
|
-
<div class="method-source-code" id="
|
137
|
+
onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
|
138
|
+
<div class="method-source-code" id="M000149-source">
|
154
139
|
<pre>
|
155
140
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 408</span>
|
156
141
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -158,60 +143,45 @@
|
|
158
143
|
<span class="ruby-keyword kw">end</span>
|
159
144
|
</pre>
|
160
145
|
</div>
|
161
|
-
|
162
146
|
</div>
|
163
147
|
</div>
|
164
148
|
|
165
|
-
|
166
149
|
<h3 class="section-bar">Public Instance methods</h3>
|
167
150
|
|
168
|
-
|
169
|
-
|
170
|
-
<a name="M000155"></a>
|
151
|
+
<div id="method-M000150" class="method-detail">
|
152
|
+
<a name="M000150"></a>
|
171
153
|
|
172
154
|
<div class="method-heading">
|
173
|
-
|
174
|
-
<a href="#M000155" class="method-signature">
|
175
|
-
|
155
|
+
<a href="#M000150" class="method-signature">
|
176
156
|
<span class="method-name">__callback</span><span class="method-args">()</span>
|
177
|
-
|
178
157
|
</a>
|
179
|
-
|
180
158
|
</div>
|
181
|
-
|
159
|
+
|
182
160
|
<div class="method-description">
|
183
|
-
|
184
161
|
<p><a class="source-toggle" href="#"
|
185
|
-
onclick="toggleCode('
|
186
|
-
<div class="method-source-code" id="
|
162
|
+
onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
|
163
|
+
<div class="method-source-code" id="M000150-source">
|
187
164
|
<pre>
|
188
165
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 412</span>
|
189
166
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callback</span>; <span class="ruby-keyword kw">end</span>
|
190
167
|
</pre>
|
191
168
|
</div>
|
192
|
-
|
193
169
|
</div>
|
194
170
|
</div>
|
195
171
|
|
196
|
-
|
197
|
-
|
198
|
-
<a name="M000156"></a>
|
172
|
+
<div id="method-M000151" class="method-detail">
|
173
|
+
<a name="M000151"></a>
|
199
174
|
|
200
175
|
<div class="method-heading">
|
201
|
-
|
202
|
-
<a href="#M000156" class="method-signature">
|
203
|
-
|
176
|
+
<a href="#M000151" class="method-signature">
|
204
177
|
<span class="method-name">with</span><span class="method-args">()</span>
|
205
|
-
|
206
178
|
</a>
|
207
|
-
|
208
179
|
</div>
|
209
|
-
|
180
|
+
|
210
181
|
<div class="method-description">
|
211
|
-
|
212
182
|
<p><a class="source-toggle" href="#"
|
213
|
-
onclick="toggleCode('
|
214
|
-
<div class="method-source-code" id="
|
183
|
+
onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
|
184
|
+
<div class="method-source-code" id="M000151-source">
|
215
185
|
<pre>
|
216
186
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 414</span>
|
217
187
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>
|
@@ -227,22 +197,19 @@
|
|
227
197
|
<span class="ruby-keyword kw">end</span>
|
228
198
|
</pre>
|
229
199
|
</div>
|
230
|
-
|
231
200
|
</div>
|
232
201
|
</div>
|
233
202
|
|
234
203
|
|
235
|
-
|
236
204
|
</div>
|
237
205
|
|
238
206
|
|
239
|
-
|
240
|
-
|
241
207
|
</div>
|
242
208
|
|
209
|
+
|
243
210
|
<div id="validator-badges">
|
244
211
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
245
212
|
</div>
|
246
213
|
|
247
214
|
</body>
|
248
|
-
</html>
|
215
|
+
</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::FileUploadTag
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
8
|
+
<title>Class: Wee::Brush::FileUploadTag</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,109 +55,91 @@
|
|
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::InputTag
|
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
81
|
<div id="description">
|
87
82
|
<p>
|
88
|
-
Use a
|
83
|
+
Use a <form> tag with enctype_multipart!
|
89
84
|
</p>
|
90
85
|
|
91
86
|
</div>
|
92
87
|
|
93
|
-
</div>
|
94
88
|
|
89
|
+
</div>
|
95
90
|
|
96
91
|
<div id="method-list">
|
97
92
|
<h3 class="section-bar">Methods</h3>
|
98
93
|
|
99
94
|
<div class="name-list">
|
100
|
-
|
101
|
-
<a href="#M000157">new</a>
|
102
|
-
|
95
|
+
<a href="#M000181">new</a>
|
103
96
|
</div>
|
104
97
|
</div>
|
105
98
|
|
106
99
|
</div>
|
107
100
|
|
101
|
+
|
108
102
|
<!-- if includes -->
|
109
103
|
|
110
104
|
<div id="section">
|
111
105
|
|
106
|
+
|
112
107
|
<div id="constants-list">
|
113
108
|
<h3 class="section-bar">Constants</h3>
|
114
109
|
|
115
110
|
<div class="name-list">
|
116
111
|
<table summary="Constants">
|
117
|
-
|
118
112
|
<tr class="top-aligned-row context-row">
|
119
113
|
<td class="context-item-name">HTML_TYPE</td>
|
120
114
|
<td>=</td>
|
121
115
|
<td class="context-item-value">'file'.freeze</td>
|
122
|
-
|
123
116
|
</tr>
|
124
|
-
|
125
117
|
</table>
|
126
118
|
</div>
|
127
119
|
</div>
|
128
120
|
|
129
121
|
|
130
122
|
|
123
|
+
|
131
124
|
|
132
|
-
<!-- if method_list -->
|
133
125
|
|
126
|
+
<!-- if method_list -->
|
134
127
|
<div id="methods">
|
135
|
-
|
136
128
|
<h3 class="section-bar">Public Class methods</h3>
|
137
129
|
|
138
|
-
|
139
|
-
|
140
|
-
<a name="M000157"></a>
|
130
|
+
<div id="method-M000181" class="method-detail">
|
131
|
+
<a name="M000181"></a>
|
141
132
|
|
142
133
|
<div class="method-heading">
|
143
|
-
|
144
|
-
<a href="#M000157" class="method-signature">
|
145
|
-
|
134
|
+
<a href="#M000181" class="method-signature">
|
146
135
|
<span class="method-name">new</span><span class="method-args">()</span>
|
147
|
-
|
148
136
|
</a>
|
149
|
-
|
150
137
|
</div>
|
151
|
-
|
138
|
+
|
152
139
|
<div class="method-description">
|
153
|
-
|
154
140
|
<p><a class="source-toggle" href="#"
|
155
|
-
onclick="toggleCode('
|
156
|
-
<div class="method-source-code" id="
|
141
|
+
onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
|
142
|
+
<div class="method-source-code" id="M000181-source">
|
157
143
|
<pre>
|
158
144
|
<span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 433</span>
|
159
145
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -161,22 +147,19 @@ Use a <form> tag with enctype_multipart!
|
|
161
147
|
<span class="ruby-keyword kw">end</span>
|
162
148
|
</pre>
|
163
149
|
</div>
|
164
|
-
|
165
150
|
</div>
|
166
151
|
</div>
|
167
152
|
|
168
153
|
|
169
|
-
|
170
154
|
</div>
|
171
155
|
|
172
156
|
|
173
|
-
|
174
|
-
|
175
157
|
</div>
|
176
158
|
|
159
|
+
|
177
160
|
<div id="validator-badges">
|
178
161
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
179
162
|
</div>
|
180
163
|
|
181
164
|
</body>
|
182
|
-
</html>
|
165
|
+
</html>
|