wee 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/README +0 -1
  2. data/Rakefile +5 -0
  3. data/TODO +6 -0
  4. data/doc/rdoc/classes/Enumerable.html +6 -6
  5. data/doc/rdoc/classes/Wee/AnswerDecoration.html +10 -10
  6. data/doc/rdoc/classes/Wee/Application.html +110 -52
  7. data/doc/rdoc/classes/Wee/Brush/ActionCallbackMixin.html +8 -15
  8. data/doc/rdoc/classes/Wee/Brush/ActionURLCallbackMixin.html +8 -19
  9. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +22 -22
  10. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +156 -0
  11. data/doc/rdoc/classes/Wee/Brush/FormTag.html +50 -25
  12. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
  13. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +36 -36
  14. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
  15. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +16 -16
  16. data/doc/rdoc/classes/Wee/Brush/InputCallbackMixin.html +8 -15
  17. data/doc/rdoc/classes/Wee/Brush/InputTag.html +12 -12
  18. data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
  19. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +28 -28
  20. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +14 -14
  21. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
  22. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +14 -14
  23. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
  24. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +36 -36
  25. data/doc/rdoc/classes/Wee/Brush/TableTag.html +6 -6
  26. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +28 -28
  27. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
  28. data/doc/rdoc/classes/Wee/Brush.html +19 -19
  29. data/doc/rdoc/classes/Wee/CallbackRegistry.html +33 -33
  30. data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
  31. data/doc/rdoc/classes/Wee/Canvas.html +24 -24
  32. data/doc/rdoc/classes/Wee/Component.html +163 -138
  33. data/doc/rdoc/classes/Wee/Decoration.html +72 -41
  34. data/doc/rdoc/classes/Wee/Delegate.html +31 -31
  35. data/doc/rdoc/classes/Wee/ErrorResponse.html +12 -12
  36. data/doc/rdoc/classes/Wee/GenericResponse.html +6 -6
  37. data/doc/rdoc/classes/Wee/Helper.html +148 -0
  38. data/doc/rdoc/classes/Wee/HtmlCanvas.html +267 -166
  39. data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
  40. data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +12 -12
  41. data/doc/rdoc/classes/Wee/PageDecoration.html +199 -0
  42. data/doc/rdoc/classes/Wee/Presenter.html +69 -69
  43. data/doc/rdoc/classes/Wee/RedirectResponse.html +6 -6
  44. data/doc/rdoc/classes/Wee/RefreshResponse.html +6 -6
  45. data/doc/rdoc/classes/Wee/Request.html +18 -18
  46. data/doc/rdoc/classes/Wee/RequestHandler.html +32 -31
  47. data/doc/rdoc/classes/Wee/Response.html +24 -24
  48. data/doc/rdoc/classes/Wee/Session.html +83 -64
  49. data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +18 -18
  50. data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
  51. data/doc/rdoc/classes/Wee/Utils/LRUCache.html +6 -6
  52. data/doc/rdoc/classes/Wee/ValueHolder.html +18 -18
  53. data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +66 -62
  54. data/doc/rdoc/classes/Wee.html +63 -2
  55. data/doc/rdoc/created.rid +1 -1
  56. data/doc/rdoc/files/README.html +6 -9
  57. data/doc/rdoc/files/lib/wee/adaptors/webrick_rb.html +1 -1
  58. data/doc/rdoc/files/lib/wee/application_rb.html +1 -1
  59. data/doc/rdoc/files/lib/wee/components/page_decoration_rb.html +101 -0
  60. data/doc/rdoc/files/lib/wee/components_rb.html +108 -0
  61. data/doc/rdoc/files/lib/wee/core/callback_rb.html +1 -1
  62. data/doc/rdoc/files/lib/wee/core/component_rb.html +1 -1
  63. data/doc/rdoc/files/lib/wee/core/decoration_rb.html +1 -1
  64. data/doc/rdoc/files/lib/wee/core_rb.html +3 -3
  65. data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
  66. data/doc/rdoc/files/lib/wee/renderer/html/canvas_rb.html +1 -1
  67. data/doc/rdoc/files/lib/wee/requesthandler_rb.html +1 -1
  68. data/doc/rdoc/files/lib/wee/session_rb.html +2 -1
  69. data/doc/rdoc/files/lib/wee/utils/autoreload_rb.html +101 -0
  70. data/doc/rdoc/files/lib/wee/utils/helper_rb.html +108 -0
  71. data/doc/rdoc/files/lib/wee_rb.html +2 -1
  72. data/doc/rdoc/fr_class_index.html +3 -1
  73. data/doc/rdoc/fr_file_index.html +4 -0
  74. data/doc/rdoc/fr_method_index.html +203 -191
  75. data/examples/example.rb +2 -16
  76. data/examples/test.rb +15 -18
  77. data/lib/wee/adaptors/webrick.rb +3 -1
  78. data/lib/wee/application.rb +55 -19
  79. data/lib/wee/components/page_decoration.rb +14 -0
  80. data/lib/wee/components.rb +1 -0
  81. data/lib/wee/core/callback.rb +1 -1
  82. data/lib/wee/core/component.rb +27 -3
  83. data/lib/wee/core/decoration.rb +9 -0
  84. data/lib/wee/renderer/html/brushes.rb +21 -23
  85. data/lib/wee/renderer/html/canvas.rb +25 -4
  86. data/lib/wee/requesthandler.rb +1 -0
  87. data/lib/wee/session.rb +21 -1
  88. data/lib/wee/utils/autoreload.rb +27 -0
  89. data/lib/wee/utils/helper.rb +15 -0
  90. data/lib/wee.rb +2 -1
  91. metadata +203 -191
  92. data/test/components/page_decoration.rb +0 -7
