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
@@ -110,13 +110,13 @@ Usage:
110
110
  <h3 class="section-bar">Methods</h3>
111
111
 
112
112
  <div class="name-list">
113
- <a href="#M000194">&lt;&lt;</a>&nbsp;&nbsp;
114
- <a href="#M000195">encode_text</a>&nbsp;&nbsp;
115
- <a href="#M000192">end_tag</a>&nbsp;&nbsp;
116
- <a href="#M000190">new</a>&nbsp;&nbsp;
117
- <a href="#M000191">start_tag</a>&nbsp;&nbsp;
118
- <a href="#M000193">text</a>&nbsp;&nbsp;
119
- <a href="#M000196">valid?</a>&nbsp;&nbsp;
113
+ <a href="#M000203">&lt;&lt;</a>&nbsp;&nbsp;
114
+ <a href="#M000204">encode_text</a>&nbsp;&nbsp;
115
+ <a href="#M000201">end_tag</a>&nbsp;&nbsp;
116
+ <a href="#M000199">new</a>&nbsp;&nbsp;
117
+ <a href="#M000200">start_tag</a>&nbsp;&nbsp;
118
+ <a href="#M000202">text</a>&nbsp;&nbsp;
119
+ <a href="#M000205">valid?</a>&nbsp;&nbsp;
120
120
  </div>
121
121
  </div>
122
122
 
@@ -151,19 +151,19 @@ Usage:
151
151
  <div id="methods">
152
152
  <h3 class="section-bar">Public Class methods</h3>
153
153
 
154
- <div id="method-M000190" class="method-detail">
155
- <a name="M000190"></a>
154
+ <div id="method-M000199" class="method-detail">
155
+ <a name="M000199"></a>
156
156
 
157
157
  <div class="method-heading">
158
- <a href="#M000190" class="method-signature">
158
+ <a href="#M000199" class="method-signature">
159
159
  <span class="method-name">new</span><span class="method-args">(port)</span>
160
160
  </a>
161
161
  </div>
162
162
 
163
163
  <div class="method-description">
164
164
  <p><a class="source-toggle" href="#"
165
- onclick="toggleCode('M000190-source');return false;">[Source]</a></p>
166
- <div class="method-source-code" id="M000190-source">
165
+ onclick="toggleCode('M000199-source');return false;">[Source]</a></p>
166
+ <div class="method-source-code" id="M000199-source">
167
167
  <pre>
168
168
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 23</span>
169
169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">port</span>)
@@ -178,8 +178,8 @@ Usage:
178
178
 
179
179
  <h3 class="section-bar">Public Instance methods</h3>
180
180
 
181
- <div id="method-M000194" class="method-detail">
182
- <a name="M000194"></a>
181
+ <div id="method-M000203" class="method-detail">
182
+ <a name="M000203"></a>
183
183
 
184
184
  <div class="method-heading">
185
185
  <span class="method-name">&lt;&lt;</span><span class="method-args">(str)</span>
@@ -187,24 +187,24 @@ Usage:
187
187
 
188
188
  <div class="method-description">
189
189
  <p>
190
- Alias for <a href="HtmlWriter.html#M000193">text</a>
190
+ Alias for <a href="HtmlWriter.html#M000202">text</a>
191
191
  </p>
192
192
  </div>
193
193
  </div>
194
194
 
195
- <div id="method-M000195" class="method-detail">
196
- <a name="M000195"></a>
195
+ <div id="method-M000204" class="method-detail">
196
+ <a name="M000204"></a>
197
197
 
198
198
  <div class="method-heading">
199
- <a href="#M000195" class="method-signature">
199
+ <a href="#M000204" class="method-signature">
200
200
  <span class="method-name">encode_text</span><span class="method-args">(str)</span>
201
201
  </a>
202
202
  </div>
203
203
 
204
204
  <div class="method-description">
205
205
  <p><a class="source-toggle" href="#"
