wee 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/TODO +31 -0
  2. data/benchmark.rb +37 -0
  3. data/demo.ru +11 -0
  4. data/doc/rdoc/classes/Array.html +22 -26
  5. data/doc/rdoc/classes/Hash.html +22 -26
  6. data/doc/rdoc/classes/Object.html +21 -26
  7. data/doc/rdoc/classes/String.html +19 -87
  8. data/doc/rdoc/classes/Struct.html +22 -26
  9. data/doc/rdoc/classes/Wee.html +75 -206
  10. data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
  11. data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
  12. data/doc/rdoc/classes/Wee/Application.html +63 -114
  13. data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
  14. data/doc/rdoc/classes/Wee/Brush.html +52 -101
  15. data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
  16. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
  17. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
  18. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
  19. data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
  20. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
  21. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
  22. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
  23. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
  24. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
  25. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
  26. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
  27. data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
  28. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
  29. data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
  30. data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
  31. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
  32. data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
  33. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
  34. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
  35. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
  36. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
  37. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
  38. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
  39. data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
  40. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
  41. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
  42. data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
  43. data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
  44. data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
  45. data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
  46. data/doc/rdoc/classes/Wee/Component.html +142 -292
  47. data/doc/rdoc/classes/Wee/Decoration.html +85 -141
  48. data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
  49. data/doc/rdoc/classes/Wee/Delegate.html +72 -115
  50. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
  51. data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
  52. data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
  53. data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
  54. data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
  55. data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
  56. data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
  57. data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
  58. data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
  59. data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
  60. data/doc/rdoc/classes/Wee/JQuery.html +36 -64
  61. data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
  62. data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
  63. data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
  65. data/doc/rdoc/classes/Wee/Presenter.html +86 -143
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
  68. data/doc/rdoc/classes/Wee/Renderer.html +56 -125
  69. data/doc/rdoc/classes/Wee/Request.html +57 -115
  70. data/doc/rdoc/classes/Wee/Response.html +24 -26
  71. data/doc/rdoc/classes/Wee/Session.html +137 -292
  72. data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
  73. data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
  74. data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
  75. data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
  76. data/doc/rdoc/classes/Wee/State.html +57 -105
  77. data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
  78. data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
  79. data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
  80. data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
  81. data/doc/rdoc/created.rid +1 -1
  82. data/doc/rdoc/files/README_rdoc.html +26 -17
  83. data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
  84. data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
  85. data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
  86. data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
  87. data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
  88. data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
  89. data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
  90. data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
  91. data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
  92. data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
  93. data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
  94. data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
  95. data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
  96. data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
  97. data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
  98. data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
  99. data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
  100. data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
  101. data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
  102. data/doc/rdoc/files/lib/wee_rb.html +37 -47
  103. data/doc/rdoc/fr_class_index.html +12 -86
  104. data/doc/rdoc/fr_file_index.html +12 -30
  105. data/doc/rdoc/fr_method_index.html +242 -473
  106. data/doc/rdoc/index.html +8 -5
  107. data/doc/rdoc/rdoc-style.css +119 -210
  108. data/examples/ObjectSpaceBrowser.rb +4 -4
  109. data/examples/TODO +21 -0
  110. data/examples/ajax.rb +6 -4
  111. data/examples/blog.rb +42 -0
  112. data/examples/demo.rb +5 -3
  113. data/examples/demo/calculator.rb +3 -3
  114. data/examples/demo/calendar.rb +4 -4
  115. data/examples/demo/counter.rb +2 -2
  116. data/examples/demo/editable_counter.rb +2 -2
  117. data/examples/demo/example.rb +25 -16
  118. data/examples/demo/window.rb +10 -3
  119. data/examples/hw2.rb +17 -0
  120. data/examples/recipe/description.rb +170 -0
  121. data/examples/recipe/migrations/001_create_recipes.rb +13 -0
  122. data/examples/recipe/model.rb +27 -0
  123. data/examples/recipe/models/recipe.rb +18 -0
  124. data/examples/recipe/recipe_editor.rb +28 -0
  125. data/lib/wee.rb +1 -7
  126. data/lib/wee/component.rb +37 -74
  127. data/lib/wee/decoration.rb +16 -15
  128. data/lib/wee/html_brushes.rb +16 -17
  129. data/lib/wee/presenter.rb +2 -1
  130. data/lib/wee/response.rb +4 -4
  131. data/lib/wee/session.rb +2 -2
  132. data/lib/wee/state.rb +2 -2
  133. data/test/t.rb +67 -0
  134. data/wee.gemspec +1 -1
  135. metadata +157 -167
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: String [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: String</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,83 +55,45 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../files/lib/wee/state_rb.html">
57
-
58
59
  lib/wee/state.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
-
66
- <a href="../files/lib/wee_rb.html">
67
-
68
- lib/wee.rb
69
-
70
- </a>
71
-
72
-
73
- <br />
74
-
75
62
  </td>
76
63
  </tr>
77
64
 
78
-
79
65
  <tr class="top-aligned-row">
80
66
  <td><strong>Parent:</strong></td>
81
67
  <td>
82
-
83
68
  <a href="Object.html">
84
-
85
69
  Object
86
-
87
70
  </a>
88
-
89
71
  </td>
90
72
  </tr>
91
-
92
73
  </table>
93
74
  </div>
94
75
  <!-- banner header -->
95
76
 
96
77
  <div id="bodyContent">
97
78
 
98
- <div id="contextContent">
99
-
100
- <div id="description">
101
- <p>
102
- required by Rack
103
- </p>
104
-
105
- </div>
106
79
 
107
- </div>
108
80
 
81
+ <div id="contextContent">
109
82
 
110
- <div id="method-list">
111
- <h3 class="section-bar">Methods</h3>
112
83
 
113
- <div class="name-list">
114
84
 
115
- <a href="#M000001">each</a>&nbsp;&nbsp;
85
+ </div>
116
86
 
117
- </div>
118
- </div>
119
87
 
120
88
  </div>
121
89
 
122
- <!-- if includes -->
123
90
 
91
+ <!-- if includes -->
124
92
  <div id="includes">
125
93
  <h3 class="section-bar">Included Modules</h3>
126
94
 
127
95
  <div id="includes-list">
128
-
129
96
  <span class="include-name"><a href="Wee/DupReplaceSnapshotMixin.html">Wee::DupReplaceSnapshotMixin</a></span>
130
-
131
97
  </div>
132
98
  </div>
133
99
 
@@ -136,53 +102,19 @@ required by Rack
136
102
 
137
103
 
138
104
 
139
- <!-- if method_list -->
140
-
141
- <div id="methods">
142
-
143
- <h3 class="section-bar">Public Instance methods</h3>
144
-
145
-
146
- <div id="method-M000001" class="method-detail">
147
- <a name="M000001"></a>
148
105
 
149
- <div class="method-heading">
150
-
151
- <a href="#M000001" class="method-signature">
152
-
153
- <span class="method-name">each</span><span class="method-args">() {|self end| ...}</span>
154
-
155
- </a>
156
-
157
- </div>
158
-
159
- <div class="method-description">
160
-
161
- <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000001-source">
164
- <pre>
165
- <span class="ruby-comment cmt"># File lib/wee.rb, line 31</span>
166
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>() <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
167
- <span class="ruby-keyword kw">end</span>
168
- </pre>
169
- </div>
170
-
171
- </div>
172
- </div>
173
-
174
-
175
-
176
- </div>
106
+
177
107
 
178
108
 
109
+ <!-- if method_list -->
179
110
 
180
111
 
181
112
  </div>
182
113
 
114
+
183
115
  <div id="validator-badges">
184
116
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
185
117
  </div>
186
118
 
187
119
  </body>
188
- </html>
120
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Struct [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Struct</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,56 +55,45 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../files/lib/wee/state_rb.html">
57
-
58
59
  lib/wee/state.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  <a href="Object.html">
74
-
75
69
  Object
76
-
77
70
  </a>
78
-
79
71
  </td>
80
72
  </tr>
81
-
82
73
  </table>
83
74
  </div>
84
75
  <!-- banner header -->
85
76
 
86
77
  <div id="bodyContent">
87
78
 
79
+
80
+
88
81
  <div id="contextContent">
89
82
 
83
+
84
+
90
85
  </div>
91
86
 
92
87
 
93
88
  </div>
94
89
 
95
- <!-- if includes -->
96
90
 
91
+ <!-- if includes -->
97
92
  <div id="includes">
98
93
  <h3 class="section-bar">Included Modules</h3>
99
94
 
100
95
  <div id="includes-list">
101
-
102
96
  <span class="include-name"><a href="Wee/StructSnapshotMixin.html">Wee::StructSnapshotMixin</a></span>
103
-
104
97
  </div>
105
98
  </div>
106
99
 
@@ -109,16 +102,19 @@
109
102
 
110
103
 
111
104
 
112
- <!-- if method_list -->
113
105
 
106
+
114
107
 
115
108
 
109
+ <!-- if method_list -->
110
+
116
111
 
117
112
  </div>
118
113
 
114
+
119
115
  <div id="validator-badges">
120
116
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
121
117
  </div>
122
118
 
123
119
  </body>
124
- </html>
120
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Module: Wee [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Module: Wee</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
9
12
  <script type="text/javascript">
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,226 +55,111 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
- <a href="../files/lib/wee/session_rb.html">
57
-
58
- lib/wee/session.rb
59
-
58
+ <a href="../files/lib/wee_rb.html">
59
+ lib/wee.rb
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
-
66
- <a href="../files/lib/wee/request_rb.html">
67
-
68
- lib/wee/request.rb
69
-
62
+ <a href="../files/lib/wee/lru_cache_rb.html">
63
+ lib/wee/lru_cache.rb
70
64
  </a>
71
-
72
-
73
65
  <br />
74
-
75
-
76
- <a href="../files/lib/wee/component_rb.html">
77
-
78
- lib/wee/component.rb
79
-
66
+ <a href="../files/lib/wee/state_rb.html">
67
+ lib/wee/state.rb
80
68
  </a>
81
-
82
-
83
69
  <br />
84
-
85
-
86
- <a href="../files/lib/wee/renderer_rb.html">
87
-
88
- lib/wee/renderer.rb
89
-
70
+ <a href="../files/lib/wee/html_brushes_rb.html">
71
+ lib/wee/html_brushes.rb
90
72
  </a>
91
-
92
-
93
73
  <br />
94
-
95
-
96
- <a href="../files/lib/wee/jquery/jquery_rb.html">
97
-
98
- lib/wee/jquery/jquery.rb
99
-
74
+ <a href="../files/lib/wee/component_rb.html">
75
+ lib/wee/component.rb
100
76
  </a>
101
-
102
-
103
77
  <br />
104
-
105
-
106
- <a href="../files/lib/wee/presenter_rb.html">
107
-
108
- lib/wee/presenter.rb
109
-
78
+ <a href="../files/lib/wee/session_rb.html">
79
+ lib/wee/session.rb
110
80
  </a>
111
-
112
-
113
81
  <br />
114
-
115
-
116
- <a href="../files/lib/wee/call_answer_rb.html">
117
-
118
- lib/wee/call_answer.rb
119
-
82
+ <a href="../files/lib/wee/callback_rb.html">
83
+ lib/wee/callback.rb
120
84
  </a>
121
-
122
-
123
85
  <br />
124
-
125
-
126
- <a href="../files/lib/wee/html_canvas_rb.html">
127
-
128
- lib/wee/html_canvas.rb
129
-
86
+ <a href="../files/lib/wee/html_document_rb.html">
87
+ lib/wee/html_document.rb
130
88
  </a>
131
-
132
-
133
89
  <br />
134
-
135
-
136
90
  <a href="../files/lib/wee/application_rb.html">
137
-
138
91
  lib/wee/application.rb
139
-
140
92
  </a>
141
-
142
-
143
93
  <br />
144
-
145
-
146
- <a href="../files/lib/wee/lru_cache_rb.html">
147
-
148
- lib/wee/lru_cache.rb
149
-
94
+ <a href="../files/lib/wee/decoration_rb.html">
95
+ lib/wee/decoration.rb
150
96
  </a>
151
-
152
-
153
97
  <br />
154
-
155
-
156
- <a href="../files/lib/wee/response_rb.html">
157
-
158
- lib/wee/response.rb
159
-
98
+ <a href="../files/lib/wee/html_writer_rb.html">
99
+ lib/wee/html_writer.rb
160
100
  </a>
161
-
162
-
163
101
  <br />
164
-
165
-
166
- <a href="../files/lib/wee/html_brushes_rb.html">
167
-
168
- lib/wee/html_brushes.rb
169
-
102
+ <a href="../files/lib/wee/id_generator_rb.html">
103
+ lib/wee/id_generator.rb
170
104
  </a>
171
-
172
-
173
105
  <br />
174
-
175
-
176
- <a href="../files/lib/wee/html_writer_rb.html">
177
-
178
- lib/wee/html_writer.rb
179
-
106
+ <a href="../files/lib/wee/call_answer_rb.html">
107
+ lib/wee/call_answer.rb
180
108
  </a>
181
-
182
-
183
109
  <br />
184
-
185
-
186
- <a href="../files/lib/wee/decoration_rb.html">
187
-
188
- lib/wee/decoration.rb
189
-
110
+ <a href="../files/lib/wee/request_rb.html">
111
+ lib/wee/request.rb
190
112
  </a>
191
-
192
-
193
113
  <br />
194
-
195
-
196
- <a href="../files/lib/wee/id_generator_rb.html">
197
-
198
- lib/wee/id_generator.rb
199
-
114
+ <a href="../files/lib/wee/html_canvas_rb.html">
115
+ lib/wee/html_canvas.rb
200
116
  </a>
201
-
202
-
203
117
  <br />
204
-
205
-
206
- <a href="../files/lib/wee/callback_rb.html">
207
-
208
- lib/wee/callback.rb
209
-
118
+ <a href="../files/lib/wee/jquery/jquery_rb.html">
119
+ lib/wee/jquery/jquery.rb
210
120
  </a>
211
-
212
-
213
121
  <br />
214
-
215
-
216
- <a href="../files/lib/wee/state_rb.html">
217
-
218
- lib/wee/state.rb
219
-
122
+ <a href="../files/lib/wee/response_rb.html">
123
+ lib/wee/response.rb
220
124
  </a>
221
-
222
-
223
125
  <br />
224
-
225
-
226
- <a href="../files/lib/wee/html_document_rb.html">
227
-
228
- lib/wee/html_document.rb
229
-
126
+ <a href="../files/lib/wee/renderer_rb.html">
127
+ lib/wee/renderer.rb
230
128
  </a>
231
-
232
-
233
129
  <br />
234
-
235
-
236
- <a href="../files/lib/wee_rb.html">
237
-
238
- lib/wee.rb
239
-
130
+ <a href="../files/lib/wee/presenter_rb.html">
131
+ lib/wee/presenter.rb
240
132
  </a>
241
-
242
-
243
133
  <br />
244
-
245
134
  </td>
246
135
  </tr>
247
136
 
248
-
249
137
  </table>
250
138
  </div>
251
139
  <!-- banner header -->
252
140
 
253
141
  <div id="bodyContent">
254
142
 
143
+
144
+
255
145
  <div id="contextContent">
256
146
 
257
- </div>
258
147
 
259
148
 
149
+ </div>
150
+
260
151
  <div id="method-list">
261
152
  <h3 class="section-bar">Methods</h3>
262
153
 
263
154
  <div class="name-list">
264
-
265
- <a href="#M000002">run</a>&nbsp;&nbsp;
266
-
267
- <a href="#M000003">runcc</a>&nbsp;&nbsp;
268
-
155
+ <a href="#M000001">run</a>&nbsp;&nbsp;
156
+ <a href="#M000002">runcc</a>&nbsp;&nbsp;
269
157
  </div>
270
158
  </div>
271
159
 
272
160
  </div>
273
161
 
162
+
274
163
  <!-- if includes -->
275
164
 
276
165
  <div id="section">
@@ -319,48 +208,39 @@ Class <a href="Wee/WrapperDecoration.html" class="link">Wee::WrapperDecoration</
319
208
 
320
209
  <div class="name-list">
321
210
  <table summary="Constants">
322
-
323
211
  <tr class="top-aligned-row context-row">
324
212
  <td class="context-item-name">Version</td>
325
213
  <td>=</td>
326
- <td class="context-item-value">&quot;2.0.0&quot;</td>
327
-
214
+ <td class="context-item-value">&quot;2.1.0&quot;</td>
328
215
  </tr>
329
-
330
216
  </table>
331
217
  </div>
332
218
  </div>
333
219
 
334
220
 
335
221
 
222
+
336
223
 
337
- <!-- if method_list -->
338
224
 
225
+ <!-- if method_list -->
339
226
  <div id="methods">
340
-
341
227
  <h3 class="section-bar">Public Class methods</h3>
342
228
 
343
-
344
- <div id="method-M000002" class="method-detail">
345
- <a name="M000002"></a>
229
+ <div id="method-M000001" class="method-detail">
230
+ <a name="M000001"></a>
346
231
 
347
232
  <div class="method-heading">
348
-
349
- <a href="#M000002" class="method-signature">
350
-
233
+ <a href="#M000001" class="method-signature">
351
234
  <span class="method-name">run</span><span class="method-args">(component_class=nil, mount_path='/', port=2000, &amp;block)</span>
352
-
353
235
  </a>
354
-
355
236
  </div>
356
-
237
+
357
238
  <div class="method-description">
358
-
359
239
  <p><a class="source-toggle" href="#"
360
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
361
- <div class="method-source-code" id="M000002-source">
240
+ onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
241
+ <div class="method-source-code" id="M000001-source">
362
242
  <pre>
363
- <span class="ruby-comment cmt"># File lib/wee.rb, line 38</span>
243
+ <span class="ruby-comment cmt"># File lib/wee.rb, line 32</span>
364
244
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">component_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">mount_path</span>=<span class="ruby-value str">'/'</span>, <span class="ruby-identifier">port</span>=<span class="ruby-value">2000</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
365
245
  <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component_class</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">block</span>
366
246
 
@@ -378,36 +258,28 @@ Class <a href="Wee/WrapperDecoration.html" class="link">Wee::WrapperDecoration</
378
258
  <span class="ruby-keyword kw">end</span>
379
259
  </pre>
380
260
  </div>
381
-
382
261
  </div>
383
262
  </div>
384
263
 
385
-
386
- <div id="method-M000003" class="method-detail">
387
- <a name="M000003"></a>
264
+ <div id="method-M000002" class="method-detail">
265
+ <a name="M000002"></a>
388
266
 
389
267
  <div class="method-heading">
390
-
391
- <a href="#M000003" class="method-signature">
392
-
268
+ <a href="#M000002" class="method-signature">
393
269
  <span class="method-name">runcc</span><span class="method-args">(component_class, *args)</span>
394
-
395
270
  </a>
396
-
397
271
  </div>
398
-
272
+
399
273
  <div class="method-description">
400
-
401
274
  <p>
402
- Like <a href="Wee.html#M000002">Wee.run</a>, but for use with
275
+ Like <a href="Wee.html#M000001">Wee.run</a>, but for use with
403
276
  continuations.
404
277
  </p>
405
-
406
278
  <p><a class="source-toggle" href="#"
407
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
408
- <div class="method-source-code" id="M000003-source">
279
+ onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
280
+ <div class="method-source-code" id="M000002-source">
409
281
  <pre>
410
- <span class="ruby-comment cmt"># File lib/wee.rb, line 57</span>
282
+ <span class="ruby-comment cmt"># File lib/wee.rb, line 51</span>
411
283
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">runcc</span>(<span class="ruby-identifier">component_class</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
412
284
  <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">run</span>(<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) {
413
285
  <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">component_class</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span><span class="ruby-operator">::</span><span class="ruby-constant">ThreadSerializer</span>.<span class="ruby-identifier">new</span>)
@@ -415,22 +287,19 @@ continuations.
415
287
  <span class="ruby-keyword kw">end</span>
416
288
  </pre>
417
289
  </div>
418
-
419
290
  </div>
420
291
  </div>
421
292
 
422
293
 
423
-
424
294
  </div>
425
295
 
426
296
 
427
-
428
-
429
297
  </div>
430
298
 
299
+
431
300
  <div id="validator-badges">
432
301
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
433
302
  </div>
434
303
 
435
304
  </body>
436
- </html>
305
+ </html>