@@ -99,7 +99,7 @@ The format of the internal datastructure is:
99
99
  <div id="contents-list">
100
100
  <h3 class="section-bar">Contents</h3>
101
101
  <ul>
102
- <li><a href="#SEC00087">Friend methods for Wee::CallbackStream</a></li>
102
+ <li><a href="#SEC00091">Friend methods for Wee::CallbackStream</a></li>
103
103
  </ul>
104
104
  </div>
105
105
 
@@ -107,11 +107,11 @@ The format of the internal datastructure is:
107
107
  <h3 class="section-bar">Methods</h3>
108
108
 
109
109
  <div class="name-list">
110
- <a href="#M000151">all_of_type</a>&nbsp;&nbsp;
111
- <a href="#M000150">get_callback_for</a>&nbsp;&nbsp;
112
- <a href="#M000149">get_ids_for</a>&nbsp;&nbsp;
113
- <a href="#M000147">new</a>&nbsp;&nbsp;
114
- <a href="#M000148">register_for</a>&nbsp;&nbsp;
110
+ <a href="#M000160">all_of_type</a>&nbsp;&nbsp;
111
+ <a href="#M000159">get_callback_for</a>&nbsp;&nbsp;
112
+ <a href="#M000158">get_ids_for</a>&nbsp;&nbsp;
113
+ <a href="#M000156">new</a>&nbsp;&nbsp;
114
+ <a href="#M000157">register_for</a>&nbsp;&nbsp;
115
115
  </div>
116
116
  </div>
117
117
 
@@ -133,19 +133,19 @@ The format of the internal datastructure is:
133
133
  <div id="methods">
134
134
  <h3 class="section-bar">Public Class methods</h3>
135
135
 
136
- <div id="method-M000147" class="method-detail">
137
- <a name="M000147"></a>
136
+ <div id="method-M000156" class="method-detail">
137
+ <a name="M000156"></a>
138
138
 
139
139
  <div class="method-heading">
140
- <a href="#M000147" class="method-signature">
140
+ <a href="#M000156" class="method-signature">
141
141
  <span class="method-name">new</span><span class="method-args">(id_generator)</span>
142
142
  </a>
143
143
  </div>
144
144
 
145
145
  <div class="method-description">
146
146
  <p><a class="source-toggle" href="#"
147
- onclick="toggleCode('M000147-source');return false;">[Source]</a></p>
148
- <div class="method-source-code" id="M000147-source">
147
+ onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
148
+ <div class="method-source-code" id="M000156-source">
149
149
  <pre>
150
150
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 11</span>
151
151
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id_generator</span>)
@@ -160,11 +160,11 @@ The format of the internal datastructure is:
160
160
 
161
161
  <h3 class="section-bar">Public Instance methods</h3>
162
162
 
