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
@@ -86,7 +86,7 @@ for Ruby 1.8
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000318">min_by</a>&nbsp;&nbsp;
89
+ <a href="#M000468">min_by</a>&nbsp;&nbsp;
90
90
  </div>
91
91
  </div>
92
92
 
@@ -108,19 +108,19 @@ for Ruby 1.8
108
108
  <div id="methods">
109
109
  <h3 class="section-bar">Public Instance methods</h3>
110
110
 
111
- <div id="method-M000318" class="method-detail">
112
- <a name="M000318"></a>
111
+ <div id="method-M000468" class="method-detail">
112
+ <a name="M000468"></a>
113
113
 
114
114
  <div class="method-heading">
115
- <a href="#M000318" class="method-signature">
115
+ <a href="#M000468" class="method-signature">
116
116
  <span class="method-name">min_by</span><span class="method-args">(&amp;block)</span>
117
117
  </a>
118
118
  </div>
119
119
 
120
120
  <div class="method-description">
121
121
  <p><a class="source-toggle" href="#"
122
- onclick="toggleCode('M000318-source');return false;">[Source]</a></p>
123
- <div class="method-source-code" id="M000318-source">
122
+ onclick="toggleCode('M000468-source');return false;">[Source]</a></p>
123
+ <div class="method-source-code" id="M000468-source">
124
124
  <pre>
125
125
  <span class="ruby-comment cmt"># File lib/cache/cache.rb, line 4</span>
126
126
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">min_by</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -0,0 +1,120 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Hash</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Hash</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/wee/snapshot_ext_rb.html">
59
+ lib/wee/snapshot_ext.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Object.html">
69
+ Object
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+ <div id="includes">
93
+ <h3 class="section-bar">Included Modules</h3>
94
+
95
+ <div id="includes-list">
96
+ <span class="include-name"><a href="Wee/DupReplaceSnapshotMixin.html">Wee::DupReplaceSnapshotMixin</a></span>
97
+ </div>
98
+ </div>
99
+
100
+ <div id="section">
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <!-- if method_list -->
110
+
111
+
112
+ </div>
113
+
114
+
115
+ <div id="validator-badges">
116
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
117
+ </div>
118
+
119
+ </body>
120
+ </html>
@@ -55,13 +55,13 @@
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../files/lib/wee/skeleton/simple/components/main_rb.html">
59
- lib/wee/skeleton/simple/components/main.rb
60
- </a>
61
- <br />
62
58
  <a href="../files/lib/wee/skeleton/og/components/main_rb.html">
63
59
  lib/wee/skeleton/og/components/main.rb
64
60
  </a>
61
+ <br />
62
+ <a href="../files/lib/wee/skeleton/simple/components/main_rb.html">
63
+ lib/wee/skeleton/simple/components/main.rb
64
+ </a>
65
65
  <br />
66
66
  </td>
67
67
  </tr>
@@ -92,11 +92,12 @@
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000005">click</a>&nbsp;&nbsp;
96
- <a href="#M000003">new</a>&nbsp;&nbsp;
95
+ <a href="#M000004">children</a>&nbsp;&nbsp;
96
+ <a href="#M000008">click</a>&nbsp;&nbsp;
97
97
  <a href="#M000006">new</a>&nbsp;&nbsp;
98
- <a href="#M000004">render</a>&nbsp;&nbsp;
98
+ <a href="#M000003">new</a>&nbsp;&nbsp;
99
99
  <a href="#M000007">render</a>&nbsp;&nbsp;
100
+ <a href="#M000005">render</a>&nbsp;&nbsp;
100
101
  </div>
101
102
  </div>
102
103
 
@@ -118,19 +119,19 @@
118
119
  <div id="methods">
119
120
  <h3 class="section-bar">Public Class methods</h3>
120
121
 
121
- <div id="method-M000003" class="method-detail">
122
- <a name="M000003"></a>
122
+ <div id="method-M000006" class="method-detail">
123
+ <a name="M000006"></a>
123
124
 
124
125
  <div class="method-heading">
125
- <a href="#M000003" class="method-signature">
126
+ <a href="#M000006" class="method-signature">
126
127
  <span class="method-name">new</span><span class="method-args">()</span>
127
128
  </a>
128
129
  </div>
129
130
 
130
131
  <div class="method-description">
131
132
  <p><a class="source-toggle" href="#"
132
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
133
- <div class="method-source-code" id="M000003-source">
133
+ onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
134
+ <div class="method-source-code" id="M000006-source">
134
135
  <pre>
135
136
  <span class="ruby-comment cmt"># File lib/wee/skeleton/simple/components/main.rb, line 3</span>
136
137
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -142,24 +143,24 @@
142
143
  </div>
143
144
  </div>
144
145
 
145
- <div id="method-M000006" class="method-detail">
146
- <a name="M000006"></a>
146
+ <div id="method-M000003" class="method-detail">
147
+ <a name="M000003"></a>
147
148
 
148
149
  <div class="method-heading">
149
- <a href="#M000006" class="method-signature">
150
+ <a href="#M000003" class="method-signature">
150
151
  <span class="method-name">new</span><span class="method-args">()</span>
151
152
  </a>
152
153
  </div>
153
154
 
154
155
  <div class="method-description">
155
156
  <p><a class="source-toggle" href="#"
156
- onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
157
- <div class="method-source-code" id="M000006-source">
157
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
158
+ <div class="method-source-code" id="M000003-source">
158
159
  <pre>
