wee 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) hide show
  1. data/ChangeLog +286 -0
  2. data/Features +185 -0
  3. data/doc/rdoc/classes/ActionView.html +107 -0
  4. data/doc/rdoc/classes/ActionView/Base.html +133 -0
  5. data/doc/rdoc/classes/Array.html +7 -59
  6. data/doc/rdoc/classes/Cache/StorageCache.html +38 -38
  7. data/doc/rdoc/classes/Cache/Strategy/CapacityBounded.html +30 -30
  8. data/doc/rdoc/classes/Cache/Strategy/LFU.html +24 -24
  9. data/doc/rdoc/classes/Cache/Strategy/LRU.html +24 -24
  10. data/doc/rdoc/classes/Cache/Strategy/Unbounded.html +24 -24
  11. data/doc/rdoc/classes/Enumerable.html +6 -6
  12. data/doc/rdoc/classes/Hash.html +120 -0
  13. data/doc/rdoc/classes/Main.html +58 -34
  14. data/doc/rdoc/classes/Object.html +12 -12
  15. data/doc/rdoc/classes/OgScaffolder.html +165 -166
  16. data/doc/rdoc/classes/OgScaffolder/Editor.html +112 -112
  17. data/doc/rdoc/classes/String.html +7 -59
  18. data/doc/rdoc/classes/Struct.html +14 -14
  19. data/doc/rdoc/classes/Wee.html +70 -6
  20. data/doc/rdoc/classes/Wee/AbstractSession.html +502 -0
  21. data/doc/rdoc/classes/Wee/AnswerDecoration.html +11 -11
  22. data/doc/rdoc/classes/Wee/Application.html +139 -84
  23. data/doc/rdoc/classes/Wee/Brush.html +21 -18
  24. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +90 -17
  25. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +162 -0
  26. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +7 -7
  27. data/doc/rdoc/classes/Wee/Brush/FormTag.html +41 -17
  28. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +12 -12
  29. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +7 -7
  30. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +112 -86
  31. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +12 -12
  32. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +160 -0
  33. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +15 -15
  34. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +21 -21
  35. data/doc/rdoc/classes/Wee/Brush/InputTag.html +14 -14
  36. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +7 -7
  37. data/doc/rdoc/classes/Wee/Brush/Page.html +14 -14
  38. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +234 -0
  39. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag/RadioGroup.html +207 -0
  40. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +124 -28
  41. data/doc/rdoc/classes/Wee/Brush/SelectListTag/SelectListCallback.html +7 -7
  42. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +7 -7
  43. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +7 -7
  44. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +14 -14
  45. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +7 -7
  46. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +42 -42
  47. data/doc/rdoc/classes/Wee/Brush/TableTag.html +7 -7
  48. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -15
  49. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +7 -7
  50. data/doc/rdoc/classes/Wee/CallbackRegistry.html +38 -38
  51. data/doc/rdoc/classes/Wee/CallbackStream.html +18 -18
  52. data/doc/rdoc/classes/Wee/CanvasMixin.html +225 -0
  53. data/doc/rdoc/classes/Wee/Component.html +202 -201
  54. data/doc/rdoc/classes/Wee/Component/OnAnswer.html +7 -7
  55. data/doc/rdoc/classes/Wee/ComponentDispatcher.html +289 -0
  56. data/doc/rdoc/classes/Wee/ComponentRunner.html +321 -0
  57. data/doc/rdoc/classes/Wee/Context.html +63 -3
  58. data/doc/rdoc/classes/Wee/Decoration.html +45 -45
  59. data/doc/rdoc/classes/Wee/Delegate.html +30 -30
  60. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +164 -0
  61. data/doc/rdoc/classes/Wee/ErrorResponse.html +16 -16
  62. data/doc/rdoc/classes/Wee/Examples.html +114 -0
  63. data/doc/rdoc/classes/Wee/Examples/Calculator.html +319 -0
  64. data/doc/rdoc/classes/Wee/Examples/Counter.html +289 -0
  65. data/doc/rdoc/classes/Wee/Examples/EditableCounter.html +210 -0
  66. data/doc/rdoc/classes/Wee/Examples/Window.html +346 -0
  67. data/doc/rdoc/classes/Wee/FastCGIAdaptor.html +227 -0
  68. data/doc/rdoc/classes/Wee/FormDecoration.html +6 -6
  69. data/doc/rdoc/classes/Wee/GenericResponse.html +7 -7
  70. data/doc/rdoc/classes/Wee/HtmlCanvasRenderer.html +1230 -0
  71. data/doc/rdoc/classes/Wee/HtmlWriter.html +40 -40
  72. data/doc/rdoc/classes/Wee/IdGenerator.html +148 -0
  73. data/doc/rdoc/classes/Wee/LiteralMethodCallback.html +27 -14
  74. data/doc/rdoc/classes/Wee/LoginDecoration.html +261 -0
  75. data/doc/rdoc/classes/Wee/Md5IdGenerator.html +14 -14
  76. data/doc/rdoc/classes/Wee/MessageBox.html +14 -14
  77. data/doc/rdoc/classes/Wee/Nitro.html +114 -0
  78. data/doc/rdoc/classes/Wee/Nitro/ControllerClassMixin.html +192 -0
  79. data/doc/rdoc/classes/Wee/Nitro/ControllerMixin.html +345 -0
  80. data/doc/rdoc/classes/Wee/Nitro/FormTag.html +155 -0
  81. data/doc/rdoc/classes/Wee/Nitro/HtmlCanvasRenderer.html +178 -0
  82. data/doc/rdoc/classes/Wee/Page.html +4 -0
  83. data/doc/rdoc/classes/Wee/PageDecoration.html +18 -18
  84. data/doc/rdoc/classes/Wee/PagelessApplication.html +13 -11
  85. data/doc/rdoc/classes/Wee/PagelessComponentDriver.html +296 -0
  86. data/doc/rdoc/classes/Wee/PagelessRequest.html +52 -21
  87. data/doc/rdoc/classes/Wee/PagelessSession.html +130 -91
  88. data/doc/rdoc/classes/Wee/Pager.html +534 -0
  89. data/doc/rdoc/classes/Wee/Presenter.html +482 -298
  90. data/doc/rdoc/classes/Wee/Rails.html +114 -0
  91. data/doc/rdoc/classes/Wee/Rails/ControllerClassMixin.html +192 -0
  92. data/doc/rdoc/classes/Wee/Rails/ControllerMixin.html +342 -0
  93. data/doc/rdoc/classes/Wee/Rails/FormTag.html +155 -0
  94. data/doc/rdoc/classes/Wee/Rails/HtmlCanvasRenderer.html +177 -0
  95. data/doc/rdoc/classes/Wee/RedirectResponse.html +7 -7
  96. data/doc/rdoc/classes/Wee/RefreshResponse.html +7 -7
  97. data/doc/rdoc/classes/Wee/Renderer.html +208 -0
  98. data/doc/rdoc/classes/Wee/RenderingContext.html +175 -3
  99. data/doc/rdoc/classes/Wee/Request.html +197 -46
  100. data/doc/rdoc/classes/Wee/RequestHandler.html +31 -31
  101. data/doc/rdoc/classes/Wee/Response.html +44 -43
  102. data/doc/rdoc/classes/Wee/Session.html +296 -402
  103. data/doc/rdoc/classes/Wee/SimpleIdGenerator.html +14 -14
  104. data/doc/rdoc/classes/Wee/Snapshot.html +19 -19
  105. data/doc/rdoc/classes/Wee/Utils.html +22 -22
  106. data/doc/rdoc/classes/Wee/Utils/LRUCache.html +6 -6
  107. data/doc/rdoc/classes/Wee/ValueHolder.html +19 -19
  108. data/doc/rdoc/classes/Wee/WEBrickAdaptor.html +72 -46
  109. data/doc/rdoc/classes/Wee/WrapperDecoration.html +6 -6
  110. data/doc/rdoc/created.rid +1 -1
  111. data/doc/rdoc/files/INSTALL.html +1 -1
  112. data/doc/rdoc/files/README.html +8 -12
  113. data/doc/rdoc/files/lib/cache/cache_rb.html +1 -1
  114. data/doc/rdoc/files/lib/wee/abstractsession_rb.html +108 -0
  115. data/doc/rdoc/files/lib/wee/adaptors/fastcgi_rb.html +108 -0
  116. data/doc/rdoc/files/lib/wee/adaptors/nitro_rb.html +101 -0
  117. data/doc/rdoc/files/lib/wee/adaptors/rails_rb.html +101 -0
  118. data/doc/rdoc/files/lib/wee/adaptors/webrick_rb.html +1 -1
  119. data/doc/rdoc/files/lib/wee/application_rb.html +1 -1
  120. data/doc/rdoc/files/lib/wee/components/component_dispatcher_rb.html +108 -0
  121. data/doc/rdoc/files/lib/wee/components/form_decoration_rb.html +1 -1
  122. data/doc/rdoc/files/lib/wee/components/login_decoration_rb.html +101 -0
  123. data/doc/rdoc/files/lib/wee/components/messagebox_rb.html +1 -1
  124. data/doc/rdoc/files/lib/wee/components/page_decoration_rb.html +1 -1
  125. data/doc/rdoc/files/lib/wee/components/pager_rb.html +101 -0
  126. data/doc/rdoc/files/lib/wee/components/wrapper_decoration_rb.html +1 -1
  127. data/doc/rdoc/files/lib/wee/components_rb.html +4 -1
  128. data/doc/rdoc/files/lib/wee/continuation/core/component_rb.html +1 -1
  129. data/doc/rdoc/files/lib/wee/continuation/session_rb.html +1 -1
  130. data/doc/rdoc/files/lib/wee/continuation_rb.html +1 -1
  131. data/doc/rdoc/files/lib/wee/core/callback_rb.html +1 -1
  132. data/doc/rdoc/files/lib/wee/core/component_rb.html +1 -1
  133. data/doc/rdoc/files/lib/wee/core/componentrunner_rb.html +110 -0
  134. data/doc/rdoc/files/lib/wee/core/context_rb.html +101 -0
  135. data/doc/rdoc/files/lib/wee/core/decoration_rb.html +1 -1
  136. data/doc/rdoc/files/lib/wee/core/idgen_rb.html +101 -0
  137. data/doc/rdoc/files/lib/wee/core/page_rb.html +101 -0
  138. data/doc/rdoc/files/lib/wee/core/presenter_rb.html +1 -1
  139. data/doc/rdoc/files/lib/wee/core/renderer_rb.html +107 -0
  140. data/doc/rdoc/files/lib/wee/core/snapshot_rb.html +1 -1
  141. data/doc/rdoc/files/lib/wee/core/valueholder_rb.html +2 -2
  142. data/doc/rdoc/files/lib/wee/core_ext_rb.html +101 -0
  143. data/doc/rdoc/files/lib/wee/core_rb.html +7 -14
  144. data/doc/rdoc/files/lib/wee/databases/og/application_rb.html +1 -1
  145. data/doc/rdoc/files/lib/wee/databases/og/old_scaffolder_rb.html +1 -1
  146. data/doc/rdoc/files/lib/wee/databases/og/scaffolder_rb.html +1 -1
  147. data/doc/rdoc/files/lib/wee/databases/og/session_rb.html +1 -1
  148. data/doc/rdoc/files/lib/wee/databases/og_rb.html +1 -1
  149. data/doc/rdoc/files/lib/wee/examples/calculator_rb.html +107 -0
  150. data/doc/rdoc/files/lib/wee/examples/counter_rb.html +101 -0
  151. data/doc/rdoc/files/lib/wee/examples/editable_counter_rb.html +114 -0
  152. data/doc/rdoc/files/lib/wee/examples/window_rb.html +101 -0
  153. data/doc/rdoc/files/lib/wee/idgen/md5_rb.html +1 -1
  154. data/doc/rdoc/files/lib/wee/idgen/simple_rb.html +1 -1
  155. data/doc/rdoc/files/lib/wee/page_rb.html +1 -1
  156. data/doc/rdoc/files/lib/wee/pageless/application_rb.html +8 -1
  157. data/doc/rdoc/files/lib/wee/pageless/request_rb.html +1 -1
  158. data/doc/rdoc/files/lib/wee/pageless/session_rb.html +2 -1
  159. data/doc/rdoc/files/lib/wee/pageless_rb.html +1 -1
  160. data/doc/rdoc/files/lib/wee/renderer/html/brushes_rb.html +1 -1
  161. data/doc/rdoc/files/lib/wee/renderer/html/canvas_rb.html +1 -1
  162. data/doc/rdoc/files/lib/wee/renderer/html/writer_rb.html +1 -1
  163. data/doc/rdoc/files/lib/wee/request_rb.html +5 -4
  164. data/doc/rdoc/files/lib/wee/requesthandler_rb.html +1 -1
  165. data/doc/rdoc/files/lib/wee/response_rb.html +2 -1
  166. data/doc/rdoc/files/lib/wee/session_rb.html +2 -3
  167. data/doc/rdoc/files/lib/wee/skeleton/og/components/main_rb.html +1 -1
  168. data/doc/rdoc/files/lib/wee/skeleton/og/conf/db_rb.html +2 -2
  169. data/doc/rdoc/files/lib/wee/skeleton/og/models/recipe_rb.html +1 -1
  170. data/doc/rdoc/files/lib/wee/skeleton/og/run_rb.html +1 -1
  171. data/doc/rdoc/files/lib/wee/skeleton/simple/components/main_rb.html +1 -1
  172. data/doc/rdoc/files/lib/wee/skeleton/simple/run_rb.html +1 -1
  173. data/doc/rdoc/files/lib/wee/snapshot_ext_rb.html +1 -1
  174. data/doc/rdoc/files/lib/wee/template_rb.html +1 -1
  175. data/doc/rdoc/files/lib/wee/utils/autoreload_rb.html +1 -1
  176. data/doc/rdoc/files/lib/wee/utils/cache_rb.html +1 -1
  177. data/doc/rdoc/files/lib/wee/utils/helper_rb.html +1 -1
  178. data/doc/rdoc/files/lib/wee/utils_rb.html +1 -1
  179. data/doc/rdoc/files/lib/wee_rb.html +5 -3
  180. data/doc/rdoc/fr_class_index.html +34 -2
  181. data/doc/rdoc/fr_file_index.html +17 -1
  182. data/doc/rdoc/fr_method_index.html +464 -314
  183. data/examples/ajax/ajax.rb +1 -1
  184. data/examples/demo.rb +47 -0
  185. data/examples/{calendar.rb → demo/calendar.rb} +89 -97
  186. data/examples/{example.rb → demo/example.rb} +17 -97
  187. data/examples/dispatcher.rb +37 -0
  188. data/examples/draw.rb +14 -11
  189. data/examples/nitro/run.rb +42 -0
  190. data/examples/radio.rb +44 -0
  191. data/examples/test.rb +3 -27
  192. data/lib/wee.rb +15 -3
  193. data/lib/wee/adaptors/nitro.rb +154 -0
  194. data/lib/wee/adaptors/rails.rb +154 -0
  195. data/lib/wee/application.rb +22 -20
  196. data/lib/wee/components.rb +3 -0
  197. data/lib/wee/components/component_dispatcher.rb +46 -0
  198. data/lib/wee/components/login_decoration.rb +35 -0
  199. data/lib/wee/components/messagebox.rb +2 -2
  200. data/lib/wee/components/pager.rb +102 -0
  201. data/lib/wee/continuation/core/component.rb +13 -12
  202. data/lib/wee/continuation/session.rb +11 -19
  203. data/lib/wee/core.rb +8 -7
  204. data/lib/wee/core/component.rb +8 -28
  205. data/lib/wee/core/componentrunner.rb +73 -0
  206. data/lib/wee/core/context.rb +27 -0
  207. data/lib/wee/core/idgen.rb +5 -0
  208. data/lib/wee/core/page.rb +1 -0
  209. data/lib/wee/core/presenter.rb +10 -126
  210. data/lib/wee/core/renderer.rb +23 -0
  211. data/lib/wee/core_ext.rb +122 -0
  212. data/lib/wee/databases/og/scaffolder.rb +0 -1
  213. data/lib/wee/examples/calculator.rb +70 -0
  214. data/lib/wee/examples/counter.rb +33 -0
  215. data/lib/wee/examples/editable_counter.rb +31 -0
  216. data/{examples → lib/wee/examples}/window.rb +29 -23
  217. data/lib/wee/idgen/md5.rb +1 -1
  218. data/lib/wee/idgen/simple.rb +1 -1
  219. data/lib/wee/pageless/session.rb +2 -3
  220. data/lib/wee/renderer/html/brushes.rb +142 -22
  221. data/lib/wee/renderer/html/canvas.rb +57 -19
  222. data/lib/wee/response.rb +3 -2
  223. data/lib/wee/session.rb +10 -54
  224. data/lib/wee/skeleton/og/components/main.rb +5 -1
  225. data/lib/wee/skeleton/og/conf/db.rb +1 -1
  226. data/lib/wee/snapshot_ext.rb +4 -10
  227. data/lib/wee/template.rb +19 -5
  228. data/lib/wee/utils/helper.rb +2 -2
  229. metadata +90 -13
  230. data/examples/calculator.rb +0 -67
  231. data/lib/wee/context.rb +0 -2