163
- <div id="method-M000148" class="method-detail">
164
- <a name="M000148"></a>
163
+ <div id="method-M000157" class="method-detail">
164
+ <a name="M000157"></a>
165
165
 
166
166
  <div class="method-heading">
167
- <a href="#M000148" class="method-signature">
167
+ <a href="#M000157" class="method-signature">
168
168
  <span class="method-name">register_for</span><span class="method-args">(object, type=nil, &amp;callback)</span>
169
169
  </a>
170
170
  </div>
@@ -175,8 +175,8 @@ Register <tt>callback</tt> for <tt>object</tt> under <tt>type</tt> and
175
175
  return a unique callback id.
176
176
  </p>
177
177
  <p><a class="source-toggle" href="#"
178
- onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
179
- <div class="method-source-code" id="M000148-source">
178
+ onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
179
+ <div class="method-source-code" id="M000157-source">
180
180
  <pre>
181
181
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 19</span>
182
182
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">register_for</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">type</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">callback</span>)
@@ -196,7 +196,7 @@ return a unique callback id.
196
196
 
197
197
  </div>
198
198
  <div id="section">
199
- <h2 class="section-title"><a name="SEC00087">Friend methods for Wee::CallbackStream</a></h2>
199
+ <h2 class="section-title"><a name="SEC00091">Friend methods for Wee::CallbackStream</a></h2>
200
200
  <div class="section-comment">
201
201
 
202
202
  </div>
@@ -212,26 +212,26 @@ return a unique callback id.
212
212
  <div id="methods">
213
213
  <h3 class="section-bar">Public Instance methods</h3>
214
214
 
215
- <div id="method-M000151" class="method-detail">
216
- <a name="M000151"></a>
215
+ <div id="method-M000160" class="method-detail">
216
+ <a name="M000160"></a>
217
217
 
218
218
  <div class="method-heading">
219
- <a href="#M000151" class="method-signature">
219
+ <a href="#M000160" class="method-signature">
220
220
  <span class="method-name">all_of_type</span><span class="method-args">(type=nil)</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('M000151-source');return false;">[Source]</a></p>
227
- <div class="method-source-code" id="M000151-source">
226
+ onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
227
+ <div class="method-source-code" id="M000160-source">
228
228
  <pre>
229
229
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 49</span>
230
230
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all_of_type</span>(<span class="ruby-identifier">type</span>=<span class="ruby-keyword kw">nil</span>)
231
231
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">c</span> = <span class="ruby-ivar">@callbacks</span>[<span class="ruby-identifier">type</span>]
232
232
  <span class="ruby-identifier">c</span>
233
233
  <span class="ruby-keyword kw">else</span>
234
- <span class="ruby-identifier">raise</span>
234
+ []
235
235
  <span class="ruby-keyword kw">end</span>
236
236
  <span class="ruby-keyword kw">end</span>
237
237
  </pre>
@@ -239,19 +239,19 @@ return a unique callback id.
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000150" class="method-detail">
243
- <a name="M000150"></a>
242
+ <div id="method-M000159" class="method-detail">
243
+ <a name="M000159"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="#M000150" class="method-signature">
246
+ <a href="#M000159" class="method-signature">
247
247
  <span class="method-name">get_callback_for</span><span class="method-args">(id, type=nil)</span>
248
248
  </a>
249
249
  </div>
250
250
 
251
251
  <div class="method-description">
252
252
  <p><a class="source-toggle" href="#"
253
- onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
254
- <div class="method-source-code" id="M000150-source">
253
+ onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
254
+ <div class="method-source-code" id="M000159-source">
255
255
  <pre>
256
256
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 41</span>
257
257
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_callback_for</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">type</span>=<span class="ruby-keyword kw">nil</span>)
@@ -266,19 +266,19 @@ return a unique callback id.
266
266
  </div>
267
267
  </div>
268
268
 
269
- <div id="method-M000149" class="method-detail">
270
- <a name="M000149"></a>
269
+ <div id="method-M000158" class="method-detail">
270
+ <a name="M000158"></a>
271
271
 
272
272
  <div class="method-heading">
273
- <a href="#M000149" class="method-signature">
273
+ <a href="#M000158" class="method-signature">
274
274
  <span class="method-name">get_ids_for</span><span class="method-args">(object, type=nil)</span>
275
275
  </a>
276
276
  </div>
277
277
 
278
278
  <div class="method-description">