159
160
  <span class="ruby-comment cmt"># File lib/wee/skeleton/og/components/main.rb, line 3</span>
160
161
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
161
162
  <span class="ruby-keyword kw">super</span>()
162
- <span class="ruby-ivar">@scaffolder</span> = <span class="ruby-identifier">add_child</span> <span class="ruby-constant">OgScaffolder</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Recipe</span>)
163
+ <span class="ruby-ivar">@scaffolder</span> = <span class="ruby-constant">OgScaffolder</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Recipe</span>)
163
164
  <span class="ruby-keyword kw">end</span>
164
165
  </pre>
165
166
  </div>
@@ -168,11 +169,34 @@
168
169
 
169
170
  <h3 class="section-bar">Public Instance methods</h3>
170
171
 
171
- <div id="method-M000005" class="method-detail">
172
- <a name="M000005"></a>
172
+ <div id="method-M000004" class="method-detail">
173
+ <a name="M000004"></a>
173
174
 
174
175
  <div class="method-heading">
175
- <a href="#M000005" class="method-signature">
176
+ <a href="#M000004" class="method-signature">
177
+ <span class="method-name">children</span><span class="method-args">()</span>
178
+ </a>
179
+ </div>
180
+
181
+ <div class="method-description">
182
+ <p><a class="source-toggle" href="#"
183
+ onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
184
+ <div class="method-source-code" id="M000004-source">
185
+ <pre>
186
+ <span class="ruby-comment cmt"># File lib/wee/skeleton/og/components/main.rb, line 8</span>
187
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">children</span>
188
+ [<span class="ruby-ivar">@scaffolder</span>]
189
+ <span class="ruby-keyword kw">end</span>
190
+ </pre>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <div id="method-M000008" class="method-detail">
196
+ <a name="M000008"></a>
197
+
198
+ <div class="method-heading">
199
+ <a href="#M000008" class="method-signature">
176
200
  <span class="method-name">click</span><span class="method-args">()</span>
177
201
  </a>
178
202
  </div>
@@ -183,8 +207,8 @@ Actions
183
207
  </p>
184
208
  <hr size="10"></hr>
185
209
  <p><a class="source-toggle" href="#"
186
- onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
187
- <div class="method-source-code" id="M000005-source">
210
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
211
+ <div class="method-source-code" id="M000008-source">
188
212
  <pre>
189
213
  <span class="ruby-comment cmt"># File lib/wee/skeleton/simple/components/main.rb, line 21</span>
190
214
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">click</span>
@@ -195,11 +219,11 @@ Actions
195
219
  </div>
196
220
  </div>
197
221
 
198
- <div id="method-M000004" class="method-detail">
199
- <a name="M000004"></a>
222
+ <div id="method-M000007" class="method-detail">
223
+ <a name="M000007"></a>
200
224
 
201
225
  <div class="method-heading">
202
- <a href="#M000004" class="method-signature">
226
+ <a href="#M000007" class="method-signature">
203
227
  <span class="method-name">render</span><span class="method-args">()</span>
204
228
  </a>
205
229
  </div>
@@ -210,8 +234,8 @@ Rendering
210
234
  </p>
211
235
  <hr size="10"></hr>
212
236
  <p><a class="source-toggle" href="#"
213
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
214
- <div class="method-source-code" id="M000004-source">
237
+ onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
238
+ <div class="method-source-code" id="M000007-source">
215
239
  <pre>
216
240
  <span class="ruby-comment cmt"># File lib/wee/skeleton/simple/components/main.rb, line 12</span>
217
241
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>
@@ -223,11 +247,11 @@ Rendering
223
247
  </div>
224
248
  </div>
225
249
 
226
- <div id="method-M000007" class="method-detail">
227
- <a name="M000007"></a>
250
+ <div id="method-M000005" class="method-detail">
251
+ <a name="M000005"></a>
228
252
 
229
253
  <div class="method-heading">
230
- <a href="#M000007" class="method-signature">
254
+ <a href="#M000005" class="method-signature">
231
255
  <span class="method-name">render</span><span class="method-args">()</span>
232
256
  </a>
233
257
  </div>
@@ -238,10 +262,10 @@ Rendering
238
262
  </p>
239
263
  <hr size="10"></hr>
240
264
  <p><a class="source-toggle" href="#"
241
- onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
242
- <div class="method-source-code" id="M000007-source">
265
+ onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
266
+ <div class="method-source-code" id="M000005-source">
243
267
  <pre>
244
- <span class="ruby-comment cmt"># File lib/wee/skeleton/og/components/main.rb, line 12</span>
268
+ <span class="ruby-comment cmt"># File lib/wee/skeleton/og/components/main.rb, line 16</span>
245
269
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>
246
270
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">render</span> <span class="ruby-ivar">@scaffolder</span>
247
271
  <span class="ruby-keyword kw">end</span>
@@ -88,8 +88,8 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000078">restore_snapshot</a>&nbsp;&nbsp;
92
- <a href="#M000077">take_snapshot</a>&nbsp;&nbsp;
91
+ <a href="#M000077">restore_snapshot</a>&nbsp;&nbsp;
92
+ <a href="#M000076">take_snapshot</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -111,19 +111,19 @@
111
111
  <div id="methods">
112
112
  <h3 class="section-bar">Public Instance methods</h3>
113
113
 
114
- <div id="method-M000078" class="method-detail">
115
- <a name="M000078"></a>
114
+ <div id="method-M000077" class="method-detail">
115
+ <a name="M000077"></a>
116
116
 
117
117
  <div class="method-heading">