206
- onclick="toggleCode('M000195-source');return false;">[Source]</a></p>
207
- <div class="method-source-code" id="M000195-source">
206
+ onclick="toggleCode('M000204-source');return false;">[Source]</a></p>
207
+ <div class="method-source-code" id="M000204-source">
208
208
  <pre>
209
209
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 71</span>
210
210
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">encode_text</span>(<span class="ruby-identifier">str</span>)
@@ -215,19 +215,19 @@ Alias for <a href="HtmlWriter.html#M000193">text</a>
215
215
  </div>
216
216
  </div>
217
217
 
218
- <div id="method-M000192" class="method-detail">
219
- <a name="M000192"></a>
218
+ <div id="method-M000201" class="method-detail">
219
+ <a name="M000201"></a>
220
220
 
221
221
  <div class="method-heading">
222
- <a href="#M000192" class="method-signature">
222
+ <a href="#M000201" class="method-signature">
223
223
  <span class="method-name">end_tag</span><span class="method-args">(tag)</span>
224
224
  </a>
225
225
  </div>
226
226
 
227
227
  <div class="method-description">
228
228
  <p><a class="source-toggle" href="#"
229
- onclick="toggleCode('M000192-source');return false;">[Source]</a></p>
230
- <div class="method-source-code" id="M000192-source">
229
+ onclick="toggleCode('M000201-source');return false;">[Source]</a></p>
230
+ <div class="method-source-code" id="M000201-source">
231
231
  <pre>
232
232
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 46</span>
233
233
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">end_tag</span>(<span class="ruby-identifier">tag</span>)
@@ -247,19 +247,19 @@ Alias for <a href="HtmlWriter.html#M000193">text</a>
247
247
  </div>
248
248
  </div>
249
249
 
250
- <div id="method-M000191" class="method-detail">
251
- <a name="M000191"></a>
250
+ <div id="method-M000200" class="method-detail">
251
+ <a name="M000200"></a>
252
252
 
253
253
  <div class="method-heading">
254
- <a href="#M000191" class="method-signature">
254
+ <a href="#M000200" class="method-signature">
255
255
  <span class="method-name">start_tag</span><span class="method-args">(tag, attributes={})</span>
256
256
  </a>
257
257
  </div>
258
258
 
259
259
  <div class="method-description">
260
260
  <p><a class="source-toggle" href="#"
261
- onclick="toggleCode('M000191-source');return false;">[Source]</a></p>
262
- <div class="method-source-code" id="M000191-source">
261
+ onclick="toggleCode('M000200-source');return false;">[Source]</a></p>
262
+ <div class="method-source-code" id="M000200-source">
263
263
  <pre>
264
264
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 29</span>
265
265
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_tag</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">attributes</span>={})
@@ -283,19 +283,19 @@ Alias for <a href="HtmlWriter.html#M000193">text</a>
283
283
  </div>
284
284
  </div>
285
285
 
286
- <div id="method-M000193" class="method-detail">
287
- <a name="M000193"></a>
286
+ <div id="method-M000202" class="method-detail">
287
+ <a name="M000202"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="#M000193" class="method-signature">
290
+ <a href="#M000202" class="method-signature">
291
291
  <span class="method-name">text</span><span class="method-args">(str)</span>
292
292
  </a>
293
293
  </div>
294
294
 
295
295
  <div class="method-description">
296
296
  <p><a class="source-toggle" href="#"
297
- onclick="toggleCode('M000193-source');return false;">[Source]</a></p>
298
- <div class="method-source-code" id="M000193-source">
297
+ onclick="toggleCode('M000202-source');return false;">[Source]</a></p>
298
+ <div class="method-source-code" id="M000202-source">
299
299
  <pre>
300
300
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 59</span>
301
301
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">text</span>(<span class="ruby-identifier">str</span>)
@@ -313,19 +313,19 @@ Alias for <a href="HtmlWriter.html#M000193">text</a>
313
313
  </div>