@@ -84,9 +84,9 @@
84
84
  <p>
85
85
  A <a href="AnswerDecoration.html">Wee::AnswerDecoration</a> is wrapped
86
86
  around a component that will call <a
87
- href="Component.html#M000269">Component#answer</a>. This makes it possible
87
+ href="Component.html#M000341">Component#answer</a>. This makes it possible
88
88
  to use such components without the need to call them (<a
89
- href="Component.html#M000268">Component#call</a>), e.g. as child components
89
+ href="Component.html#M000340">Component#call</a>), e.g. as child components
90
90
  of other components.
91
91
  </p>
92
92
 
@@ -99,7 +99,7 @@ of other components.
99
99
  <h3 class="section-bar">Methods</h3>
100
100
 
101
101
  <div class="name-list">
102
- <a href="#M000100">process_callbacks</a>&nbsp;&nbsp;
102
+ <a href="#M000168">process_callbacks</a>&nbsp;&nbsp;
103
103
  </div>
104
104
  </div>
105
105
 
@@ -125,7 +125,7 @@ of other components.
125
125
  <td class="context-item-desc">
126
126
  When a component answers, <tt>on_answer.call(args)</tt> will be executed
127
127
  (unless nil), where <tt>args</tt> are the arguments passed to <a
128
- href="Component.html#M000269">Component#answer</a>. Note that no snapshot
128
+ href="Component.html#M000341">Component#answer</a>. Note that no snapshot
129
129
  of on_answer is taken, so you should avoid modifying it!
130
130
 
131
131
  </td>
@@ -140,22 +140,22 @@ of on_answer is taken, so you should avoid modifying it!
140
140
  <div id="methods">
141
141
  <h3 class="section-bar">Public Instance methods</h3>
142
142
 
143
- <div id="method-M000100" class="method-detail">
144
- <a name="M000100"></a>
143
+ <div id="method-M000168" class="method-detail">
144
+ <a name="M000168"></a>
145
145
 
146
146
  <div class="method-heading">
147
- <a href="#M000100" class="method-signature">
148
- <span class="method-name">process_callbacks</span><span class="method-args">(callback_stream)</span>
147
+ <a href="#M000168" class="method-signature">
148
+ <span class="method-name">process_callbacks</span><span class="method-args">(&amp;block)</span>
149
149
  </a>
150
150
  </div>
151
151
 
152
152
  <div class="method-description">
153
153
  <p><a class="source-toggle" href="#"
154
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
155
- <div class="method-source-code" id="M000100-source">
154
+ onclick="toggleCode('M000168-source');return false;">[Source]</a></p>
155
+ <div class="method-source-code" id="M000168-source">
156
156
  <pre>
157
157
  <span class="ruby-comment cmt"># File lib/wee/core/decoration.rb, line 131</span>
158
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_callbacks</span>(<span class="ruby-identifier">callback_stream</span>)
158
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_callbacks</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
159
159
  <span class="ruby-identifier">args</span> = <span class="ruby-identifier">catch</span>(<span class="ruby-identifier">:wee_answer</span>) { <span class="ruby-keyword kw">super</span>; <span class="ruby-keyword kw">nil</span> }
160
160
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span>
161
161
  <span class="ruby-comment cmt"># return to the calling component </span>
@@ -95,7 +95,7 @@ the correct handler by examining the request.
95
95
  <div id="contents-list">
96
96
  <h3 class="section-bar">Contents</h3>
97
97
  <ul>
98
- <li><a href="#SEC00019">Properties</a></li>
98
+ <li><a href="#SEC00022">Properties</a></li>
99
99
  </ul>
100
100
  </div>
101
101
 
@@ -103,13 +103,16 @@ the correct handler by examining the request.
103
103
  <h3 class="section-bar">Methods</h3>
104
104
 
105
105
  <div class="name-list">
106
- <a href="#M000222">default_request_handler</a>&nbsp;&nbsp;
107
- <a href="#M000227">garbage_collect_handlers</a>&nbsp;&nbsp;
108
- <a href="#M000225">get_property</a>&nbsp;&nbsp;
109
- <a href="#M000224">handle_request</a>&nbsp;&nbsp;
110
- <a href="#M000223">new</a>&nbsp;&nbsp;
111
- <a href="#M000228">request_handler_expired</a>&nbsp;&nbsp;
112
- <a href="#M000226">unique_request_handler_id</a>&nbsp;&nbsp;
106
+ <a href="#M000293">default_request_handler</a>&nbsp;&nbsp;
107
+ <a href="#M000301">garbage_collect_handlers</a>&nbsp;&nbsp;
108
+ <a href="#M000299">get_property</a>&nbsp;&nbsp;
109
+ <a href="#M000295">handle_request</a>&nbsp;&nbsp;
110
+ <a href="#M000296">insert_new_request_handler</a>&nbsp;&nbsp;
111
+ <a href="#M000294">new</a>&nbsp;&nbsp;
112
+ <a href="#M000297">properties</a>&nbsp;&nbsp;
113
+ <a href="#M000298">properties=</a>&nbsp;&nbsp;
114
+ <a href="#M000302">request_handler_expired</a>&nbsp;&nbsp;
115
+ <a href="#M000300">unique_request_handler_id</a>&nbsp;&nbsp;
113
116
  </div>
114
117
  </div>
115
118
 
@@ -155,11 +158,11 @@ The maximum number of request handlers
155
158
  <div id="methods">
156
159
  <h3 class="section-bar">Public Class methods</h3>
157
160
 
158
- <div id="method-M000223" class="method-detail">
159
- <a name="M000223"></a>
161
+ <div id="method-M000294" class="method-detail">
162
+ <a name="M000294"></a>
160
163
 
161
164
  <div class="method-heading">
162
- <a href="#M000223" class="method-signature">
165
+ <a href="#M000294" class="method-signature">
163
166
  <span class="method-name">new</span><span class="method-args">(&amp;block)</span>
164
167
  </a>
165
168
  </div>
@@ -176,8 +179,8 @@ Creates a new application. The block is used to initialize the attributes:
176
179
  }