118
- <a href="#M000078" class="method-signature">
118
+ <a href="#M000077" class="method-signature">
119
119
  <span class="method-name">restore_snapshot</span><span class="method-args">(snap)</span>
120
120
  </a>
121
121
  </div>
122
122
 
123
123
  <div class="method-description">
124
124
  <p><a class="source-toggle" href="#"
125
- onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
126
- <div class="method-source-code" id="M000078-source">
125
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
126
+ <div class="method-source-code" id="M000077-source">
127
127
  <pre>
128
128
  <span class="ruby-comment cmt"># File lib/wee/snapshot_ext.rb, line 10</span>
129
129
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore_snapshot</span>(<span class="ruby-identifier">snap</span>)
@@ -136,19 +136,19 @@
136
136
  </div>
137
137
  </div>
138
138
 
139
- <div id="method-M000077" class="method-detail">
140
- <a name="M000077"></a>
139
+ <div id="method-M000076" class="method-detail">
140
+ <a name="M000076"></a>
141
141
 
142
142
  <div class="method-heading">
143
- <a href="#M000077" class="method-signature">
143
+ <a href="#M000076" class="method-signature">
144
144
  <span class="method-name">take_snapshot</span><span class="method-args">()</span>
145
145
  </a>
146
146
  </div>
147
147
 
148
148
  <div class="method-description">
149
149
  <p><a class="source-toggle" href="#"
150
- onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
151
- <div class="method-source-code" id="M000077-source">
150
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000076-source">
152
152
  <pre>
153
153
  <span class="ruby-comment cmt"># File lib/wee/snapshot_ext.rb, line 2</span>
154
154
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">take_snapshot</span>
@@ -99,31 +99,31 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
99
99
  <h3 class="section-bar">Methods</h3>
100
100
 
101
101
  <div class="name-list">
102
- <a href="#M000055">add</a>&nbsp;&nbsp;
103
- <a href="#M000041">cancel</a>&nbsp;&nbsp;
104
- <a href="#M000038">confirm_delete</a>&nbsp;&nbsp;
105
- <a href="#M000057">confirm_destroy</a>&nbsp;&nbsp;
106
- <a href="#M000043">create</a>&nbsp;&nbsp;
107
- <a href="#M000037">delete</a>&nbsp;&nbsp;
108
- <a href="#M000056">destroy</a>&nbsp;&nbsp;
109
- <a href="#M000058">domain_objects</a>&nbsp;&nbsp;
110
- <a href="#M000039">edit</a>&nbsp;&nbsp;
111
- <a href="#M000054">edit</a>&nbsp;&nbsp;
112
- <a href="#M000059">editor_class</a>&nbsp;&nbsp;
113
- <a href="#M000060">editor_for</a>&nbsp;&nbsp;
114
- <a href="#M000045">new</a>&nbsp;&nbsp;
115
- <a href="#M000036">new</a>&nbsp;&nbsp;
116
- <a href="#M000042">refresh</a>&nbsp;&nbsp;
117
- <a href="#M000046">render</a>&nbsp;&nbsp;
118
- <a href="#M000044">render</a>&nbsp;&nbsp;
119
- <a href="#M000052">render_action</a>&nbsp;&nbsp;
120
- <a href="#M000048">render_action_header</a>&nbsp;&nbsp;
121
- <a href="#M000050">render_body</a>&nbsp;&nbsp;
122
- <a href="#M000047">render_header</a>&nbsp;&nbsp;
123
- <a href="#M000051">render_object</a>&nbsp;&nbsp;
124
- <a href="#M000053">render_property</a>&nbsp;&nbsp;
125
- <a href="#M000049">render_property_header</a>&nbsp;&nbsp;
126
- <a href="#M000040">save</a>&nbsp;&nbsp;
102
+ <a href="#M000054">add</a>&nbsp;&nbsp;
103
+ <a href="#M000040">cancel</a>&nbsp;&nbsp;
104
+ <a href="#M000037">confirm_delete</a>&nbsp;&nbsp;
105
+ <a href="#M000056">confirm_destroy</a>&nbsp;&nbsp;
106
+ <a href="#M000042">create</a>&nbsp;&nbsp;
107
+ <a href="#M000036">delete</a>&nbsp;&nbsp;
108
+ <a href="#M000055">destroy</a>&nbsp;&nbsp;
109
+ <a href="#M000057">domain_objects</a>&nbsp;&nbsp;
110
+ <a href="#M000038">edit</a>&nbsp;&nbsp;
111
+ <a href="#M000053">edit</a>&nbsp;&nbsp;
112
+ <a href="#M000058">editor_class</a>&nbsp;&nbsp;
113
+ <a href="#M000059">editor_for</a>&nbsp;&nbsp;
114
+ <a href="#M000044">new</a>&nbsp;&nbsp;
115
+ <a href="#M000035">new</a>&nbsp;&nbsp;
116
+ <a href="#M000041">refresh</a>&nbsp;&nbsp;
117
+ <a href="#M000045">render</a>&nbsp;&nbsp;
118
+ <a href="#M000043">render</a>&nbsp;&nbsp;
119
+ <a href="#M000051">render_action</a>&nbsp;&nbsp;
120
+ <a href="#M000047">render_action_header</a>&nbsp;&nbsp;
121
+ <a href="#M000049">render_body</a>&nbsp;&nbsp;
122
+ <a href="#M000046">render_header</a>&nbsp;&nbsp;
123
+ <a href="#M000050">render_object</a>&nbsp;&nbsp;
124
+ <a href="#M000052">render_property</a>&nbsp;&nbsp;
125
+ <a href="#M000048">render_property_header</a>&nbsp;&nbsp;
126
+ <a href="#M000039">save</a>&nbsp;&nbsp;
127
127
  </div>
