wee 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +0 -1
- data/Rakefile +5 -0
- data/TODO +6 -0
- data/doc/rdoc/classes/Enumerable.html +6 -6
- data/doc/rdoc/classes/Wee/AnswerDecoration.html +10 -10
- data/doc/rdoc/classes/Wee/Application.html +110 -52
- data/doc/rdoc/classes/Wee/Brush/ActionCallbackMixin.html +8 -15
- data/doc/rdoc/classes/Wee/Brush/ActionURLCallbackMixin.html +8 -19
- data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +22 -22
- data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +156 -0
- data/doc/rdoc/classes/Wee/Brush/FormTag.html +50 -25
- data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +36 -36
- data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +16 -16
- data/doc/rdoc/classes/Wee/Brush/InputCallbackMixin.html +8 -15
- data/doc/rdoc/classes/Wee/Brush/InputTag.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +28 -28
- data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +14 -14
- 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 +28 -28
- data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush.html +19 -19
- data/doc/rdoc/classes/Wee/CallbackRegistry.html +33 -33
- 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 +163 -138
- data/doc/rdoc/classes/Wee/Decoration.html +72 -41
- data/doc/rdoc/classes/Wee/Delegate.html +31 -31
- data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
- data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
- data/doc/rdoc/classes/Wee/Helper.html +148 -0
- data/doc/rdoc/classes/Wee/HtmlCanvas.html +267 -166
- data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
- data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +12 -12
- data/doc/rdoc/classes/Wee/PageDecoration.html +199 -0
- data/doc/rdoc/classes/Wee/Presenter.html +69 -69
- 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 +18 -18
- data/doc/rdoc/classes/Wee/RequestHandler.html +32 -31
- data/doc/rdoc/classes/Wee/Response.html +24 -24
- data/doc/rdoc/classes/Wee/Session.html +83 -64
- data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +18 -18
- data/doc/rdoc/classes/Wee/Snapshot.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 +66 -62
- data/doc/rdoc/classes/Wee.html +63 -2
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README.html +6 -9
- data/doc/rdoc/files/lib/wee/adaptors/webrick_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/application_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/components/page_decoration_rb.html +101 -0
- data/doc/rdoc/files/lib/wee/components_rb.html +108 -0
- data/doc/rdoc/files/lib/wee/core/callback_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/core/component_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/core/decoration_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
- data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/renderer/html/canvas_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/requesthandler_rb.html +1 -1
- data/doc/rdoc/files/lib/wee/session_rb.html +2 -1
- data/doc/rdoc/files/lib/wee/utils/autoreload_rb.html +101 -0
- data/doc/rdoc/files/lib/wee/utils/helper_rb.html +108 -0
- data/doc/rdoc/files/lib/wee_rb.html +2 -1
- data/doc/rdoc/fr_class_index.html +3 -1
- data/doc/rdoc/fr_file_index.html +4 -0
- data/doc/rdoc/fr_method_index.html +203 -191
- data/examples/example.rb +2 -16
- data/examples/test.rb +15 -18
- data/lib/wee/adaptors/webrick.rb +3 -1
- data/lib/wee/application.rb +55 -19
- data/lib/wee/components/page_decoration.rb +14 -0
- data/lib/wee/components.rb +1 -0
- data/lib/wee/core/callback.rb +1 -1
- data/lib/wee/core/component.rb +27 -3
- data/lib/wee/core/decoration.rb +9 -0
- data/lib/wee/renderer/html/brushes.rb +21 -23
- data/lib/wee/renderer/html/canvas.rb +25 -4
- data/lib/wee/requesthandler.rb +1 -0
- data/lib/wee/session.rb +21 -1
- data/lib/wee/utils/autoreload.rb +27 -0
- data/lib/wee/utils/helper.rb +15 -0
- data/lib/wee.rb +2 -1
- metadata +203 -191
- data/test/components/page_decoration.rb +0 -7
@@ -86,8 +86,8 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
89
|
+
<a href="#M000097">align_top</a>
|
90
|
+
<a href="#M000096">new</a>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
|
@@ -109,21 +109,21 @@
|
|
109
109
|
<div id="methods">
|
110
110
|
<h3 class="section-bar">Public Class methods</h3>
|
111
111
|
|
112
|
-
<div id="method-
|
113
|
-
<a name="
|
112
|
+
<div id="method-M000096" class="method-detail">
|
113
|
+
<a name="M000096"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="#
|
116
|
+
<a href="#M000096" class="method-signature">
|
117
117
|
<span class="method-name">new</span><span class="method-args">()</span>
|
118
118
|
</a>
|
119
119
|
</div>
|
120
120
|
|
121
121
|
<div class="method-description">
|
122
122
|
<p><a class="source-toggle" href="#"
|
123
|
-
onclick="toggleCode('
|
124
|
-
<div class="method-source-code" id="
|
123
|
+
onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
|
124
|
+
<div class="method-source-code" id="M000096-source">
|
125
125
|
<pre>
|
126
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
126
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 336</span>
|
127
127
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
128
128
|
<span class="ruby-keyword kw">super</span>(<span class="ruby-value str">'td'</span>)
|
129
129
|
<span class="ruby-keyword kw">end</span>
|
@@ -134,21 +134,21 @@
|
|
134
134
|
|
135
135
|
<h3 class="section-bar">Public Instance methods</h3>
|
136
136
|
|
137
|
-
<div id="method-
|
138
|
-
<a name="
|
137
|
+
<div id="method-M000097" class="method-detail">
|
138
|
+
<a name="M000097"></a>
|
139
139
|
|
140
140
|
<div class="method-heading">
|
141
|
-
<a href="#
|
141
|
+
<a href="#M000097" class="method-signature">
|
142
142
|
<span class="method-name">align_top</span><span class="method-args">()</span>
|
143
143
|
</a>
|
144
144
|
</div>
|
145
145
|
|
146
146
|
<div class="method-description">
|
147
147
|
<p><a class="source-toggle" href="#"
|
148
|
-
onclick="toggleCode('
|
149
|
-
<div class="method-source-code" id="
|
148
|
+
onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
|
149
|
+
<div class="method-source-code" id="M000097-source">
|
150
150
|
<pre>
|
151
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
151
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 340</span>
|
152
152
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_top</span>
|
153
153
|
<span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'align'</span>] = <span class="ruby-value str">'top'</span>
|
154
154
|
<span class="ruby-keyword kw">self</span>
|
@@ -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="#M000095">new</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -108,21 +108,21 @@
|
|
108
108
|
<div id="methods">
|
109
109
|
<h3 class="section-bar">Public Class methods</h3>
|
110
110
|
|
111
|
-
<div id="method-
|
112
|
-
<a name="
|
111
|
+
<div id="method-M000095" class="method-detail">
|
112
|
+
<a name="M000095"></a>
|
113
113
|
|
114
114
|
<div class="method-heading">
|
115
|
-
<a href="#
|
115
|
+
<a href="#M000095" class="method-signature">
|
116
116
|
<span class="method-name">new</span><span class="method-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('M000095-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000095-source">
|
124
124
|
<pre>
|
125
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
125
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 347</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
127
127
|
<span class="ruby-keyword kw">super</span>(<span class="ruby-value str">'th'</span>)
|
128
128
|
<span class="ruby-keyword kw">end</span>
|
@@ -86,12 +86,12 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
89
|
+
<a href="#M000099">align_top</a>
|
90
|
+
<a href="#M000100">columns</a>
|
91
|
+
<a href="#M000101">headings</a>
|
92
|
+
<a href="#M000098">new</a>
|
93
|
+
<a href="#M000103">spacer</a>
|
94
|
+
<a href="#M000102">spanning_column</a>
|
95
95
|
</div>
|
96
96
|
</div>
|
97
97
|
|
@@ -113,19 +113,19 @@
|
|
113
113
|
<div id="methods">
|
114
114
|
<h3 class="section-bar">Public Class methods</h3>
|
115
115
|
|
116
|
-
<div id="method-
|
117
|
-
<a name="
|
116
|
+
<div id="method-M000098" class="method-detail">
|
117
|
+
<a name="M000098"></a>
|
118
118
|
|
119
119
|
<div class="method-heading">
|
120
|
-
<a href="#
|
120
|
+
<a href="#M000098" class="method-signature">
|
121
121
|
<span class="method-name">new</span><span class="method-args">()</span>
|
122
122
|
</a>
|
123
123
|
</div>
|
124
124
|
|
125
125
|
<div class="method-description">
|
126
126
|
<p><a class="source-toggle" href="#"
|
127
|
-
onclick="toggleCode('
|
128
|
-
<div class="method-source-code" id="
|
127
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
128
|
+
<div class="method-source-code" id="M000098-source">
|
129
129
|
<pre>
|
130
130
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 98</span>
|
131
131
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</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-M000099" class="method-detail">
|
142
|
+
<a name="M000099"></a>
|
143
143
|
|
144
144
|
<div class="method-heading">
|
145
|
-
<a href="#
|
145
|
+
<a href="#M000099" class="method-signature">
|
146
146
|
<span class="method-name">align_top</span><span class="method-args">()</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('M000099-source');return false;">[Source]</a></p>
|
153
|
+
<div class="method-source-code" id="M000099-source">
|
154
154
|
<pre>
|
155
155
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 102</span>
|
156
156
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_top</span>
|
@@ -162,19 +162,19 @@
|
|
162
162
|
</div>
|
163
163
|
</div>
|
164
164
|
|
165
|
-
<div id="method-
|
166
|
-
<a name="
|
165
|
+
<div id="method-M000100" class="method-detail">
|
166
|
+
<a name="M000100"></a>
|
167
167
|
|
168
168
|
<div class="method-heading">
|
169
|
-
<a href="#
|
169
|
+
<a href="#M000100" class="method-signature">
|
170
170
|
<span class="method-name">columns</span><span class="method-args">(*cols)</span>
|
171
171
|
</a>
|
172
172
|
</div>
|
173
173
|
|
174
174
|
<div class="method-description">
|
175
175
|
<p><a class="source-toggle" href="#"
|
176
|
-
onclick="toggleCode('
|
177
|
-
<div class="method-source-code" id="
|
176
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
177
|
+
<div class="method-source-code" id="M000100-source">
|
178
178
|
<pre>
|
179
179
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 107</span>
|
180
180
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">columns</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">cols</span>)
|
@@ -187,19 +187,19 @@
|
|
187
187
|
</div>
|
188
188
|
</div>
|
189
189
|
|
190
|
-
<div id="method-
|
191
|
-
<a name="
|
190
|
+
<div id="method-M000101" class="method-detail">
|
191
|
+
<a name="M000101"></a>
|
192
192
|
|
193
193
|
<div class="method-heading">
|
194
|
-
<a href="#
|
194
|
+
<a href="#M000101" class="method-signature">
|
195
195
|
<span class="method-name">headings</span><span class="method-args">(*headers)</span>
|
196
196
|
</a>
|
197
197
|
</div>
|
198
198
|
|
199
199
|
<div class="method-description">
|
200
200
|
<p><a class="source-toggle" href="#"
|
201
|
-
onclick="toggleCode('
|
202
|
-
<div class="method-source-code" id="
|
201
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
202
|
+
<div class="method-source-code" id="M000101-source">
|
203
203
|
<pre>
|
204
204
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 113</span>
|
205
205
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">headings</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">headers</span>)
|
@@ -212,19 +212,19 @@
|
|
212
212
|
</div>
|
213
213
|
</div>
|
214
214
|
|
215
|
-
<div id="method-
|
216
|
-
<a name="
|
215
|
+
<div id="method-M000103" class="method-detail">
|
216
|
+
<a name="M000103"></a>
|
217
217
|
|
218
218
|
<div class="method-heading">
|
219
|
-
<a href="#
|
219
|
+
<a href="#M000103" class="method-signature">
|
220
220
|
<span class="method-name">spacer</span><span class="method-args">()</span>
|
221
221
|
</a>
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div class="method-description">
|
225
225
|
<p><a class="source-toggle" href="#"
|
226
|
-
onclick="toggleCode('
|
227
|
-
<div class="method-source-code" id="
|
226
|
+
onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
|
227
|
+
<div class="method-source-code" id="M000103-source">
|
228
228
|
<pre>
|
229
229
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 125</span>
|
230
230
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spacer</span>
|
@@ -237,19 +237,19 @@
|
|
237
237
|
</div>
|
238
238
|
</div>
|
239
239
|
|
240
|
-
<div id="method-
|
241
|
-
<a name="
|
240
|
+
<div id="method-M000102" class="method-detail">
|
241
|
+
<a name="M000102"></a>
|
242
242
|
|
243
243
|
<div class="method-heading">
|
244
|
-
<a href="#
|
244
|
+
<a href="#M000102" class="method-signature">
|
245
245
|
<span class="method-name">spanning_column</span><span class="method-args">(str, colspan)</span>
|
246
246
|
</a>
|
247
247
|
</div>
|
248
248
|
|
249
249
|
<div class="method-description">
|
250
250
|
<p><a class="source-toggle" href="#"
|
251
|
-
onclick="toggleCode('
|
252
|
-
<div class="method-source-code" id="
|
251
|
+
onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
|
252
|
+
<div class="method-source-code" id="M000102-source">
|
253
253
|
<pre>
|
254
254
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 119</span>
|
255
255
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spanning_column</span>(<span class="ruby-identifier">str</span>, <span class="ruby-identifier">colspan</span>)
|
@@ -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="#M000094">new</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 Class methods</h3>
|
110
110
|
|
111
|
-
<div id="method-
|
112
|
-
<a name="
|
111
|
+
<div id="method-M000094" class="method-detail">
|
112
|
+
<a name="M000094"></a>
|
113
113
|
|
114
114
|
<div class="method-heading">
|
115
|
-
<a href="#
|
115
|
+
<a href="#M000094" class="method-signature">
|
116
116
|
<span class="method-name">new</span><span class="method-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('M000094-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000094-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 92</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -86,10 +86,10 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
89
|
+
<a href="#M000089">disabled</a>
|
90
|
+
<a href="#M000088">new</a>
|
91
|
+
<a href="#M000090">readonly</a>
|
92
|
+
<a href="#M000091">with</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -118,21 +118,21 @@
|
|
118
118
|
<div id="methods">
|
119
119
|
<h3 class="section-bar">Public Class methods</h3>
|
120
120
|
|
121
|
-
<div id="method-
|
122
|
-
<a name="
|
121
|
+
<div id="method-M000088" class="method-detail">
|
122
|
+
<a name="M000088"></a>
|
123
123
|
|
124
124
|
<div class="method-heading">
|
125
|
-
<a href="#
|
125
|
+
<a href="#M000088" class="method-signature">
|
126
126
|
<span class="method-name">new</span><span class="method-args">()</span>
|
127
127
|
</a>
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div class="method-description">
|
131
131
|
<p><a class="source-toggle" href="#"
|
132
|
-
onclick="toggleCode('
|
133
|
-
<div class="method-source-code" id="
|
132
|
+
onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
|
133
|
+
<div class="method-source-code" id="M000088-source">
|
134
134
|
<pre>
|
135
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
135
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 184</span>
|
136
136
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
137
137
|
<span class="ruby-keyword kw">super</span>(<span class="ruby-value str">'textarea'</span>)
|
138
138
|
<span class="ruby-keyword kw">end</span>
|
@@ -143,21 +143,21 @@
|
|
143
143
|
|
144
144
|
<h3 class="section-bar">Public Instance methods</h3>
|
145
145
|
|
146
|
-
<div id="method-
|
147
|
-
<a name="
|
146
|
+
<div id="method-M000089" class="method-detail">
|
147
|
+
<a name="M000089"></a>
|
148
148
|
|
149
149
|
<div class="method-heading">
|
150
|
-
<a href="#
|
150
|
+
<a href="#M000089" class="method-signature">
|
151
151
|
<span class="method-name">disabled</span><span class="method-args">()</span>
|
152
152
|
</a>
|
153
153
|
</div>
|
154
154
|
|
155
155
|
<div class="method-description">
|
156
156
|
<p><a class="source-toggle" href="#"
|
157
|
-
onclick="toggleCode('
|
158
|
-
<div class="method-source-code" id="
|
157
|
+
onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
|
158
|
+
<div class="method-source-code" id="M000089-source">
|
159
159
|
<pre>
|
160
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
160
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 197</span>
|
161
161
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">disabled</span>
|
162
162
|
<span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'disabled'</span>] = <span class="ruby-keyword kw">nil</span>
|
163
163
|
<span class="ruby-keyword kw">self</span>
|
@@ -167,21 +167,21 @@
|
|
167
167
|
</div>
|
168
168
|
</div>
|
169
169
|
|
170
|
-
<div id="method-
|
171
|
-
<a name="
|
170
|
+
<div id="method-M000090" class="method-detail">
|
171
|
+
<a name="M000090"></a>
|
172
172
|
|
173
173
|
<div class="method-heading">
|
174
|
-
<a href="#
|
174
|
+
<a href="#M000090" class="method-signature">
|
175
175
|
<span class="method-name">readonly</span><span class="method-args">()</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('M000090-source');return false;">[Source]</a></p>
|
182
|
+
<div class="method-source-code" id="M000090-source">
|
183
183
|
<pre>
|
184
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
184
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 202</span>
|
185
185
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">readonly</span>
|
186
186
|
<span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'readonly'</span>] = <span class="ruby-keyword kw">nil</span>
|
187
187
|
<span class="ruby-keyword kw">self</span>
|
@@ -191,21 +191,21 @@
|
|
191
191
|
</div>
|
192
192
|
</div>
|
193
193
|
|
194
|
-
<div id="method-
|
195
|
-
<a name="
|
194
|
+
<div id="method-M000091" class="method-detail">
|
195
|
+
<a name="M000091"></a>
|
196
196
|
|
197
197
|
<div class="method-heading">
|
198
|
-
<a href="#
|
198
|
+
<a href="#M000091" class="method-signature">
|
199
199
|
<span class="method-name">with</span><span class="method-args">(*args, &block)</span>
|
200
200
|
</a>
|
201
201
|
</div>
|
202
202
|
|
203
203
|
<div class="method-description">
|
204
204
|
<p><a class="source-toggle" href="#"
|
205
|
-
onclick="toggleCode('
|
206
|
-
<div class="method-source-code" id="
|
205
|
+
onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
|
206
|
+
<div class="method-source-code" id="M000091-source">
|
207
207
|
<pre>
|
208
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
208
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 207</span>
|
209
209
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
210
210
|
<span class="ruby-keyword kw">super</span>
|
211
211
|
<span class="ruby-keyword kw">end</span>
|
@@ -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="#M000120">new</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -115,21 +115,21 @@
|
|
115
115
|
<div id="methods">
|
116
116
|
<h3 class="section-bar">Public Class methods</h3>
|
117
117
|
|
118
|
-
<div id="method-
|
119
|
-
<a name="
|
118
|
+
<div id="method-M000120" class="method-detail">
|
119
|
+
<a name="M000120"></a>
|
120
120
|
|
121
121
|
<div class="method-heading">
|
122
|
-
<a href="#
|
122
|
+
<a href="#M000120" class="method-signature">
|
123
123
|
<span class="method-name">new</span><span class="method-args">()</span>
|
124
124
|
</a>
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div class="method-description">
|
128
128
|
<p><a class="source-toggle" href="#"
|
129
|
-
onclick="toggleCode('
|
130
|
-
<div class="method-source-code" id="
|
129
|
+
onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
|
130
|
+
<div class="method-source-code" id="M000120-source">
|
131
131
|
<pre>
|
132
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
132
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 288</span>
|
133
133
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
134
134
|
<span class="ruby-keyword kw">super</span>
|
135
135
|
<span class="ruby-identifier">type</span>(<span class="ruby-value str">'text'</span>)
|
@@ -88,9 +88,9 @@
|
|
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="#
|
91
|
+
<a href="#M000079">close</a>
|
92
|
+
<a href="#M000077">new</a>
|
93
|
+
<a href="#M000078">with</a>
|
94
94
|
</div>
|
95
95
|
</div>
|
96
96
|
|
@@ -106,9 +106,9 @@
|
|
106
106
|
|
107
107
|
Module <a href="Brush/ActionCallbackMixin.html" class="link">Wee::Brush::ActionCallbackMixin</a><br />
|
108
108
|
Module <a href="Brush/ActionURLCallbackMixin.html" class="link">Wee::Brush::ActionURLCallbackMixin</a><br />
|
109
|
-
Module <a href="Brush/CallbackMixin.html" class="link">Wee::Brush::CallbackMixin</a><br />
|
110
109
|
Module <a href="Brush/InputCallbackMixin.html" class="link">Wee::Brush::InputCallbackMixin</a><br />
|
111
110
|
Class <a href="Brush/AnchorTag.html" class="link">Wee::Brush::AnchorTag</a><br />
|
111
|
+
Class <a href="Brush/FileUploadTag.html" class="link">Wee::Brush::FileUploadTag</a><br />
|
112
112
|
Class <a href="Brush/FormTag.html" class="link">Wee::Brush::FormTag</a><br />
|
113
113
|
Class <a href="Brush/GenericEncodedTextBrush.html" class="link">Wee::Brush::GenericEncodedTextBrush</a><br />
|
114
114
|
Class <a href="Brush/GenericTagBrush.html" class="link">Wee::Brush::GenericTagBrush</a><br />
|
@@ -156,19 +156,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
|
|
156
156
|
<div id="methods">
|
157
157
|
<h3 class="section-bar">Public Class methods</h3>
|
158
158
|
|
159
|
-
<div id="method-
|
160
|
-
<a name="
|
159
|
+
<div id="method-M000077" class="method-detail">
|
160
|
+
<a name="M000077"></a>
|
161
161
|
|
162
162
|
<div class="method-heading">
|
163
|
-
<a href="#
|
163
|
+
<a href="#M000077" class="method-signature">
|
164
164
|
<span class="method-name">new</span><span class="method-args">()</span>
|
165
165
|
</a>
|
166
166
|
</div>
|
167
167
|
|
168
168
|
<div class="method-description">
|
169
169
|
<p><a class="source-toggle" href="#"
|
170
|
-
onclick="toggleCode('
|
171
|
-
<div class="method-source-code" id="
|
170
|
+
onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
|
171
|
+
<div class="method-source-code" id="M000077-source">
|
172
172
|
<pre>
|
173
173
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 6</span>
|
174
174
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -181,19 +181,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
|
|
181
181
|
|
182
182
|
<h3 class="section-bar">Public Instance methods</h3>
|
183
183
|
|
184
|
-
<div id="method-
|
185
|
-
<a name="
|
184
|
+
<div id="method-M000079" class="method-detail">
|
185
|
+
<a name="M000079"></a>
|
186
186
|
|
187
187
|
<div class="method-heading">
|
188
|
-
<a href="#
|
188
|
+
<a href="#M000079" class="method-signature">
|
189
189
|
<span class="method-name">close</span><span class="method-args">()</span>
|
190
190
|
</a>
|
191
191
|
</div>
|
192
192
|
|
193
193
|
<div class="method-description">
|
194
194
|
<p><a class="source-toggle" href="#"
|
195
|
-
onclick="toggleCode('
|
196
|
-
<div class="method-source-code" id="
|
195
|
+
onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
|
196
|
+
<div class="method-source-code" id="M000079-source">
|
197
197
|
<pre>
|
198
198
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 17</span>
|
199
199
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
@@ -204,19 +204,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
|
|
204
204
|
</div>
|
205
205
|
</div>
|
206
206
|
|
207
|
-
<div id="method-
|
208
|
-
<a name="
|
207
|
+
<div id="method-M000078" class="method-detail">
|
208
|
+
<a name="M000078"></a>
|
209
209
|
|
210
210
|
<div class="method-heading">
|
211
|
-
<a href="#
|
211
|
+
<a href="#M000078" class="method-signature">
|
212
212
|
<span class="method-name">with</span><span class="method-args">(*args, &block)</span>
|
213
213
|
</a>
|
214
214
|
</div>
|
215
215
|
|
216
216
|
<div class="method-description">
|
217
217
|
<p><a class="source-toggle" href="#"
|
218
|
-
onclick="toggleCode('
|
219
|
-
<div class="method-source-code" id="
|
218
|
+
onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
|
219
|
+
<div class="method-source-code" id="M000078-source">
|
220
220
|
<pre>
|
221
221
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 10</span>
|
222
222
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|