wee 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/TODO +31 -0
  2. data/benchmark.rb +37 -0
  3. data/demo.ru +11 -0
  4. data/doc/rdoc/classes/Array.html +22 -26
  5. data/doc/rdoc/classes/Hash.html +22 -26
  6. data/doc/rdoc/classes/Object.html +21 -26
  7. data/doc/rdoc/classes/String.html +19 -87
  8. data/doc/rdoc/classes/Struct.html +22 -26
  9. data/doc/rdoc/classes/Wee.html +75 -206
  10. data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
  11. data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
  12. data/doc/rdoc/classes/Wee/Application.html +63 -114
  13. data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
  14. data/doc/rdoc/classes/Wee/Brush.html +52 -101
  15. data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
  16. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
  17. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
  18. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
  19. data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
  20. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
  21. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
  22. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
  23. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
  24. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
  25. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
  26. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
  27. data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
  28. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
  29. data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
  30. data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
  31. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
  32. data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
  33. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
  34. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
  35. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
  36. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
  37. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
  38. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
  39. data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
  40. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
  41. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
  42. data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
  43. data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
  44. data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
  45. data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
  46. data/doc/rdoc/classes/Wee/Component.html +142 -292
  47. data/doc/rdoc/classes/Wee/Decoration.html +85 -141
  48. data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
  49. data/doc/rdoc/classes/Wee/Delegate.html +72 -115
  50. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
  51. data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
  52. data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
  53. data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
  54. data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
  55. data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
  56. data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
  57. data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
  58. data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
  59. data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
  60. data/doc/rdoc/classes/Wee/JQuery.html +36 -64
  61. data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
  62. data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
  63. data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
  65. data/doc/rdoc/classes/Wee/Presenter.html +86 -143
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
  68. data/doc/rdoc/classes/Wee/Renderer.html +56 -125
  69. data/doc/rdoc/classes/Wee/Request.html +57 -115
  70. data/doc/rdoc/classes/Wee/Response.html +24 -26
  71. data/doc/rdoc/classes/Wee/Session.html +137 -292
  72. data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
  73. data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
  74. data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
  75. data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
  76. data/doc/rdoc/classes/Wee/State.html +57 -105
  77. data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
  78. data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
  79. data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
  80. data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
  81. data/doc/rdoc/created.rid +1 -1
  82. data/doc/rdoc/files/README_rdoc.html +26 -17
  83. data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
  84. data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
  85. data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
  86. data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
  87. data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
  88. data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
  89. data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
  90. data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
  91. data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
  92. data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
  93. data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
  94. data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
  95. data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
  96. data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
  97. data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
  98. data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
  99. data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
  100. data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
  101. data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
  102. data/doc/rdoc/files/lib/wee_rb.html +37 -47
  103. data/doc/rdoc/fr_class_index.html +12 -86
  104. data/doc/rdoc/fr_file_index.html +12 -30
  105. data/doc/rdoc/fr_method_index.html +242 -473
  106. data/doc/rdoc/index.html +8 -5
  107. data/doc/rdoc/rdoc-style.css +119 -210
  108. data/examples/ObjectSpaceBrowser.rb +4 -4
  109. data/examples/TODO +21 -0
  110. data/examples/ajax.rb +6 -4
  111. data/examples/blog.rb +42 -0
  112. data/examples/demo.rb +5 -3
  113. data/examples/demo/calculator.rb +3 -3
  114. data/examples/demo/calendar.rb +4 -4
  115. data/examples/demo/counter.rb +2 -2
  116. data/examples/demo/editable_counter.rb +2 -2
  117. data/examples/demo/example.rb +25 -16
  118. data/examples/demo/window.rb +10 -3
  119. data/examples/hw2.rb +17 -0
  120. data/examples/recipe/description.rb +170 -0
  121. data/examples/recipe/migrations/001_create_recipes.rb +13 -0
  122. data/examples/recipe/model.rb +27 -0
  123. data/examples/recipe/models/recipe.rb +18 -0
  124. data/examples/recipe/recipe_editor.rb +28 -0
  125. data/lib/wee.rb +1 -7
  126. data/lib/wee/component.rb +37 -74
  127. data/lib/wee/decoration.rb +16 -15
  128. data/lib/wee/html_brushes.rb +16 -17
  129. data/lib/wee/presenter.rb +2 -1
  130. data/lib/wee/response.rb +4 -4
  131. data/lib/wee/session.rb +2 -2
  132. data/lib/wee/state.rb +2 -2
  133. data/test/t.rb +67 -0
  134. data/wee.gemspec +1 -1
  135. metadata +157 -167
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::LRUCache::Item [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::LRUCache::Item</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,53 +55,44 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../../files/lib/wee/lru_cache_rb.html">
57
-
58
59
  lib/wee/lru_cache.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  Struct.new(:value, :time)
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
- </div>
87
81
 
88
82
 
83
+ </div>
84
+
89
85
  <div id="method-list">
90
86
  <h3 class="section-bar">Methods</h3>
91
87
 
92
88
  <div class="name-list">
93
-
94
- <a href="#M000111">&lt;=&gt;</a>&nbsp;&nbsp;
95
-
89
+ <a href="#M000038">&lt;=&gt;</a>&nbsp;&nbsp;
96
90
  </div>
97
91
  </div>
98
92
 
99
93
  </div>
100
94
 
95
+
101
96
  <!-- if includes -->
102
97
 
103
98
  <div id="section">
@@ -105,31 +100,27 @@
105
100
 
106
101
 
107
102
 
108
- <!-- if method_list -->
109
103
 
110
- <div id="methods">
104
+
111
105
 
112
- <h3 class="section-bar">Public Instance methods</h3>
113
106
 
107
+ <!-- if method_list -->
108
+ <div id="methods">
109
+ <h3 class="section-bar">Public Instance methods</h3>
114
110
 
115
- <div id="method-M000111" class="method-detail">
116
- <a name="M000111"></a>
111
+ <div id="method-M000038" class="method-detail">
112
+ <a name="M000038"></a>
117
113
 
118
114
  <div class="method-heading">
119
-
120
- <a href="#M000111" class="method-signature">
121
-
115
+ <a href="#M000038" class="method-signature">
122
116
  <span class="method-name">&lt;=&gt;</span><span class="method-args">(other)</span>
123
-
124
117
  </a>
125
-
126
118
  </div>
127
-
119
+
128
120
  <div class="method-description">
129
-
130
121
  <p><a class="source-toggle" href="#"
131
- onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
132
- <div class="method-source-code" id="M000111-source">
122
+ onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
123
+ <div class="method-source-code" id="M000038-source">
133
124
  <pre>
134
125
  <span class="ruby-comment cmt"># File lib/wee/lru_cache.rb, line 8</span>
135
126
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
@@ -137,22 +128,19 @@
137
128
  <span class="ruby-keyword kw">end</span>
138
129
  </pre>
139
130
  </div>
140
-
141
131
  </div>
142
132
  </div>
143
133
 
144
134
 
145
-
146
135
  </div>
147
136
 
148
137
 
149
-
150
-
151
138
  </div>
152
139
 
140
+
153
141
  <div id="validator-badges">
154
142
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
155
143
  </div>
156
144
 
157
145
  </body>
158
- </html>
146
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Module: Wee::ObjectSnapshotMixin [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Module: Wee::ObjectSnapshotMixin</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,46 +55,39 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../files/lib/wee/state_rb.html">
57
-
58
59
  lib/wee/state.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  </table>
70
66
  </div>
71
67
  <!-- banner header -->
72
68
 
73
69
  <div id="bodyContent">
74
70
 
71
+
72
+
75
73
  <div id="contextContent">
76
74
 
77
- </div>
78
75
 
79
76
 
77
+ </div>
78
+
80
79
  <div id="method-list">
81
80
  <h3 class="section-bar">Methods</h3>
82
81
 
83
82
  <div class="name-list">
84
-
85
- <a href="#M000017">restore_snapshot</a>&nbsp;&nbsp;
86
-
87
- <a href="#M000016">take_snapshot</a>&nbsp;&nbsp;
88
-
83
+ <a href="#M000004">restore_snapshot</a>&nbsp;&nbsp;
84
+ <a href="#M000003">take_snapshot</a>&nbsp;&nbsp;
89
85
  </div>
90
86
  </div>
91
87
 
92
88
  </div>
93
89
 
90
+
94
91
  <!-- if includes -->
95
92
 
96
93
  <div id="section">
@@ -98,31 +95,27 @@
98
95
 
99
96
 
100
97
 
101
- <!-- if method_list -->
102
98
 
103
- <div id="methods">
99
+
104
100
 
105
- <h3 class="section-bar">Public Instance methods</h3>
106
101
 
102
+ <!-- if method_list -->
103
+ <div id="methods">
104
+ <h3 class="section-bar">Public Instance methods</h3>
107
105
 
108
- <div id="method-M000017" class="method-detail">
109
- <a name="M000017"></a>
106
+ <div id="method-M000004" class="method-detail">
107
+ <a name="M000004"></a>
110
108
 
111
109
  <div class="method-heading">
112
-
113
- <a href="#M000017" class="method-signature">
114
-
110
+ <a href="#M000004" class="method-signature">
115
111
  <span class="method-name">restore_snapshot</span><span class="method-args">(snap)</span>
116
-
117
112
  </a>
118
-
119
113
  </div>
120
-
114
+
121
115
  <div class="method-description">
122
-
123
116
  <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000017-source">
117
+ onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
118
+ <div class="method-source-code" id="M000004-source">
126
119
  <pre>
127
120
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 57</span>
128
121
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore_snapshot</span>(<span class="ruby-identifier">snap</span>)
@@ -132,29 +125,22 @@
132
125
  <span class="ruby-keyword kw">end</span>
133
126
  </pre>
134
127
  </div>
135
-
136
128
  </div>
137
129
  </div>
138
130
 
139
-
140
- <div id="method-M000016" class="method-detail">
141
- <a name="M000016"></a>
131
+ <div id="method-M000003" class="method-detail">
132
+ <a name="M000003"></a>
142
133
 
143
134
  <div class="method-heading">
144
-
145
- <a href="#M000016" class="method-signature">
146
-
135
+ <a href="#M000003" class="method-signature">
147
136
  <span class="method-name">take_snapshot</span><span class="method-args">()</span>
148
-
149
137
  </a>
150
-
151
138
  </div>
152
-
139
+
153
140
  <div class="method-description">
154
-
155
141
  <p><a class="source-toggle" href="#"
156
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000016-source">
142
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
143
+ <div class="method-source-code" id="M000003-source">
158
144
  <pre>
159
145
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 49</span>
160
146
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">take_snapshot</span>
@@ -166,22 +152,19 @@
166
152
  <span class="ruby-keyword kw">end</span>
167
153
  </pre>
168
154
  </div>
169
-
170
155
  </div>
171
156
  </div>
172
157
 
173
158
 
174
-
175
159
  </div>
176
160
 
177
161
 
178
-
179
-
180
162
  </div>
181
163
 
164
+
182
165
  <div id="validator-badges">
183
166
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
184
167
  </div>
185
168
 
186
169
  </body>
187
- </html>
170
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::PageDecoration [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::PageDecoration</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,61 +55,48 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../files/lib/wee/decoration_rb.html">
57
-
58
59
  lib/wee/decoration.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  <a href="WrapperDecoration.html">
74
-
75
- Wee::WrapperDecoration
76
-
69
+ WrapperDecoration
77
70
  </a>
78
-
79
71
  </td>
80
72
  </tr>
81
-
82
73
  </table>
83
74
  </div>
84
75
  <!-- banner header -->
85
76
 
86
77
  <div id="bodyContent">
87
78
 
79
+
80
+
88
81
  <div id="contextContent">
89
82
 
90
- </div>
91
83
 
92
84
 
85
+ </div>
86
+
93
87
  <div id="method-list">
94
88
  <h3 class="section-bar">Methods</h3>
95
89
 
96
90
  <div class="name-list">
97
-
98
- <a href="#M000206">global?</a>&nbsp;&nbsp;
99
-
100
- <a href="#M000205">new</a>&nbsp;&nbsp;
101
-
102
- <a href="#M000207">render</a>&nbsp;&nbsp;
103
-
91
+ <a href="#M000024">global?</a>&nbsp;&nbsp;
92
+ <a href="#M000023">new</a>&nbsp;&nbsp;
93
+ <a href="#M000025">render</a>&nbsp;&nbsp;
104
94
  </div>
105
95
  </div>
106
96
 
107
97
  </div>
108
98
 
99
+
109
100
  <!-- if includes -->
110
101
 
111
102
  <div id="section">
@@ -113,116 +104,94 @@
113
104
 
114
105
 
115
106
 
116
- <!-- if method_list -->
117
107
 
118
- <div id="methods">
108
+
119
109
 
120
- <h3 class="section-bar">Public Class methods</h3>
121
110
 
111
+ <!-- if method_list -->
112
+ <div id="methods">
113
+ <h3 class="section-bar">Public Class methods</h3>
122
114
 
123
- <div id="method-M000205" class="method-detail">
124
- <a name="M000205"></a>
115
+ <div id="method-M000023" class="method-detail">
116
+ <a name="M000023"></a>
125
117
 
126
118
  <div class="method-heading">
127
-
128
- <a href="#M000205" class="method-signature">
129
-
119
+ <a href="#M000023" class="method-signature">
130
120
  <span class="method-name">new</span><span class="method-args">(title='')</span>
131
-
132
121
  </a>
133
-
134
122
  </div>
135
-
123
+
136
124
  <div class="method-description">
137
-
138
125
  <p><a class="source-toggle" href="#"
139
- onclick="toggleCode('M000205-source');return false;">[Source]</a></p>
140
- <div class="method-source-code" id="M000205-source">
126
+ onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
127
+ <div class="method-source-code" id="M000023-source">
141
128
  <pre>
142
- <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 229</span>
129
+ <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 230</span>
143
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>)
144
131
  <span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
145
132
  <span class="ruby-keyword kw">super</span>()
146
133
  <span class="ruby-keyword kw">end</span>
147
134
  </pre>
148
135
  </div>
149
-
150
136
  </div>
151
137
  </div>
152
138
 
153
-
154
139
  <h3 class="section-bar">Public Instance methods</h3>
155
140
 
156
-
157
- <div id="method-M000206" class="method-detail">
158
- <a name="M000206"></a>
141
+ <div id="method-M000024" class="method-detail">
142
+ <a name="M000024"></a>
159
143
 
160
144
  <div class="method-heading">
161
-
162
- <a href="#M000206" class="method-signature">
163
-
145
+ <a href="#M000024" class="method-signature">
164
146
  <span class="method-name">global?</span><span class="method-args">()</span>
165
-
166
147
  </a>
167
-
168
148
  </div>
169
-
149
+
170
150
  <div class="method-description">
171
-
172
151
  <p><a class="source-toggle" href="#"
173
- onclick="toggleCode('M000206-source');return false;">[Source]</a></p>
174
- <div class="method-source-code" id="M000206-source">
152
+ onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
153
+ <div class="method-source-code" id="M000024-source">
175
154
  <pre>
176
- <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 234</span>
155
+ <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 235</span>
177
156
  <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>
178
157
  </pre>
179
158
  </div>
180
-
181
159
  </div>
182
160
  </div>
183
161
 
184
-
185
- <div id="method-M000207" class="method-detail">
186
- <a name="M000207"></a>
162
+ <div id="method-M000025" class="method-detail">
163
+ <a name="M000025"></a>
187
164
 
188
165
  <div class="method-heading">
189
-
190
- <a href="#M000207" class="method-signature">
191
-
166
+ <a href="#M000025" class="method-signature">
192
167
  <span class="method-name">render</span><span class="method-args">(r)</span>
193
-
194
168
  </a>
195
-
196
169
  </div>
197
-
170
+
198
171
  <div class="method-description">
199
-
200
172
  <p><a class="source-toggle" href="#"
201
- onclick="toggleCode('M000207-source');return false;">[Source]</a></p>
202
- <div class="method-source-code" id="M000207-source">
173
+ onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000025-source">
203
175
  <pre>
204
- <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 236</span>
176
+ <span class="ruby-comment cmt"># File lib/wee/decoration.rb, line 237</span>
205
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>(<span class="ruby-identifier">r</span>)
206
178
  <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-identifier">render_inner</span>(<span class="ruby-identifier">r</span>) }
207
179
  <span class="ruby-keyword kw">end</span>
208
180
  </pre>
209
181
  </div>
210
-
211
182
  </div>
212
183
  </div>
213
184
 
214
185
 
215
-
216
186
  </div>
217
187
 
218
188
 
219
-
220
-
221
189
  </div>
222
190
 
191
+
223
192
  <div id="validator-badges">
224
193
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
225
194
  </div>
226
195
 
227
196
  </body>
228
- </html>
197
+ </html>