128
128
  </div>
129
129
 
@@ -151,25 +151,24 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
151
151
  <div id="methods">
152
152
  <h3 class="section-bar">Public Class methods</h3>
153
153
 
154
- <div id="method-M000045" class="method-detail">
155
- <a name="M000045"></a>
154
+ <div id="method-M000044" class="method-detail">
155
+ <a name="M000044"></a>
156
156
 
157
157
  <div class="method-heading">
158
- <a href="#M000045" class="method-signature">
158
+ <a href="#M000044" class="method-signature">
159
159
  <span class="method-name">new</span><span class="method-args">(domain_class)</span>
160
160
  </a>
161
161
  </div>
162
162
 
163
163
  <div class="method-description">
164
164
  <p><a class="source-toggle" href="#"
165
- onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
166
- <div class="method-source-code" id="M000045-source">
165
+ onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
166
+ <div class="method-source-code" id="M000044-source">
167
167
  <pre>
168
168
  <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 5</span>
169
169
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">domain_class</span>)
170
170
  <span class="ruby-keyword kw">super</span>()
171
171
  <span class="ruby-ivar">@domain_class</span> = <span class="ruby-identifier">domain_class</span>
172
- <span class="ruby-comment cmt"># DON'T use @properties here as it is already used by Wee</span>
173
172
  <span class="ruby-ivar">@props</span> = <span class="ruby-ivar">@domain_class</span>.<span class="ruby-identifier">__props</span>.<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'oid'</span>}
174
173
  <span class="ruby-keyword kw">end</span>
175
174
  </pre>
@@ -177,19 +176,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
177
176
  </div>
178
177
  </div>
179
178
 
180
- <div id="method-M000036" class="method-detail">
181
- <a name="M000036"></a>
179
+ <div id="method-M000035" class="method-detail">
180
+ <a name="M000035"></a>
182
181
 
183
182
  <div class="method-heading">
184
- <a href="#M000036" class="method-signature">
183
+ <a href="#M000035" class="method-signature">
185
184
  <span class="method-name">new</span><span class="method-args">(domain_class)</span>
186
185
  </a>
187
186
  </div>
188
187
 
189
188
  <div class="method-description">
190
189
  <p><a class="source-toggle" href="#"
191
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
192
- <div class="method-source-code" id="M000036-source">
190
+ onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
191
+ <div class="method-source-code" id="M000035-source">
193
192
  <pre>
194
193
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 3</span>
195
194
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">domain_class</span>)
@@ -204,21 +203,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
204
203
 
205
204
  <h3 class="section-bar">Public Instance methods</h3>
206
205
 
207
- <div id="method-M000055" class="method-detail">
208
- <a name="M000055"></a>
206
+ <div id="method-M000054" class="method-detail">
207
+ <a name="M000054"></a>
209
208
 
210
209
  <div class="method-heading">
211
- <a href="#M000055" class="method-signature">
210
+ <a href="#M000054" class="method-signature">
212
211
  <span class="method-name">add</span><span class="method-args">()</span>
213
212
  </a>
214
213
  </div>
215
214
 
216
215
  <div class="method-description">
217
216
  <p><a class="source-toggle" href="#"
218
- onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
219
- <div class="method-source-code" id="M000055-source">
217
+ onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
218
+ <div class="method-source-code" id="M000054-source">
220
219
  <pre>
221
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 70</span>
220
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 69</span>
222
221
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>
223
222
  <span class="ruby-identifier">call</span> <span class="ruby-identifier">editor_for</span>(<span class="ruby-ivar">@domain_class</span>.<span class="ruby-identifier">new</span>)
224
223
  <span class="ruby-keyword kw">end</span>
@@ -227,19 +226,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
227
226
  </div>
228
227
  </div>
229
228
 
230
- <div id="method-M000041" class="method-detail">
231
- <a name="M000041"></a>
229
+ <div id="method-M000040" class="method-detail">
230
+ <a name="M000040"></a>
232
231
 
233
232
  <div class="method-heading">
234
- <a href="#M000041" class="method-signature">
233
+ <a href="#M000040" class="method-signature">
235
234
  <span class="method-name">cancel</span><span class="method-args">()</span>
236
235
  </a>
237
236
  </div>
238
237
 
239
238
  <div class="method-description">
240
239
  <p><a class="source-toggle" href="#"
241
- onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
242
- <div class="method-source-code" id="M000041-source">
240
+ onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
241
+ <div class="method-source-code" id="M000040-source">
243
242
  <pre>
244
243
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 29</span>
245
244
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancel</span>
@@ -251,19 +250,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
251
250
  </div>
252
251
  </div>
253
252
 
254
- <div id="method-M000038" class="method-detail">
255
- <a name="M000038"></a>
253
+ <div id="method-M000037" class="method-detail">
254
+ <a name="M000037"></a>
256
255
 
257
256
  <div class="method-heading">
258
- <a href="#M000038" class="method-signature">
257
+ <a href="#M000037" class="method-signature">
259
258
  <span class="method-name">confirm_delete</span><span class="method-args">(confirmed, obj)</span>
260
259
  </a>
261
260
  </div>
262
261
 
263
262
  <div class="method-description">
264
263
  <p><a class="source-toggle" href="#"