314
314
  </div>
315
315
 
316
- <div id="method-M000196" class="method-detail">
317
- <a name="M000196"></a>
316
+ <div id="method-M000205" class="method-detail">
317
+ <a name="M000205"></a>
318
318
 
319
319
  <div class="method-heading">
320
- <a href="#M000196" class="method-signature">
320
+ <a href="#M000205" class="method-signature">
321
321
  <span class="method-name">valid?</span><span class="method-args">()</span>
322
322
  </a>
323
323
  </div>
324
324
 
325
325
  <div class="method-description">
326
326
  <p><a class="source-toggle" href="#"
327
- onclick="toggleCode('M000196-source');return false;">[Source]</a></p>
328
- <div class="method-source-code" id="M000196-source">
327
+ onclick="toggleCode('M000205-source');return false;">[Source]</a></p>
328
+ <div class="method-source-code" id="M000205-source">
329
329
  <pre>
330
330
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/writer.rb, line 75</span>
331
331
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">valid?</span>
@@ -94,8 +94,8 @@ A serializable callback.
94
94
  <h3 class="section-bar">Methods</h3>
95
95
 
96
96
  <div class="name-list">
97
- <a href="#M000215">call</a>&nbsp;&nbsp;
98
- <a href="#M000214">new</a>&nbsp;&nbsp;
97
+ <a href="#M000227">call</a>&nbsp;&nbsp;
98
+ <a href="#M000226">new</a>&nbsp;&nbsp;
99
99
  </div>
100
100
  </div>
101
101
 
@@ -117,19 +117,19 @@ A serializable callback.
117
117
  <div id="methods">
118
118
  <h3 class="section-bar">Public Class methods</h3>
119
119
 
120
- <div id="method-M000214" class="method-detail">
121
- <a name="M000214"></a>
120
+ <div id="method-M000226" class="method-detail">
121
+ <a name="M000226"></a>
122
122
 
123
123
  <div class="method-heading">
124
- <a href="#M000214" class="method-signature">
124
+ <a href="#M000226" class="method-signature">
125
125
  <span class="method-name">new</span><span class="method-args">(obj, method_id=:call)</span>
126
126
  </a>
127
127
  </div>
128
128
 
129
129
  <div class="method-description">
130
130
  <p><a class="source-toggle" href="#"
131
- onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
132
- <div class="method-source-code" id="M000214-source">
131
+ onclick="toggleCode('M000226-source');return false;">[Source]</a></p>
132
+ <div class="method-source-code" id="M000226-source">
133
133
  <pre>
134
134
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 101</span>
135
135
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-identifier">method_id</span>=<span class="ruby-identifier">:call</span>)
@@ -142,19 +142,19 @@ A serializable callback.
142
142
 
143
143
  <h3 class="section-bar">Public Instance methods</h3>
144
144
 
145
- <div id="method-M000215" class="method-detail">
146
- <a name="M000215"></a>
145
+ <div id="method-M000227" class="method-detail">
146
+ <a name="M000227"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="#M000215" class="method-signature">
149
+ <a href="#M000227" class="method-signature">
150
150
  <span class="method-name">call</span><span class="method-args">(*args)</span>
151
151
  </a>
152
152
  </div>
153
153
 
154
154
  <div class="method-description">
155
155
  <p><a class="source-toggle" href="#"
156
- onclick="toggleCode('M000215-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000215-source">
156
+ onclick="toggleCode('M000227-source');return false;">[Source]</a></p>
157
+ <div class="method-source-code" id="M000227-source">
158
158
  <pre>
159
159
  <span class="ruby-comment cmt"># File lib/wee/core/callback.rb, line 105</span>