177
180
  </pre>
178
181
  <p><a class="source-toggle" href="#"
179
- onclick="toggleCode('M000223-source');return false;">[Source]</a></p>
180
- <div class="method-source-code" id="M000223-source">
182
+ onclick="toggleCode('M000294-source');return false;">[Source]</a></p>
183
+ <div class="method-source-code" id="M000294-source">
181
184
  <pre>
182
185
  <span class="ruby-comment cmt"># File lib/wee/application.rb, line 34</span>
183
186
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -203,11 +206,11 @@ Creates a new application. The block is used to initialize the attributes:
203
206
 
204
207
  <h3 class="section-bar">Public Instance methods</h3>
205
208
 
206
- <div id="method-M000222" class="method-detail">
207
- <a name="M000222"></a>
209
+ <div id="method-M000293" class="method-detail">
210
+ <a name="M000293"></a>
208
211
 
209
212
  <div class="method-heading">
210
- <a href="#M000222" class="method-signature">
213
+ <a href="#M000293" class="method-signature">
211
214
  <span class="method-name">default_request_handler</span><span class="method-args">(&amp;block)</span>
212
215
  </a>
213
216
  </div>
@@ -218,8 +221,8 @@ Get or set the default request handler. The default request handler is used
218
221
  if no request handler id is given in a request.