265
- onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
266
- <div class="method-source-code" id="M000038-source">
264
+ onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
265
+ <div class="method-source-code" id="M000037-source">
267
266
  <pre>
268
267
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 13</span>
269
268
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">confirm_delete</span>(<span class="ruby-identifier">confirmed</span>, <span class="ruby-identifier">obj</span>)
@@ -277,21 +276,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
277
276
  </div>
278
277
  </div>
279
278
 
280
- <div id="method-M000057" class="method-detail">
281
- <a name="M000057"></a>
279
+ <div id="method-M000056" class="method-detail">
280
+ <a name="M000056"></a>
282
281
 
283
282
  <div class="method-heading">
284
- <a href="#M000057" class="method-signature">
283
+ <a href="#M000056" class="method-signature">
285
284
  <span class="method-name">confirm_destroy</span><span class="method-args">(obj, confirmed)</span>
286
285
  </a>
287
286
  </div>
288
287
 
289
288
  <div class="method-description">
290
289
  <p><a class="source-toggle" href="#"
291
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
292
- <div class="method-source-code" id="M000057-source">
290
+ onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
291
+ <div class="method-source-code" id="M000056-source">
293
292
  <pre>
294
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 79</span>
293
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 78</span>
295
294
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">confirm_destroy</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-identifier">confirmed</span>)
296
295
  <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">delete!</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">confirmed</span>
297
296
  <span class="ruby-keyword kw">end</span>
@@ -300,19 +299,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
300
299
  </div>
301
300
  </div>
302
301
 
303
- <div id="method-M000043" class="method-detail">
304
- <a name="M000043"></a>
302
+ <div id="method-M000042" class="method-detail">
303
+ <a name="M000042"></a>
305
304
 
306
305
  <div class="method-heading">
307
- <a href="#M000043" class="method-signature">
306
+ <a href="#M000042" class="method-signature">
308
307
  <span class="method-name">create</span><span class="method-args">()</span>
309
308
  </a>
310
309
  </div>
311
310
 
312
311
  <div class="method-description">
313
312
  <p><a class="source-toggle" href="#"
314
- onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
315
- <div class="method-source-code" id="M000043-source">
313
+ onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
314
+ <div class="method-source-code" id="M000042-source">
316
315
  <pre>
317
316
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 38</span>
318
317
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span>
@@ -323,19 +322,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
323
322
  </div>
324
323
  </div>
325
324
 
326
- <div id="method-M000037" class="method-detail">
327
- <a name="M000037"></a>
325
+ <div id="method-M000036" class="method-detail">
326
+ <a name="M000036"></a>
328
327
 
329
328
  <div class="method-heading">
330
- <a href="#M000037" class="method-signature">
329
+ <a href="#M000036" class="method-signature">
331
330
  <span class="method-name">delete</span><span class="method-args">(obj)</span>
332
331
  </a>
333
332
  </div>
334
333
 
335
334
  <div class="method-description">
336
335
  <p><a class="source-toggle" href="#"
337
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
338
- <div class="method-source-code" id="M000037-source">
336
+ onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
337
+ <div class="method-source-code" id="M000036-source">
339
338
  <pre>
340
339
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 9</span>
341
340
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">obj</span>)
@@ -346,21 +345,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
346
345
  </div>
347
346
  </div>
348
347
 
349
- <div id="method-M000056" class="method-detail">
350
- <a name="M000056"></a>
348
+ <div id="method-M000055" class="method-detail">
349
+ <a name="M000055"></a>
351
350
 
352
351
  <div class="method-heading">
353
- <a href="#M000056" class="method-signature">
352
+ <a href="#M000055" class="method-signature">
354
353
  <span class="method-name">destroy</span><span class="method-args">(obj)</span>
355
354
  </a>
356
355
  </div>
357
356
 
358
357
  <div class="method-description">
359
358
  <p><a class="source-toggle" href="#"
360
- onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
361
- <div class="method-source-code" id="M000056-source">
359
+ onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
360
+ <div class="method-source-code" id="M000055-source">
362
361
  <pre>
363
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 74</span>
362
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 73</span>
364
363
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">destroy</span>(<span class="ruby-identifier">obj</span>)
365
364
  <span class="ruby-identifier">call</span> <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'Do you really want to destroy the object?'</span>),
366
365
  <span class="ruby-identifier">:confirm_destroy</span>, <span class="ruby-identifier">obj</span>
@@ -370,21 +369,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
370
369
  </div>
371
370
  </div>
372
371
 
373
- <div id="method-M000058" class="method-detail">
374
- <a name="M000058"></a>
372
+ <div id="method-M000057" class="method-detail">
373
+ <a name="M000057"></a>
375
374
 
376
375
  <div class="method-heading">
377
- <a href="#M000058" class="method-signature">
376
+ <a href="#M000057" class="method-signature">
378
377
  <span class="method-name">domain_objects</span><span class="method-args">()</span>
379
378
  </a>
380
379
  </div>
381
380
 
382
381
  <div class="method-description">
383
382
  <p><a class="source-toggle" href="#"
384
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
385
- <div class="method-source-code" id="M000058-source">
383
+ onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
384
+ <div class="method-source-code" id="M000057-source">
386
385
  <pre>
387
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 83</span>
386
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 82</span>
388
387
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">domain_objects</span>
389
388
  <span class="ruby-ivar">@domain_class</span>.<span class="ruby-identifier">all</span> <span class="ruby-operator">||</span> []
390
389
  <span class="ruby-keyword kw">end</span>
@@ -393,19 +392,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
393
392
  </div>
