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::Brush::TableTag [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Brush::TableTag</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,77 +55,59 @@
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/html_brushes_rb.html">
57
-
58
59
  lib/wee/html_brushes.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
  Brush::GenericTagBrush
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 id="description">
87
- <hr size="10"></hr><pre>
88
- Table
89
- </pre>
90
- <hr size="10"></hr>
91
- </div>
92
81
 
93
- </div>
94
82
 
83
+ </div>
95
84
 
96
85
  <div id="method-list">
97
86
  <h3 class="section-bar">Methods</h3>
98
87
 
99
88
  <div class="name-list">
100
-
101
- <a href="#M000137">new</a>&nbsp;&nbsp;
102
-
89
+ <a href="#M000152">new</a>&nbsp;&nbsp;
103
90
  </div>
104
91
  </div>
105
92
 
106
93
  </div>
107
94
 
95
+
108
96
  <!-- if includes -->
109
97
 
110
98
  <div id="section">
111
99
 
100
+
112
101
  <div id="constants-list">
113
102
  <h3 class="section-bar">Constants</h3>
114
103
 
115
104
  <div class="name-list">
116
105
  <table summary="Constants">
117
-
118
106
  <tr class="top-aligned-row context-row">
119
107
  <td class="context-item-name">HTML_TAG</td>
120
108
  <td>=</td>
121
109
  <td class="context-item-value">'table'.freeze</td>
122
-
123
110
  </tr>
124
-
125
111
  </table>
126
112
  </div>
127
113
  </div>
@@ -133,53 +119,39 @@
133
119
 
134
120
  <div class="name-list">
135
121
  <table>
136
-
137
122
  <tr class="top-aligned-row context-row">
138
123
  <td class="context-item-name">border</td>
139
-
140
124
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
141
-
142
125
  <td class="context-item-desc"></td>
143
126
  </tr>
144
-
145
127
  <tr class="top-aligned-row context-row">
146
128
  <td class="context-item-name">cellspacing</td>
147
-
148
129
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
149
-
150
130
  <td class="context-item-desc"></td>
151
131
  </tr>
152
-
153
132
  </table>
154
133
  </div>
155
134
  </div>
135
+
156
136
 
157
137
 
158
138
  <!-- if method_list -->
159
-
160
139
  <div id="methods">
161
-
162
140
  <h3 class="section-bar">Public Class methods</h3>
163
141
 
164
-
165
- <div id="method-M000137" class="method-detail">
166
- <a name="M000137"></a>
142
+ <div id="method-M000152" class="method-detail">
143
+ <a name="M000152"></a>
167
144
 
168
145
  <div class="method-heading">
169
-
170
- <a href="#M000137" class="method-signature">
171
-
146
+ <a href="#M000152" class="method-signature">
172
147
  <span class="method-name">new</span><span class="method-args">()</span>
173
-
174
148
  </a>
175
-
176
149
  </div>
177
-
150
+
178
151
  <div class="method-description">
179
-
180
152
  <p><a class="source-toggle" href="#"
181
- onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
182
- <div class="method-source-code" id="M000137-source">
153
+ onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
154
+ <div class="method-source-code" id="M000152-source">
183
155
  <pre>
184
156
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 198</span>
185
157
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -187,22 +159,19 @@
187
159
  <span class="ruby-keyword kw">end</span>
188
160
  </pre>
189
161
  </div>
190
-
191
162
  </div>
192
163
  </div>
193
164
 
194
165
 
195
-
196
166
  </div>
197
167
 
198
168
 
199
-
200
-
201
169
  </div>
202
170
 
171
+
203
172
  <div id="validator-badges">
204
173
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
205
174
  </div>
206
175
 
207
176
  </body>
208
- </html>
177
+ </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::Brush::TextAreaTag [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Brush::TextAreaTag</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,93 +55,69 @@
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/html_brushes_rb.html">
57
-
58
59
  lib/wee/html_brushes.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
  Brush::GenericTagBrush
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 id="description">
87
- <hr size="10"></hr><pre>
88
- Form - Textarea
89
- </pre>
90
- <hr size="10"></hr>
91
- </div>
92
81
 
93
- </div>
94
82
 
83
+ </div>
95
84
 
96
85
  <div id="method-list">
97
86
  <h3 class="section-bar">Methods</h3>
98
87
 
99
88
  <div class="name-list">
100
-
101
- <a href="#M000164">__callback</a>&nbsp;&nbsp;
102
-
103
- <a href="#M000161">new</a>&nbsp;&nbsp;
104
-
105
- <a href="#M000162">value</a>&nbsp;&nbsp;
106
-
107
- <a href="#M000163">with</a>&nbsp;&nbsp;
108
-
89
+ <a href="#M000140">__callback</a>&nbsp;&nbsp;
90
+ <a href="#M000137">new</a>&nbsp;&nbsp;
91
+ <a href="#M000138">value</a>&nbsp;&nbsp;
92
+ <a href="#M000139">with</a>&nbsp;&nbsp;
109
93
  </div>
110
94
  </div>
111
95
 
112
96
  </div>
113
97
 
114
- <!-- if includes -->
115
98
 
99
+ <!-- if includes -->
116
100
  <div id="includes">
117
101
  <h3 class="section-bar">Included Modules</h3>
118
102
 
119
103
  <div id="includes-list">
120
-
121
104
  <span class="include-name"><a href="../CallbackMixin.html">CallbackMixin</a></span>
122
-
123
105
  </div>
124
106
  </div>
125
107
 
126
108
  <div id="section">
127
109
 
110
+
128
111
  <div id="constants-list">
129
112
  <h3 class="section-bar">Constants</h3>
130
113
 
131
114
  <div class="name-list">
132
115
  <table summary="Constants">
133
-
134
116
  <tr class="top-aligned-row context-row">
135
117
  <td class="context-item-name">HTML_TAG</td>
136
118
  <td>=</td>
137
119
  <td class="context-item-value">'textarea'.freeze</td>
138
-
139
120
  </tr>
140
-
141
121
  </table>
142
122
  </div>
143
123
  </div>
@@ -149,141 +129,94 @@
149
129
 
150
130
  <div class="name-list">
151
131
  <table>
152
-
153
132
  <tr class="top-aligned-row context-row">
154
133
  <td class="context-item-name">accesskey</td>
155
-
156
134
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
157
-
158
135
  <td class="context-item-desc"></td>
159
136
  </tr>
160
-
161
137
  <tr class="top-aligned-row context-row">
162
138
  <td class="context-item-name">cols</td>
163
-
164
139
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
165
-
166
140
  <td class="context-item-desc"></td>
167
141
  </tr>
168
-
169
142
  <tr class="top-aligned-row context-row">
170
143
  <td class="context-item-name">disabled</td>
171
-
172
144
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
173
-
174
145
  <td class="context-item-desc"></td>
175
146
  </tr>
176
-
177
147
  <tr class="top-aligned-row context-row">
178
148
  <td class="context-item-name">name</td>
179
-
180
149
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
181
-
182
150
  <td class="context-item-desc"></td>
183
151
  </tr>
184
-
185
152
  <tr class="top-aligned-row context-row">
186
153
  <td class="context-item-name">onblur</td>
187
-
188
154
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
189
-
190
155
  <td class="context-item-desc"></td>
191
156
  </tr>
192
-
193
157
  <tr class="top-aligned-row context-row">
194
158
  <td class="context-item-name">onchange</td>
195
-
196
159
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
197
-
198
160
  <td class="context-item-desc"></td>
199
161
  </tr>
200
-
201
162
  <tr class="top-aligned-row context-row">
202
163
  <td class="context-item-name">onfocus</td>
203
-
204
164
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
205
-
206
165
  <td class="context-item-desc"></td>
207
166
  </tr>
208
-
209
167
  <tr class="top-aligned-row context-row">
210
168
  <td class="context-item-name">onselect</td>
211
-
212
169
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
213
-
214
170
  <td class="context-item-desc"></td>
215
171
  </tr>
216
-
217
172
  <tr class="top-aligned-row context-row">
218
173
  <td class="context-item-name">readonly</td>
219
-
220
174
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
221
-
222
175
  <td class="context-item-desc"></td>
223
176
  </tr>
224
-
225
177
  <tr class="top-aligned-row context-row">
226
178
  <td class="context-item-name">rows</td>
227
-
228
179
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
229
-
230
180
  <td class="context-item-desc"></td>
231
181
  </tr>
232
-
233
182
  <tr class="top-aligned-row context-row">
234
183
  <td class="context-item-name">tabindex</td>
235
-
236
184
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
237
-
238
185
  <td class="context-item-desc"></td>
239
186
  </tr>
240
-
241
187
  <tr class="top-aligned-row context-row">
242
188
  <td class="context-item-name">type</td>
243
-
244
189
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
245
-
246
190
  <td class="context-item-desc"></td>
247
191
  </tr>
248
-
249
192
  <tr class="top-aligned-row context-row">
250
193
  <td class="context-item-name">type</td>
251
-
252
194
  <td class="context-item-value">&nbsp;[HtmlAttribute]&nbsp;</td>
253
-
254
195
  <td class="context-item-desc"></td>
255
196
  </tr>
256
-
257
197
  </table>
258
198
  </div>
259
199
  </div>
200
+
260
201
 
261
202
 
262
203
  <!-- if method_list -->
263
-
264
204
  <div id="methods">
265
-
266
205
  <h3 class="section-bar">Public Class methods</h3>
267
206
 
268
-
269
- <div id="method-M000161" class="method-detail">
270
- <a name="M000161"></a>
207
+ <div id="method-M000137" class="method-detail">
208
+ <a name="M000137"></a>
271
209
 
272
210
  <div class="method-heading">
273
-
274
- <a href="#M000161" class="method-signature">
275
-
211
+ <a href="#M000137" class="method-signature">
276
212
  <span class="method-name">new</span><span class="method-args">()</span>
277
-
278
213
  </a>
279
-
280
214
  </div>
281
-
215
+
282
216
  <div class="method-description">
283
-
284
217
  <p><a class="source-toggle" href="#"
285
- onclick="toggleCode('M000161-source');return false;">[Source]</a></p>
286
- <div class="method-source-code" id="M000161-source">
218
+ onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
219
+ <div class="method-source-code" id="M000137-source">
287
220
  <pre>
288
221
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 494</span>
289
222
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -291,60 +224,45 @@
291
224
  <span class="ruby-keyword kw">end</span>
292
225
  </pre>
293
226
  </div>
294
-
295
227
  </div>
296
228
  </div>
297
229
 
298
-
299
230
  <h3 class="section-bar">Public Instance methods</h3>
300
231
 
301
-
302
- <div id="method-M000164" class="method-detail">
303
- <a name="M000164"></a>
232
+ <div id="method-M000140" class="method-detail">
233
+ <a name="M000140"></a>
304
234
 
305
235
  <div class="method-heading">
306
-
307
- <a href="#M000164" class="method-signature">
308
-
236
+ <a href="#M000140" class="method-signature">
309
237
  <span class="method-name">__callback</span><span class="method-args">()</span>
310
-
311
238
  </a>
312
-
313
239
  </div>
314
-
240
+
315
241
  <div class="method-description">
316
-
317
242
  <p><a class="source-toggle" href="#"
318
- onclick="toggleCode('M000164-source');return false;">[Source]</a></p>
319
- <div class="method-source-code" id="M000164-source">
243
+ onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
244
+ <div class="method-source-code" id="M000140-source">
320
245
  <pre>
321
246
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 509</span>
322
247
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__callback</span>; <span class="ruby-identifier">name</span>(<span class="ruby-ivar">@canvas</span>.<span class="ruby-identifier">register_callback</span>(<span class="ruby-identifier">:input</span>, <span class="ruby-ivar">@callback</span>)) <span class="ruby-keyword kw">end</span>
323
248
  </pre>
324
249
  </div>
325
-
326
250
  </div>
327
251
  </div>
328
252
 
329
-
330
- <div id="method-M000162" class="method-detail">
331
- <a name="M000162"></a>
253
+ <div id="method-M000138" class="method-detail">
254
+ <a name="M000138"></a>
332
255
 
333
256
  <div class="method-heading">
334
-
335
- <a href="#M000162" class="method-signature">
336
-
257
+ <a href="#M000138" class="method-signature">
337
258
  <span class="method-name">value</span><span class="method-args">(val)</span>
338
-
339
259
  </a>
340
-
341
260
  </div>
342
-
261
+
343
262
  <div class="method-description">
344
-
345
263
  <p><a class="source-toggle" href="#"
346
- onclick="toggleCode('M000162-source');return false;">[Source]</a></p>
347
- <div class="method-source-code" id="M000162-source">
264
+ onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
265
+ <div class="method-source-code" id="M000138-source">
348
266
  <pre>
349
267
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 498</span>
350
268
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">value</span>(<span class="ruby-identifier">val</span>)
@@ -353,29 +271,22 @@
353
271
  <span class="ruby-keyword kw">end</span>
354
272
  </pre>
355
273
  </div>
356
-
357
274
  </div>
358
275
  </div>
359
276
 
360
-
361
- <div id="method-M000163" class="method-detail">
362
- <a name="M000163"></a>
277
+ <div id="method-M000139" class="method-detail">
278
+ <a name="M000139"></a>
363
279
 
364
280
  <div class="method-heading">
365
-
366
- <a href="#M000163" class="method-signature">
367
-
281
+ <a href="#M000139" class="method-signature">
368
282
  <span class="method-name">with</span><span class="method-args">(value=nil)</span>
369
-
370
283
  </a>
371
-
372
284
  </div>
373
-
285
+
374
286
  <div class="method-description">
375
-
376
287
  <p><a class="source-toggle" href="#"
377
- onclick="toggleCode('M000163-source');return false;">[Source]</a></p>
378
- <div class="method-source-code" id="M000163-source">
288
+ onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
289
+ <div class="method-source-code" id="M000139-source">
379
290
  <pre>
380
291
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 503</span>
381
292
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-identifier">value</span>=<span class="ruby-keyword kw">nil</span>)
@@ -383,22 +294,19 @@
383
294
  <span class="ruby-keyword kw">end</span>
384
295
  </pre>
385
296
  </div>
386
-
387
297
  </div>
388
298
  </div>
389
299
 
390
300
 
391
-
392
301
  </div>
393
302
 
394
303
 
395
-
396
-
397
304
  </div>
398
305
 
306
+
399
307
  <div id="validator-badges">
400
308
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
401
309
  </div>
402
310
 
403
311
  </body>
404
- </html>
312
+ </html>