219
222
  </p>
220
223
  <p><a class="source-toggle" href="#"
221
- onclick="toggleCode('M000222-source');return false;">[Source]</a></p>
222
- <div class="method-source-code" id="M000222-source">
224
+ onclick="toggleCode('M000293-source');return false;">[Source]</a></p>
225
+ <div class="method-source-code" id="M000293-source">
223
226
  <pre>
224
227
  <span class="ruby-comment cmt"># File lib/wee/application.rb, line 18</span>
225
228
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_request_handler</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -234,19 +237,19 @@ if no request handler id is given in a request.
234
237
  </div>
235
238
  </div>
236
239
 
237
- <div id="method-M000224" class="method-detail">
238
- <a name="M000224"></a>
240
+ <div id="method-M000295" class="method-detail">
241
+ <a name="M000295"></a>
239
242
 
240
243
  <div class="method-heading">
241
- <a href="#M000224" class="method-signature">
244
+ <a href="#M000295" class="method-signature">
242
245
  <span class="method-name">handle_request</span><span class="method-args">(context)</span>
243
246
  </a>
244
247
  </div>
245
248
 
246
249
  <div class="method-description">
247
250
  <p><a class="source-toggle" href="#"
248
- onclick="toggleCode('M000224-source');return false;">[Source]</a></p>
249
- <div class="method-source-code" id="M000224-source">
251
+ onclick="toggleCode('M000295-source');return false;">[Source]</a></p>
252
+ <div class="method-source-code" id="M000295-source">
250
253
  <pre>