394
393
  </div>
395
394
 
396
- <div id="method-M000039" class="method-detail">
397
- <a name="M000039"></a>
395
+ <div id="method-M000038" class="method-detail">
396
+ <a name="M000038"></a>
398
397
 
399
398
  <div class="method-heading">
400
- <a href="#M000039" class="method-signature">
399
+ <a href="#M000038" class="method-signature">
401
400
  <span class="method-name">edit</span><span class="method-args">(obj)</span>
402
401
  </a>
403
402
  </div>
404
403
 
405
404
  <div class="method-description">
406
405
  <p><a class="source-toggle" href="#"
407
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
408
- <div class="method-source-code" id="M000039-source">
406
+ onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
407
+ <div class="method-source-code" id="M000038-source">
409
408
  <pre>
410
409
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 20</span>
411
410
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">edit</span>(<span class="ruby-identifier">obj</span>)
@@ -416,21 +415,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
416
415
  </div>
417
416
  </div>
418
417
 
419
- <div id="method-M000054" class="method-detail">
420
- <a name="M000054"></a>
418
+ <div id="method-M000053" class="method-detail">
419
+ <a name="M000053"></a>
421
420
 
422
421
  <div class="method-heading">
423
- <a href="#M000054" class="method-signature">
422
+ <a href="#M000053" class="method-signature">
424
423
  <span class="method-name">edit</span><span class="method-args">(obj)</span>
425
424
  </a>
426
425
  </div>
427
426
 
428
427
  <div class="method-description">
429
428
  <p><a class="source-toggle" href="#"
430
- onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
431
- <div class="method-source-code" id="M000054-source">
429
+ onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
430
+ <div class="method-source-code" id="M000053-source">
432
431
  <pre>
433
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 66</span>
432
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 65</span>
434
433
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">edit</span>(<span class="ruby-identifier">obj</span>)
435
434
  <span class="ruby-identifier">call</span> <span class="ruby-identifier">editor_for</span>(<span class="ruby-identifier">obj</span>)
436
435
  <span class="ruby-keyword kw">end</span>
@@ -439,21 +438,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
439
438
  </div>
440
439
  </div>
441
440
 
442
- <div id="method-M000059" class="method-detail">
443
- <a name="M000059"></a>
441
+ <div id="method-M000058" class="method-detail">
442
+ <a name="M000058"></a>
444
443
 
445
444
  <div class="method-heading">
446
- <a href="#M000059" class="method-signature">
445
+ <a href="#M000058" class="method-signature">
447
446
  <span class="method-name">editor_class</span><span class="method-args">()</span>
448
447
  </a>
449
448
  </div>
450
449
 
451
450
  <div class="method-description">
452
451
  <p><a class="source-toggle" href="#"
453
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
454
- <div class="method-source-code" id="M000059-source">
452
+ onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
453
+ <div class="method-source-code" id="M000058-source">
455
454
  <pre>
456
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 87</span>
455
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 86</span>
457
456
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">editor_class</span>
458
457
  <span class="ruby-constant">Editor</span>
459
458
  <span class="ruby-keyword kw">end</span>
@@ -462,21 +461,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
462
461
  </div>
463
462
  </div>
464
463
 
465
- <div id="method-M000060" class="method-detail">
466
- <a name="M000060"></a>
464
+ <div id="method-M000059" class="method-detail">
465
+ <a name="M000059"></a>
467
466
 
468
467
  <div class="method-heading">
469
- <a href="#M000060" class="method-signature">
468
+ <a href="#M000059" class="method-signature">
470
469
  <span class="method-name">editor_for</span><span class="method-args">(obj)</span>
471
470
  </a>
472
471
  </div>
473
472
 
474
473
  <div class="method-description">
475
474
  <p><a class="source-toggle" href="#"
476
- onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
477
- <div class="method-source-code" id="M000060-source">
475
+ onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
476
+ <div class="method-source-code" id="M000059-source">
478
477
  <pre>
479
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 91</span>
478
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 90</span>
480
479
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">editor_for</span>(<span class="ruby-identifier">obj</span>)
481
480
  <span class="ruby-identifier">editor_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">add_decoration</span>(<span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">FormDecoration</span>.<span class="ruby-identifier">new</span>)
482
481
  <span class="ruby-keyword kw">end</span>
@@ -485,19 +484,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
485
484
  </div>
486
485
  </div>
487
486
 
488
- <div id="method-M000042" class="method-detail">
489
- <a name="M000042"></a>
487
+ <div id="method-M000041" class="method-detail">
488
+ <a name="M000041"></a>
490
489
 
491
490
  <div class="method-heading">
492
- <a href="#M000042" class="method-signature">
491
+ <a href="#M000041" class="method-signature">
493
492
  <span class="method-name">refresh</span><span class="method-args">()</span>
494
493
  </a>
495
494
  </div>
496
495
 
497
496
  <div class="method-description">
498
497
  <p><a class="source-toggle" href="#"
499
- onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
500
- <div class="method-source-code" id="M000042-source">
498
+ onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
499
+ <div class="method-source-code" id="M000041-source">
501
500
  <pre>
502
501
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 34</span>
503
502
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">refresh</span>
@@ -508,21 +507,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
508
507
  </div>
509
508
  </div>
510
509
 
511
- <div id="method-M000046" class="method-detail">
512
- <a name="M000046"></a>
510
+ <div id="method-M000045" class="method-detail">
511
+ <a name="M000045"></a>
513
512
 
514
513
  <div class="method-heading">