160
160
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -0,0 +1,199 @@
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
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Wee::PageDecoration</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Wee::PageDecoration</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/wee/components/page_decoration_rb.html">
59
+ lib/wee/components/page_decoration.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Decoration.html">
69
+ Wee::Decoration
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+ <div id="method-list">
88
+ <h3 class="section-bar">Methods</h3>
89
+
90
+ <div class="name-list">
91
+ <a href="#M000211">do_render</a>&nbsp;&nbsp;
92
+ <a href="#M000210">global?</a>&nbsp;&nbsp;
93
+ <a href="#M000209">new</a>&nbsp;&nbsp;
94
+ </div>
95
+ </div>
96
+
97
+ </div>
98
+
99
+
100
+ <!-- if includes -->
101
+
102
+ <div id="section">
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <!-- if method_list -->
112
+ <div id="methods">
113
+ <h3 class="section-bar">Public Class methods</h3>
114
+
115
+ <div id="method-M000209" class="method-detail">
116
+ <a name="M000209"></a>
117
+
118
+ <div class="method-heading">
119
+ <a href="#M000209" class="method-signature">
120
+ <span class="method-name">new</span><span class="method-args">(title='')</span>
121
+ </a>
122
+ </div>
123
+
124
+ <div class="method-description">
125
+ <p><a class="source-toggle" href="#"
126
+ onclick="toggleCode('M000209-source');return false;">[Source]</a></p>
127
+ <div class="method-source-code" id="M000209-source">
128
+ <pre>
129
+ <span class="ruby-comment cmt"># File lib/wee/components/page_decoration.rb, line 2</span>
130
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>=<span class="ruby-value str">''</span>)
131
+ <span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
132
+ <span class="ruby-keyword kw">super</span>()
133
+ <span class="ruby-keyword kw">end</span>
134
+ </pre>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <h3 class="section-bar">Public Instance methods</h3>
140
+
141
+ <div id="method-M000211" class="method-detail">
142
+ <a name="M000211"></a>
143
+
144
+ <div class="method-heading">
145
+ <a href="#M000211" class="method-signature">
146
+ <span class="method-name">do_render</span><span class="method-args">(rendering_context)</span>
147
+ </a>
148
+ </div>
149
+
150
+ <div class="method-description">
151
+ <p><a class="source-toggle" href="#"
152
+ onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
153
+ <div class="method-source-code" id="M000211-source">
154
+ <pre>
155
+ <span class="ruby-comment cmt"># File lib/wee/components/page_decoration.rb, line 9</span>
156
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_render</span>(<span class="ruby-identifier">rendering_context</span>)
157
+ <span class="ruby-identifier">with_renderer_for</span>(<span class="ruby-identifier">rendering_context</span>) <span class="ruby-keyword kw">do</span>
158
+ <span class="ruby-identifier">r</span>.<span class="ruby-identifier">page</span>.<span class="ruby-identifier">title</span>(<span class="ruby-ivar">@title</span>).<span class="ruby-identifier">with</span> { <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">rendering_context</span>) }
159
+ <span class="ruby-keyword kw">end</span>
160
+ <span class="ruby-keyword kw">end</span>
161
+ </pre>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <div id="method-M000210" class="method-detail">
167
+ <a name="M000210"></a>
168
+
169
+ <div class="method-heading">
170
+ <a href="#M000210" class="method-signature">
171
+ <span class="method-name">global?</span><span class="method-args">()</span>
172
+ </a>
173
+ </div>
174
+
175
+ <div class="method-description">
176
+ <p><a class="source-toggle" href="#"
177
+ onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
178
+ <div class="method-source-code" id="M000210-source">
179
+ <pre>
180
+ <span class="ruby-comment cmt"># File lib/wee/components/page_decoration.rb, line 7</span>
181
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">global?</span>() <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">end</span>
182
+ </pre>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+
188
+ </div>
189
+
190
+
191
+ </div>
192
+
193
+
194
+ <div id="validator-badges">
195
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
196
+ </div>
197
+
198
+ </body>
199
+ </html>