251
254
  <span class="ruby-comment cmt"># File lib/wee/application.rb, line 51</span>
252
255
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">handle_request</span>(<span class="ruby-identifier">context</span>)
@@ -258,26 +261,9 @@ if no request handler id is given in a request.
258
261
  <span class="ruby-comment cmt"># No id was given -&gt; check whether the maximum number of request-handlers</span>
259
262
  <span class="ruby-comment cmt"># limit is reached. if not, create new id and handler</span>
260
263
 
261
- <span class="ruby-ivar">@mutex</span>.<span class="ruby-identifier">synchronize</span> {
262
- <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@max_request_handlers</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@max_request_handlers</span>
263
- <span class="ruby-comment cmt"># limit reached -&gt; remove non-alive handlers...</span>
264
- <span class="ruby-identifier">garbage_collect_handlers</span>()
265
-
266
- <span class="ruby-comment cmt"># ...and test again</span>
267
- <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@max_request_handlers</span>
268
- <span class="ruby-comment cmt"># TODO: show a custom error message</span>
269
- <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;maximum number of request-handlers reached&quot;</span>
270
- <span class="ruby-keyword kw">end</span>
271
- <span class="ruby-keyword kw">end</span>
272
-
273
- <span class="ruby-identifier">request_handler_id</span> = <span class="ruby-identifier">unique_request_handler_id</span>()
274
- <span class="ruby-identifier">request_handler</span> = <span class="ruby-ivar">@default_request_handler</span>.<span class="ruby-identifier">call</span>
275
- <span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">request_handler_id</span>
276
- <span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">application</span> = <span class="ruby-keyword kw">self</span>
277
- <span class="ruby-ivar">@request_handlers</span>[<span class="ruby-identifier">request_handler_id</span>] = <span class="ruby-identifier">request_handler</span>
278
- }
279
-
280
- <span class="ruby-identifier">context</span>.<span class="ruby-identifier">request</span>.<span class="ruby-identifier">request_handler_id</span> = <span class="ruby-identifier">request_handler_id</span>
264
+ <span class="ruby-identifier">request_handler</span> = <span class="ruby-ivar">@default_request_handler</span>.<span class="ruby-identifier">call</span>
265
+ <span class="ruby-identifier">insert_new_request_handler</span>(<span class="ruby-identifier">request_handler</span>)
266
+ <span class="ruby-identifier">context</span>.<span class="ruby-identifier">request</span>.<span class="ruby-identifier">request_handler_id</span> = <span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">id</span>
281
267
  <span class="ruby-identifier">handle_request</span>(<span class="ruby-identifier">context</span>)
282
268
  <span class="ruby-keyword kw">return</span>
283
269
 
@@ -308,10 +294,48 @@ if no request handler id is given in a request.
308
294
  </div>
309
295
  </div>
310
296
 