515
- <a href="#M000046" class="method-signature">
514
+ <a href="#M000045" class="method-signature">
516
515
  <span class="method-name">render</span><span class="method-args">()</span>
517
516
  </a>
518
517
  </div>
519
518
 
520
519
  <div class="method-description">
521
520
  <p><a class="source-toggle" href="#"
522
- onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
523
- <div class="method-source-code" id="M000046-source">
521
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
522
+ <div class="method-source-code" id="M000045-source">
524
523
  <pre>
525
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 12</span>
524
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 11</span>
526
525
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>
527
526
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">h1</span> <span class="ruby-node">&quot;List #{ @domain_class }&quot;</span>
528
527
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">paragraph</span>
@@ -538,19 +537,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
538
537
  </div>
539
538
  </div>
540
539
 
541
- <div id="method-M000044" class="method-detail">
542
- <a name="M000044"></a>
540
+ <div id="method-M000043" class="method-detail">
541
+ <a name="M000043"></a>
543
542
 
544
543
  <div class="method-heading">
545
- <a href="#M000044" class="method-signature">
544
+ <a href="#M000043" class="method-signature">
546
545
  <span class="method-name">render</span><span class="method-args">()</span>
547
546
  </a>
548
547
  </div>
549
548
 
550
549
  <div class="method-description">
551
550
  <p><a class="source-toggle" href="#"
552
- onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
553
- <div class="method-source-code" id="M000044-source">
551
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
552
+ <div class="method-source-code" id="M000043-source">
554
553
  <pre>
555
554
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 42</span>
556
555
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>
@@ -613,21 +612,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
613
612
  </div>
614
613
  </div>
615
614
 
616
- <div id="method-M000052" class="method-detail">
617
- <a name="M000052"></a>
615
+ <div id="method-M000051" class="method-detail">
616
+ <a name="M000051"></a>
618
617
 
619
618
  <div class="method-heading">
620
- <a href="#M000052" class="method-signature">
619
+ <a href="#M000051" class="method-signature">
621
620
  <span class="method-name">render_action</span><span class="method-args">(obj)</span>
622
621
  </a>
623
622
  </div>
624
623
 
625
624
  <div class="method-description">
626
625
  <p><a class="source-toggle" href="#"
627
- onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
628
- <div class="method-source-code" id="M000052-source">
626
+ onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
627
+ <div class="method-source-code" id="M000051-source">
629
628
  <pre>