279
279
  <p><a class="source-toggle" href="#"
280
- onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
281
- <div class="method-source-code" id="M000149-source">
280
+ onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
281
+ <div class="method-source-code" id="M000158-source">
282
282
  <pre>
283
283
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 33</span>
284
284
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_ids_for</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">type</span>=<span class="ruby-keyword kw">nil</span>)
@@ -94,9 +94,9 @@ The intersection of registered callbacks and those that occured.
94
94
  <h3 class="section-bar">Methods</h3>
95
95
 
96
96
  <div class="name-list">
97
- <a href="#M000202">all_of_type</a>&nbsp;&nbsp;
98
- <a href="#M000200">new</a>&nbsp;&nbsp;
99
- <a href="#M000201">with_callbacks_for</a>&nbsp;&nbsp;
97
+ <a href="#M000214">all_of_type</a>&nbsp;&nbsp;
98
+ <a href="#M000212">new</a>&nbsp;&nbsp;
99
+ <a href="#M000213">with_callbacks_for</a>&nbsp;&nbsp;
100
100
  </div>
101
101
  </div>
102
102
 
@@ -118,11 +118,11 @@ The intersection of registered callbacks and those that occured.
118
118
  <div id="methods">
119
119
  <h3 class="section-bar">Public Class methods</h3>
120
120
 
121
- <div id="method-M000200" class="method-detail">
122
- <a name="M000200"></a>
121
+ <div id="method-M000212" class="method-detail">
122
+ <a name="M000212"></a>
123
123
 
124
124
  <div class="method-heading">
125
- <a href="#M000200" class="method-signature">
125
+ <a href="#M000212" class="method-signature">
126
126
  <span class="method-name">new</span><span class="method-args">(callbacks, ids_and_values)</span>
127
127
  </a>
128
128
  </div>
@@ -138,8 +138,8 @@ occurend in a request, e.g. { id =&gt; value }.
138
138
  </dd>
139
139
  </dl>
140
140
  <p><a class="source-toggle" href="#"
141
- onclick="toggleCode('M000200-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000200-source">
141
+ onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000212-source">
143
143
  <pre>
144
144
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 72</span>
145
145
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">callbacks</span>, <span class="ruby-identifier">ids_and_values</span>)
@@ -154,11 +154,11 @@ occurend in a request, e.g. { id =&gt; value }.
154
154
 
155
155
  <h3 class="section-bar">Public Instance methods</h3>
156
156
 
157
- <div id="method-M000202" class="method-detail">
158
- <a name="M000202"></a>
157
+ <div id="method-M000214" class="method-detail">
158
+ <a name="M000214"></a>
159
159
 
160
160
  <div class="method-heading">
161
- <a href="#M000202" class="method-signature">
161
+ <a href="#M000214" class="method-signature">
162
162
  <span class="method-name">all_of_type</span><span class="method-args">(type)</span>
163
163
  </a>
164
164
  </div>
@@ -169,8 +169,8 @@ Returns a [callback, value] array of all callbacks of <tt>type</tt> for
169
169
  which an id was given.
170
170
  </p>
171
171
  <p><a class="source-toggle" href="#"
172
- onclick="toggleCode('M000202-source');return false;">[Source]</a></p>
173
- <div class="method-source-code" id="M000202-source">
172
+ onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
173
+ <div class="method-source-code" id="M000214-source">
174
174
  <pre>
175
175
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 89</span>
176
176
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">all_of_type</span>(<span class="ruby-identifier">type</span>)
@@ -185,19 +185,19 @@ which an id was given.
185
185
  </div>
186
186
  </div>
187
187
 
188
- <div id="method-M000201" class="method-detail">
189
- <a name="M000201"></a>
188
+ <div id="method-M000213" class="method-detail">
189
+ <a name="M000213"></a>
190
190
 
191
191
  <div class="method-heading">
192
- <a href="#M000201" class="method-signature">
192
+ <a href="#M000213" class="method-signature">
193
193
  <span class="method-name">with_callbacks_for</span><span class="method-args">(object, type) {|@callbacks.get_callback_for(id, type), @ids_and_values[id]| ...}</span>
194
194
  </a>
195
195
  </div>
196
196
 
197
197
  <div class="method-description">
198
198
  <p><a class="source-toggle" href="#"