297
+ <div id="method-M000296" class="method-detail">
298
+ <a name="M000296"></a>
299
+
300
+ <div class="method-heading">
301
+ <a href="#M000296" class="method-signature">
302
+ <span class="method-name">insert_new_request_handler</span><span class="method-args">(request_handler)</span>
303
+ </a>
304
+ </div>
305
+
306
+ <div class="method-description">
307
+ <p><a class="source-toggle" href="#"
308
+ onclick="toggleCode('M000296-source');return false;">[Source]</a></p>
309
+ <div class="method-source-code" id="M000296-source">
310
+ <pre>
311
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 89</span>
312
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">insert_new_request_handler</span>(<span class="ruby-identifier">request_handler</span>)
313
+ <span class="ruby-ivar">@mutex</span>.<span class="ruby-identifier">synchronize</span> {
314
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@max_request_handlers</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@max_request_handlers</span>
315
+ <span class="ruby-comment cmt"># limit reached -&gt; remove non-alive handlers...</span>
316
+ <span class="ruby-identifier">garbage_collect_handlers</span>()
317
+
318
+ <span class="ruby-comment cmt"># ...and test again</span>
319
+ <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@max_request_handlers</span>
320
+ <span class="ruby-comment cmt"># TODO: show a custom error message</span>
321
+ <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;maximum number of request-handlers reached&quot;</span>
322
+ <span class="ruby-keyword kw">end</span>
323
+ <span class="ruby-keyword kw">end</span>
324
+
325
+ <span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">id</span> = <span class="ruby-identifier">unique_request_handler_id</span>()
326
+ <span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">application</span> = <span class="ruby-keyword kw">self</span>
327
+ <span class="ruby-ivar">@request_handlers</span>[<span class="ruby-identifier">request_handler</span>.<span class="ruby-identifier">id</span>] = <span class="ruby-identifier">request_handler</span>
328
+ }
329
+ <span class="ruby-keyword kw">end</span>
330
+ </pre>
331
+ </div>
332
+ </div>
333
+ </div>
334
+
311
335
 
312
336
  </div>
313
337
  <div id="section">
314
- <h2 class="section-title"><a name="SEC00019">Properties</a></h2>
338
+ <h2 class="section-title"><a name="SEC00022">Properties</a></h2>
315
339
  <div class="section-comment">
316
340
 
317
341
  </div>
@@ -320,19 +344,6 @@ if no request handler id is given in a request.
320
344
 
321
345
 
322
346
 
323
- <div id="attribute-list">
324
- <h3 class="section-bar">Attributes</h3>
325
-
326
- <div class="name-list">
327
- <table>
328
- <tr class="top-aligned-row context-row">
329
- <td class="context-item-name">properties</td>
330
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
331
- <td class="context-item-desc"></td>
332
- </tr>
333
- </table>
334
- </div>
335
- </div>
336
347
 
337
348
 
338
349
 
@@ -340,11 +351,11 @@ if no request handler id is given in a request.
340
351
  <div id="methods">
341
352
  <h3 class="section-bar">Public Instance methods</h3>
342
353
 
343
- <div id="method-M000225" class="method-detail">
344
- <a name="M000225"></a>
354
+ <div id="method-M000299" class="method-detail">
355
+ <a name="M000299"></a>
345
356
 
346
357
  <div class="method-heading">
347
- <a href="#M000225" class="method-signature">
358
+ <a href="#M000299" class="method-signature">
348
359
  <span class="method-name">get_property</span><span class="method-args">(prop, klass)</span>
349
360
  </a>
350
361
  </div>
@@ -354,13 +365,13 @@ if no request handler id is given in a request.
354
365
  Returns an &quot;owned&quot; property for the given <tt>klass</tt>.
355
366
  </p>
356
367
  <p><a class="source-toggle" href="#"
357
- onclick="toggleCode('M000225-source');return false;">[Source]</a></p>
358
- <div class="method-source-code" id="M000225-source">
368
+ onclick="toggleCode('M000299-source');return false;">[Source]</a></p>
369
+ <div class="method-source-code" id="M000299-source">
359
370
  <pre>
360
- <span class="ruby-comment cmt"># File lib/wee/application.rb, line 114</span>
371
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 117</span>
361
372
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_property</span>(<span class="ruby-identifier">prop</span>, <span class="ruby-identifier">klass</span>)
362
- <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@properties</span>
363
- <span class="ruby-ivar">@properties</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">klass</span>, {})[<span class="ruby-identifier">prop</span>]
373
+ <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">properties</span>
374
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">properties</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">klass</span>, {})[<span class="ruby-identifier">prop</span>]
364
375
  <span class="ruby-keyword kw">else</span>
365
376
  <span class="ruby-keyword kw">nil</span>
366
377
  <span class="ruby-keyword kw">end</span>
@@ -370,13 +381,55 @@ Returns an &quot;owned&quot; property for the given <tt>klass</tt>.
370
381
  </div>
371
382
  </div>
372
383
 
384
+ <div id="method-M000297" class="method-detail">
385
+ <a name="M000297"></a>
386
+
387
+ <div class="method-heading">
388
+ <a href="#M000297" class="method-signature">
389
+ <span class="method-name">properties</span><span class="method-args">()</span>
390
+ </a>
391
+ </div>
392
+
393
+ <div class="method-description">
394
+ <p><a class="source-toggle" href="#"
395
+ onclick="toggleCode('M000297-source');return false;">[Source]</a></p>
396
+ <div class="method-source-code" id="M000297-source">
397
+ <pre>
398
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 112</span>
399
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">properties</span>() <span class="ruby-ivar">@__properties</span> <span class="ruby-keyword kw">end</span>
400
+ </pre>
401
+ </div>
402
+ </div>
403
+ </div>
404
+
405
+ <div id="method-M000298" class="method-detail">
406
+ <a name="M000298"></a>
407
+
408
+ <div class="method-heading">
409
+ <a href="#M000298" class="method-signature">
410
+ <span class="method-name">properties=</span><span class="method-args">(props)</span>
411
+ </a>
412
+ </div>
413
+
414
+ <div class="method-description">
415
+ <p><a class="source-toggle" href="#"
416
+ onclick="toggleCode('M000298-source');return false;">[Source]</a></p>
417
+ <div class="method-source-code" id="M000298-source">
418
+ <pre>
419
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 113</span>
420
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">properties=</span>(<span class="ruby-identifier">props</span>) <span class="ruby-ivar">@__properties</span> = <span class="ruby-identifier">props</span> <span class="ruby-keyword kw">end</span>
421
+ </pre>
422
+ </div>
423
+ </div>
424
+ </div>
425
+
373
426
  <h3 class="section-bar">Private Instance methods</h3>