630
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 54</span>
629
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 53</span>
631
630
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_action</span>(<span class="ruby-identifier">obj</span>)
632
631
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_data</span>.<span class="ruby-identifier">with</span> {
633
632
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">anchor</span>.<span class="ruby-identifier">callback</span>(<span class="ruby-identifier">:edit</span>, <span class="ruby-identifier">obj</span>).<span class="ruby-identifier">with</span>(<span class="ruby-value str">&quot;Edit&quot;</span>)
@@ -640,21 +639,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
640
639
  </div>
641
640
  </div>
642
641
 
643
- <div id="method-M000048" class="method-detail">
644
- <a name="M000048"></a>
642
+ <div id="method-M000047" class="method-detail">
643
+ <a name="M000047"></a>
645
644
 
646
645
  <div class="method-heading">
647
- <a href="#M000048" class="method-signature">
646
+ <a href="#M000047" class="method-signature">
648
647
  <span class="method-name">render_action_header</span><span class="method-args">()</span>
649
648
  </a>
650
649
  </div>
651
650
 
652
651
  <div class="method-description">
653
652
  <p><a class="source-toggle" href="#"
654
- onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
655
- <div class="method-source-code" id="M000048-source">
653
+ onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
654
+ <div class="method-source-code" id="M000047-source">
656
655
  <pre>
657
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 32</span>
656
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 31</span>
658
657
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_action_header</span>
659
658
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">paragraph</span>
660
659
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_header</span>.<span class="ruby-identifier">with</span> { <span class="ruby-identifier">r</span>.<span class="ruby-identifier">space</span>(<span class="ruby-value">2</span>) } <span class="ruby-comment cmt"># the action column</span>
@@ -664,21 +663,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
664
663
  </div>
665
664
  </div>
666
665
 
667
- <div id="method-M000050" class="method-detail">
668
- <a name="M000050"></a>
666
+ <div id="method-M000049" class="method-detail">
667
+ <a name="M000049"></a>
669
668
 
670
669
  <div class="method-heading">
671
- <a href="#M000050" class="method-signature">
670
+ <a href="#M000049" class="method-signature">
672
671
  <span class="method-name">render_body</span><span class="method-args">()</span>
673
672
  </a>
674
673
  </div>
675
674
 
676
675
  <div class="method-description">
677
676
  <p><a class="source-toggle" href="#"
678
- onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
679
- <div class="method-source-code" id="M000050-source">
677
+ onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
678
+ <div class="method-source-code" id="M000049-source">
680
679
  <pre>
681
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 43</span>
680
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 42</span>
682
681
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_body</span>
683
682
  <span class="ruby-identifier">domain_objects</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">obj</span><span class="ruby-operator">|</span> <span class="ruby-identifier">render_object</span>(<span class="ruby-identifier">obj</span>) }
684
683
  <span class="ruby-keyword kw">end</span>
@@ -687,21 +686,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
687
686
  </div>
688
687
  </div>
689
688
 
690
- <div id="method-M000047" class="method-detail">
691
- <a name="M000047"></a>
689
+ <div id="method-M000046" class="method-detail">
690
+ <a name="M000046"></a>
692
691
 
693
692
  <div class="method-heading">
694
- <a href="#M000047" class="method-signature">
693
+ <a href="#M000046" class="method-signature">
695
694
  <span class="method-name">render_header</span><span class="method-args">()</span>
696
695
  </a>
697
696
  </div>
698
697
 
699
698
  <div class="method-description">
700
699
  <p><a class="source-toggle" href="#"
701
- onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
702
- <div class="method-source-code" id="M000047-source">
700
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
701
+ <div class="method-source-code" id="M000046-source">
703
702
  <pre>
704
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 23</span>
703
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 22</span>
705
704
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_header</span>
706
705
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_row</span>.<span class="ruby-identifier">with</span> {
707
706
  <span class="ruby-ivar">@props</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">prop</span><span class="ruby-operator">|</span>
@@ -715,21 +714,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
715
714
  </div>
716
715
  </div>
717
716
 
718
- <div id="method-M000051" class="method-detail">
719
- <a name="M000051"></a>
717
+ <div id="method-M000050" class="method-detail">
718
+ <a name="M000050"></a>
720
719
 
721
720
  <div class="method-heading">
722
- <a href="#M000051" class="method-signature">
721
+ <a href="#M000050" class="method-signature">
723
722
  <span class="method-name">render_object</span><span class="method-args">(obj)</span>
724
723
  </a>
725
724
  </div>
726
725
 
727
726
  <div class="method-description">
728
727
  <p><a class="source-toggle" href="#"
729
- onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
730
- <div class="method-source-code" id="M000051-source">
728
+ onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
729
+ <div class="method-source-code" id="M000050-source">
731
730
  <pre>
732
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 47</span>
731
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 46</span>
733
732
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_object</span>(<span class="ruby-identifier">obj</span>)
734
733
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_row</span> {
735
734
  <span class="ruby-ivar">@props</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">prop</span><span class="ruby-operator">|</span> <span class="ruby-identifier">render_property</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-identifier">prop</span>) }
@@ -741,21 +740,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
741
740
  </div>
742
741
  </div>
743
742
 
744
- <div id="method-M000053" class="method-detail">
745
- <a name="M000053"></a>
743
+ <div id="method-M000052" class="method-detail">
744
+ <a name="M000052"></a>
746
745
 
747
746
  <div class="method-heading">
748
- <a href="#M000053" class="method-signature">
747
+ <a href="#M000052" class="method-signature">
749
748
  <span class="method-name">render_property</span><span class="method-args">(obj, prop)</span>
750
749
  </a>
751
750
  </div>
752
751
 
753
752
  <div class="method-description">
754
753
  <p><a class="source-toggle" href="#"
755
- onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
756
- <div class="method-source-code" id="M000053-source">
754
+ onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
755
+ <div class="method-source-code" id="M000052-source">
757
756
  <pre>
758
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 62</span>
757
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 61</span>
759
758
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_property</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-identifier">prop</span>)
760
759
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_data</span>(<span class="ruby-identifier">obj</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">name</span>).<span class="ruby-identifier">to_s</span>)
761
760
  <span class="ruby-keyword kw">end</span>
@@ -764,21 +763,21 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
764
763
  </div>
765
764
  </div>
766
765
 
767
- <div id="method-M000049" class="method-detail">
768
- <a name="M000049"></a>
766
+ <div id="method-M000048" class="method-detail">
767
+ <a name="M000048"></a>
769
768
 
770
769
  <div class="method-heading">
771
- <a href="#M000049" class="method-signature">
770
+ <a href="#M000048" class="method-signature">
772
771
  <span class="method-name">render_property_header</span><span class="method-args">(prop)</span>
773
772
  </a>
774
773
  </div>
775
774
 
776
775
  <div class="method-description">
777
776
  <p><a class="source-toggle" href="#"
778
- onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
779
- <div class="method-source-code" id="M000049-source">
777
+ onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
778
+ <div class="method-source-code" id="M000048-source">
780
779
  <pre>
781
- <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 37</span>
780
+ <span class="ruby-comment cmt"># File lib/wee/databases/og/scaffolder.rb, line 36</span>
782
781
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_property_header</span>(<span class="ruby-identifier">prop</span>)
783
782
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">table_header</span>.<span class="ruby-identifier">with</span> {
784
783
  <span class="ruby-identifier">r</span>.<span class="ruby-identifier">bold</span>(<span class="ruby-identifier">prop</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">capitalize</span>)
@@ -789,19 +788,19 @@ href="http://navel.gr/nitro">navel.gr/nitro</a>) domain objects.
789
788
  </div>
790
789
  </div>
791
790
 
792
- <div id="method-M000040" class="method-detail">
793
- <a name="M000040"></a>
791
+ <div id="method-M000039" class="method-detail">
792
+ <a name="M000039"></a>
794
793
 
795
794
  <div class="method-heading">
796
- <a href="#M000040" class="method-signature">
795
+ <a href="#M000039" class="method-signature">
797
796
  <span class="method-name">save</span><span class="method-args">(obj)</span>
798
797
  </a>
799
798
  </div>
800
799
 
801
800
  <div class="method-description">
802
801
  <p><a class="source-toggle" href="#"
803
- onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
804
- <div class="method-source-code" id="M000040-source">
802
+ onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
803
+ <div class="method-source-code" id="M000039-source">
805
804
  <pre>
806
805
  <span class="ruby-comment cmt"># File lib/wee/databases/og/old_scaffolder.rb, line 24</span>
807
806
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">obj</span>)