wee 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +18 -0
- data/doc/rdoc/classes/Enumerable.html +6 -6
- data/doc/rdoc/classes/Object.html +12 -12
- data/doc/rdoc/classes/OgScaffolder.html +53 -6
- data/doc/rdoc/classes/OgScaffolder/Editor.html +182 -107
- data/doc/rdoc/classes/String.html +12 -12
- data/doc/rdoc/classes/Wee/AnswerDecoration.html +9 -9
- data/doc/rdoc/classes/Wee/Application.html +42 -42
- data/doc/rdoc/classes/Wee/Brush.html +18 -18
- data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/FormTag.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +84 -84
- data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +15 -15
- data/doc/rdoc/classes/Wee/Brush/ImageTag.html +18 -18
- data/doc/rdoc/classes/Wee/Brush/InputTag.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +31 -23
- data/doc/rdoc/classes/Wee/Brush/SelectListTag/SelectListCallback.html +11 -7
- data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +14 -14
- data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
- data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +36 -36
- data/doc/rdoc/classes/Wee/Brush/TableTag.html +6 -6
- data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +12 -12
- data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
- data/doc/rdoc/classes/Wee/CallbackRegistry.html +36 -36
- data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
- data/doc/rdoc/classes/Wee/Canvas.html +24 -24
- data/doc/rdoc/classes/Wee/Component.html +124 -124
- data/doc/rdoc/classes/Wee/Component/OnAnswer.html +6 -6
- data/doc/rdoc/classes/Wee/Decoration.html +40 -40
- data/doc/rdoc/classes/Wee/Delegate.html +27 -27
- data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
- data/doc/rdoc/classes/Wee/FormDecoration.html +6 -6
- data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
- data/doc/rdoc/classes/Wee/HtmlCanvas.html +214 -214
- data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
- data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +12 -12
- data/doc/rdoc/classes/Wee/Md5IdGenerator.html +12 -12
- data/doc/rdoc/classes/Wee/MessageBox.html +12 -12
- data/doc/rdoc/classes/Wee/PageDecoration.html +18 -18
- data/doc/rdoc/classes/Wee/PagelessApplication.html +6 -6
- data/doc/rdoc/classes/Wee/PagelessRequest.html +12 -12
- data/doc/rdoc/classes/Wee/PagelessSession.html +24 -24
- data/doc/rdoc/classes/Wee/Presenter.html +85 -85
- data/doc/rdoc/classes/Wee/RedirectResponse.html +6 -6
- data/doc/rdoc/classes/Wee/RefreshResponse.html +6 -6
- data/doc/rdoc/classes/Wee/Request.html +30 -30
- data/doc/rdoc/classes/Wee/RequestHandler.html +31 -31
- data/doc/rdoc/classes/Wee/Response.html +36 -36
- data/doc/rdoc/classes/Wee/Session.html +104 -104
- data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +12 -12
- data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
- data/doc/rdoc/classes/Wee/Utils.html +19 -19
- data/doc/rdoc/classes/Wee/Utils/LRUCache.html +6 -6
- data/doc/rdoc/classes/Wee/ValueHolder.html +18 -18
- data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +46 -46
- data/doc/rdoc/classes/Wee/WrapperDecoration.html +6 -6
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README.html +5 -5
- data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
- data/doc/rdoc/files/lib/wee/databases/og/scaffolder_rb.html +8 -1
- data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
- data/doc/rdoc/fr_method_index.html +268 -264
- data/lib/wee.rb +1 -1
- data/lib/wee/databases/og/scaffolder.rb +62 -17
- data/lib/wee/renderer/html/brushes.rb +17 -5
- metadata +21 -21
@@ -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="#M000147">new</a>
|
90
|
+
<a href="#M000148">with</a>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
|
@@ -132,21 +132,21 @@
|
|
132
132
|
<div id="methods">
|
133
133
|
<h3 class="section-bar">Public Class methods</h3>
|
134
134
|
|
135
|
-
<div id="method-
|
136
|
-
<a name="
|
135
|
+
<div id="method-M000147" class="method-detail">
|
136
|
+
<a name="M000147"></a>
|
137
137
|
|
138
138
|
<div class="method-heading">
|
139
|
-
<a href="#
|
139
|
+
<a href="#M000147" class="method-signature">
|
140
140
|
<span class="method-name">new</span><span class="method-args">()</span>
|
141
141
|
</a>
|
142
142
|
</div>
|
143
143
|
|
144
144
|
<div class="method-description">
|
145
145
|
<p><a class="source-toggle" href="#"
|
146
|
-
onclick="toggleCode('
|
147
|
-
<div class="method-source-code" id="
|
146
|
+
onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
|
147
|
+
<div class="method-source-code" id="M000147-source">
|
148
148
|
<pre>
|
149
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
149
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 442</span>
|
150
150
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
151
151
|
<span class="ruby-keyword kw">super</span>(<span class="ruby-value str">'form'</span>)
|
152
152
|
<span class="ruby-ivar">@attributes</span>[<span class="ruby-value str">'method'</span>] = <span class="ruby-value str">'POST'</span>
|
@@ -158,21 +158,21 @@
|
|
158
158
|
|
159
159
|
<h3 class="section-bar">Public Instance methods</h3>
|
160
160
|
|
161
|
-
<div id="method-
|
162
|
-
<a name="
|
161
|
+
<div id="method-M000148" class="method-detail">
|
162
|
+
<a name="M000148"></a>
|
163
163
|
|
164
164
|
<div class="method-heading">
|
165
|
-
<a href="#
|
165
|
+
<a href="#M000148" class="method-signature">
|
166
166
|
<span class="method-name">with</span><span class="method-args">(*args, &block)</span>
|
167
167
|
</a>
|
168
168
|
</div>
|
169
169
|
|
170
170
|
<div class="method-description">
|
171
171
|
<p><a class="source-toggle" href="#"
|
172
|
-
onclick="toggleCode('
|
173
|
-
<div class="method-source-code" id="
|
172
|
+
onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
|
173
|
+
<div class="method-source-code" id="M000148-source">
|
174
174
|
<pre>
|
175
|
-
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line
|
175
|
+
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 453</span>
|
176
176
|
<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>)
|
177
177
|
<span class="ruby-comment cmt"># If no action was specified, use a dummy one.</span>
|
178
178
|
<span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@attributes</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-value str">'action'</span>)
|
@@ -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="#M000170">new</a>
|
90
|
+
<a href="#M000171">with</a>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
|
@@ -109,19 +109,19 @@
|
|
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-M000170" class="method-detail">
|
113
|
+
<a name="M000170"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="#
|
116
|
+
<a href="#M000170" class="method-signature">
|
117
117
|
<span class="method-name">new</span><span class="method-args">(text)</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('M000170-source');return false;">[Source]</a></p>
|
124
|
+
<div class="method-source-code" id="M000170-source">
|
125
125
|
<pre>
|
126
126
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 37</span>
|
127
127
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">text</span>)
|
@@ -135,19 +135,19 @@
|
|
135
135
|
|
136
136
|
<h3 class="section-bar">Public Instance methods</h3>
|
137
137
|
|
138
|
-
<div id="method-
|
139
|
-
<a name="
|
138
|
+
<div id="method-M000171" class="method-detail">
|
139
|
+
<a name="M000171"></a>
|
140
140
|
|
141
141
|
<div class="method-heading">
|
142
|
-
<a href="#
|
142
|
+
<a href="#M000171" class="method-signature">
|
143
143
|
<span class="method-name">with</span><span class="method-args">()</span>
|
144
144
|
</a>
|
145
145
|
</div>
|
146
146
|
|
147
147
|
<div class="method-description">
|
148
148
|
<p><a class="source-toggle" href="#"
|
149
|
-
onclick="toggleCode('
|
150
|
-
<div class="method-source-code" id="
|
149
|
+
onclick="toggleCode('M000171-source');return false;">[Source]</a></p>
|
150
|
+
<div class="method-source-code" id="M000171-source">
|
151
151
|
<pre>
|
152
152
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 42</span>
|
153
153
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</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="#M000198">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-M000198" class="method-detail">
|
112
|
+
<a name="M000198"></a>
|
113
113
|
|
114
114
|
<div class="method-heading">
|
115
|
-
<a href="#
|
115
|
+
<a href="#M000198" class="method-signature">
|
116
116
|
<span class="method-name">new</span><span class="method-args">(tag)</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('M000198-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000198-source">
|
124
124
|
<pre>
|
125
125
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 184</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">tag</span>)
|
@@ -86,20 +86,20 @@
|
|
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="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
89
|
+
<a href="#M000178">__action_callback</a>
|
90
|
+
<a href="#M000179">__actionurl_callback</a>
|
91
|
+
<a href="#M000180">__actionurl_named_callback</a>
|
92
|
+
<a href="#M000177">__input_callback</a>
|
93
|
+
<a href="#M000173">bool_attr</a>
|
94
|
+
<a href="#M000183">css_class</a>
|
95
|
+
<a href="#M000185">css_class_for</a>
|
96
|
+
<a href="#M000174">html_attr</a>
|
97
|
+
<a href="#M000175">html_attr</a>
|
98
|
+
<a href="#M000181">method_missing</a>
|
99
|
+
<a href="#M000182">new</a>
|
100
|
+
<a href="#M000184">onclick_callback</a>
|
101
|
+
<a href="#M000176">to_callback</a>
|
102
|
+
<a href="#M000186">with</a>
|
103
103
|
</div>
|
104
104
|
</div>
|
105
105
|
|
@@ -121,19 +121,19 @@
|
|
121
121
|
<div id="methods">
|
122
122
|
<h3 class="section-bar">Public Class methods</h3>
|
123
123
|
|
124
|
-
<div id="method-
|
125
|
-
<a name="
|
124
|
+
<div id="method-M000182" class="method-detail">
|
125
|
+
<a name="M000182"></a>
|
126
126
|
|
127
127
|
<div class="method-heading">
|
128
|
-
<a href="#
|
128
|
+
<a href="#M000182" class="method-signature">
|
129
129
|
<span class="method-name">new</span><span class="method-args">(tag, is_single_tag=false)</span>
|
130
130
|
</a>
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div class="method-description">
|
134
134
|
<p><a class="source-toggle" href="#"
|
135
|
-
onclick="toggleCode('
|
136
|
-
<div class="method-source-code" id="
|
135
|
+
onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
|
136
|
+
<div class="method-source-code" id="M000182-source">
|
137
137
|
<pre>
|
138
138
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 136</span>
|
139
139
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">is_single_tag</span>=<span class="ruby-keyword kw">false</span>)
|
@@ -148,19 +148,19 @@
|
|
148
148
|
|
149
149
|
<h3 class="section-bar">Private Class methods</h3>
|
150
150
|
|
151
|
-
<div id="method-
|
152
|
-
<a name="
|
151
|
+
<div id="method-M000173" class="method-detail">
|
152
|
+
<a name="M000173"></a>
|
153
153
|
|
154
154
|
<div class="method-heading">
|
155
|
-
<a href="#
|
155
|
+
<a href="#M000173" class="method-signature">
|
156
156
|
<span class="method-name">bool_attr</span><span class="method-args">(*attrs)</span>
|
157
157
|
</a>
|
158
158
|
</div>
|
159
159
|
|
160
160
|
<div class="method-description">
|
161
161
|
<p><a class="source-toggle" href="#"
|
162
|
-
onclick="toggleCode('
|
163
|
-
<div class="method-source-code" id="
|
162
|
+
onclick="toggleCode('M000173-source');return false;">[Source]</a></p>
|
163
|
+
<div class="method-source-code" id="M000173-source">
|
164
164
|
<pre>
|
165
165
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 55</span>
|
166
166
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bool_attr</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">attrs</span>)
|
@@ -182,19 +182,19 @@
|
|
182
182
|
</div>
|
183
183
|
</div>
|
184
184
|
|
185
|
-
<div id="method-
|
186
|
-
<a name="
|
185
|
+
<div id="method-M000174" class="method-detail">
|
186
|
+
<a name="M000174"></a>
|
187
187
|
|
188
188
|
<div class="method-heading">
|
189
|
-
<a href="#
|
189
|
+
<a href="#M000174" class="method-signature">
|
190
190
|
<span class="method-name">html_attr</span><span class="method-args">(*attrs)</span>
|
191
191
|
</a>
|
192
192
|
</div>
|
193
193
|
|
194
194
|
<div class="method-description">
|
195
195
|
<p><a class="source-toggle" href="#"
|
196
|
-
onclick="toggleCode('
|
197
|
-
<div class="method-source-code" id="
|
196
|
+
onclick="toggleCode('M000174-source');return false;">[Source]</a></p>
|
197
|
+
<div class="method-source-code" id="M000174-source">
|
198
198
|
<pre>
|
199
199
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 70</span>
|
200
200
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">html_attr</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">attrs</span>)
|
@@ -213,19 +213,19 @@
|
|
213
213
|
|
214
214
|
<h3 class="section-bar">Public Instance methods</h3>
|
215
215
|
|
216
|
-
<div id="method-
|
217
|
-
<a name="
|
216
|
+
<div id="method-M000178" class="method-detail">
|
217
|
+
<a name="M000178"></a>
|
218
218
|
|
219
219
|
<div class="method-heading">
|
220
|
-
<a href="#
|
220
|
+
<a href="#M000178" class="method-signature">
|
221
221
|
<span class="method-name">__action_callback</span><span class="method-args">(symbol=nil, *args, &block)</span>
|
222
222
|
</a>
|
223
223
|
</div>
|
224
224
|
|
225
225
|
<div class="method-description">
|
226
226
|
<p><a class="source-toggle" href="#"
|
227
|
-
onclick="toggleCode('
|
228
|
-
<div class="method-source-code" id="
|
227
|
+
onclick="toggleCode('M000178-source');return false;">[Source]</a></p>
|
228
|
+
<div class="method-source-code" id="M000178-source">
|
229
229
|
<pre>
|
230
230
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 116</span>
|
231
231
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__action_callback</span>(<span class="ruby-identifier">symbol</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -236,11 +236,11 @@
|
|
236
236
|
</div>
|
237
237
|
</div>
|
238
238
|
|
239
|
-
<div id="method-
|
240
|
-
<a name="
|
239
|
+
<div id="method-M000179" class="method-detail">
|
240
|
+
<a name="M000179"></a>
|
241
241
|
|
242
242
|
<div class="method-heading">
|
243
|
-
<a href="#
|
243
|
+
<a href="#M000179" class="method-signature">
|
244
244
|
<span class="method-name">__actionurl_callback</span><span class="method-args">(symbol=nil, *args, &block)</span>
|
245
245
|
</a>
|
246
246
|
</div>
|
@@ -250,8 +250,8 @@
|
|
250
250
|
The callback id is listed in the URL (not as a form-data field)
|
251
251
|
</p>
|
252
252
|
<p><a class="source-toggle" href="#"
|
253
|
-
onclick="toggleCode('
|
254
|
-
<div class="method-source-code" id="
|
253
|
+
onclick="toggleCode('M000179-source');return false;">[Source]</a></p>
|
254
|
+
<div class="method-source-code" id="M000179-source">
|
255
255
|
<pre>
|
256
256
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 122</span>
|
257
257
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__actionurl_callback</span>(<span class="ruby-identifier">symbol</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -262,11 +262,11 @@ The callback id is listed in the URL (not as a form-data field)
|
|
262
262
|
</div>
|
263
263
|
</div>
|
264
264
|
|
265
|
-
<div id="method-
|
266
|
-
<a name="
|
265
|
+
<div id="method-M000180" class="method-detail">
|
266
|
+
<a name="M000180"></a>
|
267
267
|
|
268
268
|
<div class="method-heading">
|
269
|
-
<a href="#
|
269
|
+
<a href="#M000180" class="method-signature">
|
270
270
|
<span class="method-name">__actionurl_named_callback</span><span class="method-args">(name, symbol=nil, *args, &block)</span>
|
271
271
|
</a>
|
272
272
|
</div>
|
@@ -276,8 +276,8 @@ The callback id is listed in the URL (not as a form-data field)
|
|
276
276
|
The callback id is listed in the URL (not as a form-data field)
|
277
277
|
</p>
|
278
278
|
<p><a class="source-toggle" href="#"
|
279
|
-
onclick="toggleCode('
|
280
|
-
<div class="method-source-code" id="
|
279
|
+
onclick="toggleCode('M000180-source');return false;">[Source]</a></p>
|
280
|
+
<div class="method-source-code" id="M000180-source">
|
281
281
|
<pre>
|
282
282
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 128</span>
|
283
283
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__actionurl_named_callback</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">symbol</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -288,19 +288,19 @@ The callback id is listed in the URL (not as a form-data field)
|
|
288
288
|
</div>
|
289
289
|
</div>
|
290
290
|
|
291
|
-
<div id="method-
|
292
|
-
<a name="
|
291
|
+
<div id="method-M000177" class="method-detail">
|
292
|
+
<a name="M000177"></a>
|
293
293
|
|
294
294
|
<div class="method-heading">
|
295
|
-
<a href="#
|
295
|
+
<a href="#M000177" class="method-signature">
|
296
296
|
<span class="method-name">__input_callback</span><span class="method-args">(symbol=nil, *args, &block)</span>
|
297
297
|
</a>
|
298
298
|
</div>
|
299
299
|
|
300
300
|
<div class="method-description">
|
301
301
|
<p><a class="source-toggle" href="#"
|
302
|
-
onclick="toggleCode('
|
303
|
-
<div class="method-source-code" id="
|
302
|
+
onclick="toggleCode('M000177-source');return false;">[Source]</a></p>
|
303
|
+
<div class="method-source-code" id="M000177-source">
|
304
304
|
<pre>
|
305
305
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 112</span>
|
306
306
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__input_callback</span>(<span class="ruby-identifier">symbol</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -311,19 +311,19 @@ The callback id is listed in the URL (not as a form-data field)
|
|
311
311
|
</div>
|
312
312
|
</div>
|
313
313
|
|
314
|
-
<div id="method-
|
315
|
-
<a name="
|
314
|
+
<div id="method-M000183" class="method-detail">
|
315
|
+
<a name="M000183"></a>
|
316
316
|
|
317
317
|
<div class="method-heading">
|
318
|
-
<a href="#
|
318
|
+
<a href="#M000183" class="method-signature">
|
319
319
|
<span class="method-name">css_class</span><span class="method-args">(c)</span>
|
320
320
|
</a>
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div class="method-description">
|
324
324
|
<p><a class="source-toggle" href="#"
|
325
|
-
onclick="toggleCode('
|
326
|
-
<div class="method-source-code" id="
|
325
|
+
onclick="toggleCode('M000183-source');return false;">[Source]</a></p>
|
326
|
+
<div class="method-source-code" id="M000183-source">
|
327
327
|
<pre>
|
328
328
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 144</span>
|
329
329
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">css_class</span>(<span class="ruby-identifier">c</span>)
|
@@ -334,11 +334,11 @@ The callback id is listed in the URL (not as a form-data field)
|
|
334
334
|
</div>
|
335
335
|
</div>
|
336
336
|
|
337
|
-
<div id="method-
|
338
|
-
<a name="
|
337
|
+
<div id="method-M000185" class="method-detail">
|
338
|
+
<a name="M000185"></a>
|
339
339
|
|
340
340
|
<div class="method-heading">
|
341
|
-
<a href="#
|
341
|
+
<a href="#M000185" class="method-signature">
|
342
342
|
<span class="method-name">css_class_for</span><span class="method-args">(prop)</span>
|
343
343
|
</a>
|
344
344
|
</div>
|
@@ -349,8 +349,8 @@ This method construct the css-class attribute by looking up the property
|
|
349
349
|
from the current component.
|
350
350
|
</p>
|
351
351
|
<p><a class="source-toggle" href="#"
|
352
|
-
onclick="toggleCode('
|
353
|
-
<div class="method-source-code" id="
|
352
|
+
onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
|
353
|
+
<div class="method-source-code" id="M000185-source">
|
354
354
|
<pre>
|
355
355
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 157</span>
|
356
356
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">css_class_for</span>(<span class="ruby-identifier">prop</span>)
|
@@ -363,19 +363,19 @@ from the current component.
|
|
363
363
|
</div>
|
364
364
|
</div>
|
365
365
|
|
366
|
-
<div id="method-
|
367
|
-
<a name="
|
366
|
+
<div id="method-M000181" class="method-detail">
|
367
|
+
<a name="M000181"></a>
|
368
368
|
|
369
369
|
<div class="method-heading">
|
370
|
-
<a href="#
|
370
|
+
<a href="#M000181" class="method-signature">
|
371
371
|
<span class="method-name">method_missing</span><span class="method-args">(id, attr)</span>
|
372
372
|
</a>
|
373
373
|
</div>
|
374
374
|
|
375
375
|
<div class="method-description">
|
376
376
|
<p><a class="source-toggle" href="#"
|
377
|
-
onclick="toggleCode('
|
378
|
-
<div class="method-source-code" id="
|
377
|
+
onclick="toggleCode('M000181-source');return false;">[Source]</a></p>
|
378
|
+
<div class="method-source-code" id="M000181-source">
|
379
379
|
<pre>
|
380
380
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 132</span>
|
381
381
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">attr</span>)
|
@@ -386,19 +386,19 @@ from the current component.
|
|
386
386
|
</div>
|
387
387
|
</div>
|
388
388
|
|
389
|
-
<div id="method-
|
390
|
-
<a name="
|
389
|
+
<div id="method-M000184" class="method-detail">
|
390
|
+
<a name="M000184"></a>
|
391
391
|
|
392
392
|
<div class="method-heading">
|
393
|
-
<a href="#
|
393
|
+
<a href="#M000184" class="method-signature">
|
394
394
|
<span class="method-name">onclick_callback</span><span class="method-args">(symbol=nil, *args, &block)</span>
|
395
395
|
</a>
|
396
396
|
</div>
|
397
397
|
|
398
398
|
<div class="method-description">
|
399
399
|
<p><a class="source-toggle" href="#"
|
400
|
-
onclick="toggleCode('
|
401
|
-
<div class="method-source-code" id="
|
400
|
+
onclick="toggleCode('M000184-source');return false;">[Source]</a></p>
|
401
|
+
<div class="method-source-code" id="M000184-source">
|
402
402
|
<pre>
|
403
403
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 148</span>
|
404
404
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">onclick_callback</span>(<span class="ruby-identifier">symbol</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -411,19 +411,19 @@ from the current component.
|
|
411
411
|
</div>
|
412
412
|
</div>
|
413
413
|
|
414
|
-
<div id="method-
|
415
|
-
<a name="
|
414
|
+
<div id="method-M000186" class="method-detail">
|
415
|
+
<a name="M000186"></a>
|
416
416
|
|
417
417
|
<div class="method-heading">
|
418
|
-
<a href="#
|
418
|
+
<a href="#M000186" class="method-signature">
|
419
419
|
<span class="method-name">with</span><span class="method-args">(text=nil, &block)</span>
|
420
420
|
</a>
|
421
421
|
</div>
|
422
422
|
|
423
423
|
<div class="method-description">
|
424
424
|
<p><a class="source-toggle" href="#"
|
425
|
-
onclick="toggleCode('
|
426
|
-
<div class="method-source-code" id="
|
425
|
+
onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
|
426
|
+
<div class="method-source-code" id="M000186-source">
|
427
427
|
<pre>
|
428
428
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 163</span>
|
429
429
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">text</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -451,19 +451,19 @@ from the current component.
|
|
451
451
|
|
452
452
|
<h3 class="section-bar">Private Instance methods</h3>
|
453
453
|
|
454
|
-
<div id="method-
|
455
|
-
<a name="
|
454
|
+
<div id="method-M000175" class="method-detail">
|
455
|
+
<a name="M000175"></a>
|
456
456
|
|
457
457
|
<div class="method-heading">
|
458
|
-
<a href="#
|
458
|
+
<a href="#M000175" class="method-signature">
|
459
459
|
<span class="method-name">html_attr</span><span class="method-args">(attr, value)</span>
|
460
460
|
</a>
|
461
461
|
</div>
|
462
462
|
|
463
463
|
<div class="method-description">
|
464
464
|
<p><a class="source-toggle" href="#"
|
465
|
-
onclick="toggleCode('
|
466
|
-
<div class="method-source-code" id="
|
465
|
+
onclick="toggleCode('M000175-source');return false;">[Source]</a></p>
|
466
|
+
<div class="method-source-code" id="M000175-source">
|
467
467
|
<pre>
|
468
468
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 84</span>
|
469
469
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">html_attr</span>(<span class="ruby-identifier">attr</span>, <span class="ruby-identifier">value</span>)
|
@@ -479,11 +479,11 @@ from the current component.
|
|
479
479
|
</div>
|
480
480
|
</div>
|
481
481
|
|
482
|
-
<div id="method-
|
483
|
-
<a name="
|
482
|
+
<div id="method-M000176" class="method-detail">
|
483
|
+
<a name="M000176"></a>
|
484
484
|
|
485
485
|
<div class="method-heading">
|
486
|
-
<a href="#
|
486
|
+
<a href="#M000176" class="method-signature">
|
487
487
|
<span class="method-name">to_callback</span><span class="method-args">(symbol, args, block)</span>
|
488
488
|
</a>
|
489
489
|
</div>
|
@@ -493,8 +493,8 @@ from the current component.
|
|
493
493
|
Converts the arguments into a callable object.
|
494
494
|
</p>
|
495
495
|
<p><a class="source-toggle" href="#"
|
496
|
-
onclick="toggleCode('
|
497
|
-
<div class="method-source-code" id="
|
496
|
+
onclick="toggleCode('M000176-source');return false;">[Source]</a></p>
|
497
|
+
<div class="method-source-code" id="M000176-source">
|
498
498
|
<pre>
|
499
499
|
<span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 95</span>
|
500
500
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_callback</span>(<span class="ruby-identifier">symbol</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">block</span>)
|