374
427
 
375
- <div id="method-M000227" class="method-detail">
376
- <a name="M000227"></a>
428
+ <div id="method-M000301" class="method-detail">
429
+ <a name="M000301"></a>
377
430
 
378
431
  <div class="method-heading">
379
- <a href="#M000227" class="method-signature">
432
+ <a href="#M000301" class="method-signature">
380
433
  <span class="method-name">garbage_collect_handlers</span><span class="method-args">()</span>
381
434
  </a>
382
435
  </div>
@@ -386,10 +439,10 @@ Returns an &quot;owned&quot; property for the given <tt>klass</tt>.
386
439
  MUST be called while holding @mutex
387
440
  </p>
388
441
  <p><a class="source-toggle" href="#"
389
- onclick="toggleCode('M000227-source');return false;">[Source]</a></p>
390
- <div class="method-source-code" id="M000227-source">
442
+ onclick="toggleCode('M000301-source');return false;">[Source]</a></p>
443
+ <div class="method-source-code" id="M000301-source">
391
444
  <pre>
392
- <span class="ruby-comment cmt"># File lib/wee/application.rb, line 134</span>
445
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 137</span>
393
446
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">garbage_collect_handlers</span>
394
447
  <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">delete_if</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">id</span>,<span class="ruby-identifier">rh</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span><span class="ruby-identifier">rh</span>.<span class="ruby-identifier">alive?</span> }
395
448
  <span class="ruby-keyword kw">end</span>
@@ -398,34 +451,36 @@ MUST be called while holding @mutex
398
451
  </div>
399
452
  </div>
400
453
 
401
- <div id="method-M000228" class="method-detail">
402
- <a name="M000228"></a>
454
+ <div id="method-M000302" class="method-detail">
455
+ <a name="M000302"></a>
403
456
 
404
457
  <div class="method-heading">
405
- <a href="#M000228" class="method-signature">
458
+ <a href="#M000302" class="method-signature">
406
459
  <span class="method-name">request_handler_expired</span><span class="method-args">(context)</span>
407
460
  </a>
408
461
  </div>
409
462
 
410
463
  <div class="method-description">
411
464
  <p><a class="source-toggle" href="#"
412
- onclick="toggleCode('M000228-source');return false;">[Source]</a></p>
413
- <div class="method-source-code" id="M000228-source">
465
+ onclick="toggleCode('M000302-source');return false;">[Source]</a></p>
466
+ <div class="method-source-code" id="M000302-source">
414
467
  <pre>