199
- onclick="toggleCode('M000201-source');return false;">[Source]</a></p>
200
- <div class="method-source-code" id="M000201-source">
199
+ onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
200
+ <div class="method-source-code" id="M000213-source">
201
201
  <pre>
202
202
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 78</span>
203
203
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_callbacks_for</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">type</span>)
@@ -88,10 +88,10 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000153">close</a>&nbsp;&nbsp;
92
- <a href="#M000155">nest</a>&nbsp;&nbsp;
93
- <a href="#M000152">new</a>&nbsp;&nbsp;
94
- <a href="#M000154">set_brush</a>&nbsp;&nbsp;
91
+ <a href="#M000162">close</a>&nbsp;&nbsp;
92
+ <a href="#M000164">nest</a>&nbsp;&nbsp;
93
+ <a href="#M000161">new</a>&nbsp;&nbsp;
94
+ <a href="#M000163">set_brush</a>&nbsp;&nbsp;
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-M000152" class="method-detail">
117
- <a name="M000152"></a>
116
+ <div id="method-M000161" class="method-detail">
117
+ <a name="M000161"></a>
118
118
 
119
119
  <div class="method-heading">
120
- <a href="#M000152" class="method-signature">
120
+ <a href="#M000161" 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('M000152-source');return false;">[Source]</a></p>
128
- <div class="method-source-code" id="M000152-source">
127
+ onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000161-source">
129
129
  <pre>
130
130
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/canvas.rb, line 4</span>
131
131
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -139,19 +139,19 @@
139
139
 
140
140
  <h3 class="section-bar">Public Instance methods</h3>
141
141
 
142
- <div id="method-M000153" class="method-detail">
143
- <a name="M000153"></a>
142
+ <div id="method-M000162" class="method-detail">
143
+ <a name="M000162"></a>
144
144
 
145
145
  <div class="method-heading">
146
- <a href="#M000153" class="method-signature">
146
+ <a href="#M000162" class="method-signature">
147
147
  <span class="method-name">close</span><span class="method-args">()</span>
148
148
  </a>
149
149
  </div>
150
150
 
151
151
  <div class="method-description">
152
152
  <p><a class="source-toggle" href="#"
153
- onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
154
- <div class="method-source-code" id="M000153-source">
153
+ onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
154
+ <div class="method-source-code" id="M000162-source">
155
155
  <pre>
156
156
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/canvas.rb, line 9</span>
157
157
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
@@ -163,19 +163,19 @@
163
163
  </div>
164
164
  </div>
165
165
 
166
- <div id="method-M000155" class="method-detail">
167
- <a name="M000155"></a>
166
+ <div id="method-M000164" class="method-detail">
167
+ <a name="M000164"></a>
168
168
 
169
169
  <div class="method-heading">
170
- <a href="#M000155" class="method-signature">
170
+ <a href="#M000164" class="method-signature">
171
171
  <span class="method-name">nest</span><span class="method-args">(&amp;block)</span>
172
172
  </a>
173
173
  </div>
174
174
 
175
175
  <div class="method-description">
176
176
  <p><a class="source-toggle" href="#"
177
- onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
178
- <div class="method-source-code" id="M000155-source">
177
+ onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
178
+ <div class="method-source-code" id="M000164-source">
179
179
  <pre>
180
180
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/canvas.rb, line 25</span>
181
181
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nest</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -190,19 +190,19 @@
190
190
  </div>
191
191
  </div>
192
192
 
193
- <div id="method-M000154" class="method-detail">
194
- <a name="M000154"></a>
193
+ <div id="method-M000163" class="method-detail">
194
+ <a name="M000163"></a>
195
195
 
196
196
  <div class="method-heading">
197
- <a href="#M000154" class="method-signature">
197
+ <a href="#M000163" class="method-signature">
198
198
  <span class="method-name">set_brush</span><span class="method-args">(brush)</span>
199
199
  </a>
200
200
  </div>
201
201
 
202
202
  <div class="method-description">
203
203
  <p><a class="source-toggle" href="#"
204
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
205
- <div class="method-source-code" id="M000154-source">
204
+ onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
205
+ <div class="method-source-code" id="M000163-source">
206
206
  <pre>
207
207
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/canvas.rb, line 14</span>
208
208
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_brush</span>(<span class="ruby-identifier">brush</span>)