415
- <span class="ruby-comment cmt"># File lib/wee/application.rb, line 138</span>
468
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 141</span>
416
469
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">request_handler_expired</span>(<span class="ruby-identifier">context</span>)
417
- <span class="ruby-identifier">context</span>.<span class="ruby-identifier">response</span> = <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">RefreshResponse</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;Invalid or expired request handler!&quot;</span>, <span class="ruby-identifier">context</span>.<span class="ruby-identifier">request</span>.<span class="ruby-identifier">application_path</span>)
470
+ <span class="ruby-identifier">context</span>.<span class="ruby-identifier">response</span> = <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">RefreshResponse</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;Invalid or expired request handler!&quot;</span>,
471
+ <span class="ruby-identifier">context</span>.<span class="ruby-identifier">request</span>.<span class="ruby-identifier">build_url</span>(<span class="ruby-identifier">:request_handler_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">nil</span>,
472
+ <span class="ruby-identifier">:page_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">nil</span>))
418
473
  <span class="ruby-keyword kw">end</span>
419
474
  </pre>
420
475
  </div>
421
476
  </div>
422
477
  </div>
423
478
 
424
- <div id="method-M000226" class="method-detail">
425
- <a name="M000226"></a>
479
+ <div id="method-M000300" class="method-detail">
480
+ <a name="M000300"></a>
426
481
 
427
482
  <div class="method-heading">
428
- <a href="#M000226" class="method-signature">
483
+ <a href="#M000300" class="method-signature">
429
484
  <span class="method-name">unique_request_handler_id</span><span class="method-args">()</span>
430
485
  </a>
431
486
  </div>
@@ -435,10 +490,10 @@ MUST be called while holding @mutex
435
490
  MUST be called while holding @mutex
436
491
  </p>
437
492
  <p><a class="source-toggle" href="#"
438
- onclick="toggleCode('M000226-source');return false;">[Source]</a></p>
439
- <div class="method-source-code" id="M000226-source">
493
+ onclick="toggleCode('M000300-source');return false;">[Source]</a></p>
494
+ <div class="method-source-code" id="M000300-source">
440
495
  <pre>
441
- <span class="ruby-comment cmt"># File lib/wee/application.rb, line 126</span>
496
+ <span class="ruby-comment cmt"># File lib/wee/application.rb, line 129</span>
442
497
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unique_request_handler_id</span>
443
498
  <span class="ruby-identifier">id</span> = <span class="ruby-ivar">@id_generator</span>.<span class="ruby-identifier">next</span>.<span class="ruby-identifier">to_s</span>
444
499
  <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;failed to create unique request handler id&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@request_handlers</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">id</span>)
@@ -88,9 +88,9 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000146">close</a>&nbsp;&nbsp;
92
- <a href="#M000144">new</a>&nbsp;&nbsp;
93
- <a href="#M000145">with</a>&nbsp;&nbsp;
91
+ <a href="#M000186">close</a>&nbsp;&nbsp;
92
+ <a href="#M000184">new</a>&nbsp;&nbsp;
93
+ <a href="#M000185">with</a>&nbsp;&nbsp;
94
94
  </div>
95
95
  </div>
96
96
 
@@ -105,17 +105,20 @@
105
105
  <h3 class="section-bar">Classes and Modules</h3>
106
106
 
107
107
  Class <a href="Brush/AnchorTag.html" class="link">Wee::Brush::AnchorTag</a><br />
108
+ Class <a href="Brush/CheckboxTag.html" class="link">Wee::Brush::CheckboxTag</a><br />
108
109
  Class <a href="Brush/FileUploadTag.html" class="link">Wee::Brush::FileUploadTag</a><br />
109
110
  Class <a href="Brush/FormTag.html" class="link">Wee::Brush::FormTag</a><br />
110
111
  Class <a href="Brush/GenericEncodedTextBrush.html" class="link">Wee::Brush::GenericEncodedTextBrush</a><br />
111
112
  Class <a href="Brush/GenericSingleTagBrush.html" class="link">Wee::Brush::GenericSingleTagBrush</a><br />
112
113
  Class <a href="Brush/GenericTagBrush.html" class="link">Wee::Brush::GenericTagBrush</a><br />
113
114
  Class <a href="Brush/GenericTextBrush.html" class="link">Wee::Brush::GenericTextBrush</a><br />
115
+ Class <a href="Brush/HiddenInputTag.html" class="link">Wee::Brush::HiddenInputTag</a><br />
114
116
  Class <a href="Brush/ImageButtonTag.html" class="link">Wee::Brush::ImageButtonTag</a><br />
115
117
  Class <a href="Brush/ImageTag.html" class="link">Wee::Brush::ImageTag</a><br />
116
118
  Class <a href="Brush/InputTag.html" class="link">Wee::Brush::InputTag</a><br />
117
119
  Class <a href="Brush/JavascriptTag.html" class="link">Wee::Brush::JavascriptTag</a><br />
118
120
  Class <a href="Brush/Page.html" class="link">Wee::Brush::Page</a><br />
121
+ Class <a href="Brush/RadioButtonTag.html" class="link">Wee::Brush::RadioButtonTag</a><br />
119
122
  Class <a href="Brush/SelectListTag.html" class="link">Wee::Brush::SelectListTag</a><br />
120
123
  Class <a href="Brush/SelectOptionTag.html" class="link">Wee::Brush::SelectOptionTag</a><br />
121
124
  Class <a href="Brush/SubmitButtonTag.html" class="link">Wee::Brush::SubmitButtonTag</a><br />
@@ -156,19 +159,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
156
159
  <div id="methods">
157
160
  <h3 class="section-bar">Public Class methods</h3>
158
161
 
159
- <div id="method-M000144" class="method-detail">
160
- <a name="M000144"></a>
162
+ <div id="method-M000184" class="method-detail">
163
+ <a name="M000184"></a>
161
164
 
162
165
  <div class="method-heading">
163
- <a href="#M000144" class="method-signature">
166
+ <a href="#M000184" class="method-signature">
164
167
  <span class="method-name">new</span><span class="method-args">()</span>
165
168
  </a>
166
169
  </div>
167
170
 
168
171
  <div class="method-description">
169
172
  <p><a class="source-toggle" href="#"
170
- onclick="toggleCode('M000144-source');return false;">[Source]</a></p>
171
- <div class="method-source-code" id="M000144-source">
173
+ onclick="toggleCode('M000184-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000184-source">
172
175
  <pre>
173
176
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 6</span>
174
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -181,19 +184,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
181
184
 
182
185
  <h3 class="section-bar">Public Instance methods</h3>
183
186
 
184
- <div id="method-M000146" class="method-detail">
185
- <a name="M000146"></a>
187
+ <div id="method-M000186" class="method-detail">
188
+ <a name="M000186"></a>
186
189
 
187
190
  <div class="method-heading">
188
- <a href="#M000146" class="method-signature">
191
+ <a href="#M000186" class="method-signature">
189
192
  <span class="method-name">close</span><span class="method-args">()</span>
190
193
  </a>
191
194
  </div>
192
195
 
193
196
  <div class="method-description">
194
197
  <p><a class="source-toggle" href="#"
195
- onclick="toggleCode('M000146-source');return false;">[Source]</a></p>
196
- <div class="method-source-code" id="M000146-source">
198
+ onclick="toggleCode('M000186-source');return false;">[Source]</a></p>
199
+ <div class="method-source-code" id="M000186-source">
197
200
  <pre>
198
201
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 17</span>
199
202
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
@@ -204,19 +207,19 @@ Class <a href="Brush/TextInputTag.html" class="link">Wee::Brush::TextInputTag</a
204
207
  </div>
205
208
  </div>
206
209
 
207
- <div id="method-M000145" class="method-detail">
208
- <a name="M000145"></a>
210
+ <div id="method-M000185" class="method-detail">
211
+ <a name="M000185"></a>
209
212
 
210
213
  <div class="method-heading">
211
- <a href="#M000145" class="method-signature">
214
+ <a href="#M000185" class="method-signature">
212
215
  <span class="method-name">with</span><span class="method-args">(*args, &amp;block)</span>
213
216
  </a>
214
217
  </div>
215
218
 
216
219
  <div class="method-description">
217
220
  <p><a class="source-toggle" href="#"
218
- onclick="toggleCode('M000145-source');return false;">[Source]</a></p>
219
- <div class="method-source-code" id="M000145-source">
221
+ onclick="toggleCode('M000185-source');return false;">[Source]</a></p>
222
+ <div class="method-source-code" id="M000185-source">
220
223
  <pre>
221
224
  <span class="ruby-comment cmt"># File lib/wee/renderer/html/brushes.rb, line 10</span>
222
225
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)