wee 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. data/TODO +31 -0
  2. data/benchmark.rb +37 -0
  3. data/demo.ru +11 -0
  4. data/doc/rdoc/classes/Array.html +22 -26
  5. data/doc/rdoc/classes/Hash.html +22 -26
  6. data/doc/rdoc/classes/Object.html +21 -26
  7. data/doc/rdoc/classes/String.html +19 -87
  8. data/doc/rdoc/classes/Struct.html +22 -26
  9. data/doc/rdoc/classes/Wee.html +75 -206
  10. data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
  11. data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
  12. data/doc/rdoc/classes/Wee/Application.html +63 -114
  13. data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
  14. data/doc/rdoc/classes/Wee/Brush.html +52 -101
  15. data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
  16. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
  17. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
  18. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
  19. data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
  20. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
  21. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
  22. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
  23. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
  24. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
  25. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
  26. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
  27. data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
  28. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
  29. data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
  30. data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
  31. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
  32. data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
  33. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
  34. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
  35. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
  36. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
  37. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
  38. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
  39. data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
  40. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
  41. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
  42. data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
  43. data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
  44. data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
  45. data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
  46. data/doc/rdoc/classes/Wee/Component.html +142 -292
  47. data/doc/rdoc/classes/Wee/Decoration.html +85 -141
  48. data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
  49. data/doc/rdoc/classes/Wee/Delegate.html +72 -115
  50. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
  51. data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
  52. data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
  53. data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
  54. data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
  55. data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
  56. data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
  57. data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
  58. data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
  59. data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
  60. data/doc/rdoc/classes/Wee/JQuery.html +36 -64
  61. data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
  62. data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
  63. data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
  65. data/doc/rdoc/classes/Wee/Presenter.html +86 -143
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
  68. data/doc/rdoc/classes/Wee/Renderer.html +56 -125
  69. data/doc/rdoc/classes/Wee/Request.html +57 -115
  70. data/doc/rdoc/classes/Wee/Response.html +24 -26
  71. data/doc/rdoc/classes/Wee/Session.html +137 -292
  72. data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
  73. data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
  74. data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
  75. data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
  76. data/doc/rdoc/classes/Wee/State.html +57 -105
  77. data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
  78. data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
  79. data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
  80. data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
  81. data/doc/rdoc/created.rid +1 -1
  82. data/doc/rdoc/files/README_rdoc.html +26 -17
  83. data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
  84. data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
  85. data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
  86. data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
  87. data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
  88. data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
  89. data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
  90. data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
  91. data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
  92. data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
  93. data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
  94. data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
  95. data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
  96. data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
  97. data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
  98. data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
  99. data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
  100. data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
  101. data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
  102. data/doc/rdoc/files/lib/wee_rb.html +37 -47
  103. data/doc/rdoc/fr_class_index.html +12 -86
  104. data/doc/rdoc/fr_file_index.html +12 -30
  105. data/doc/rdoc/fr_method_index.html +242 -473
  106. data/doc/rdoc/index.html +8 -5
  107. data/doc/rdoc/rdoc-style.css +119 -210
  108. data/examples/ObjectSpaceBrowser.rb +4 -4
  109. data/examples/TODO +21 -0
  110. data/examples/ajax.rb +6 -4
  111. data/examples/blog.rb +42 -0
  112. data/examples/demo.rb +5 -3
  113. data/examples/demo/calculator.rb +3 -3
  114. data/examples/demo/calendar.rb +4 -4
  115. data/examples/demo/counter.rb +2 -2
  116. data/examples/demo/editable_counter.rb +2 -2
  117. data/examples/demo/example.rb +25 -16
  118. data/examples/demo/window.rb +10 -3
  119. data/examples/hw2.rb +17 -0
  120. data/examples/recipe/description.rb +170 -0
  121. data/examples/recipe/migrations/001_create_recipes.rb +13 -0
  122. data/examples/recipe/model.rb +27 -0
  123. data/examples/recipe/models/recipe.rb +18 -0
  124. data/examples/recipe/recipe_editor.rb +28 -0
  125. data/lib/wee.rb +1 -7
  126. data/lib/wee/component.rb +37 -74
  127. data/lib/wee/decoration.rb +16 -15
  128. data/lib/wee/html_brushes.rb +16 -17
  129. data/lib/wee/presenter.rb +2 -1
  130. data/lib/wee/response.rb +4 -4
  131. data/lib/wee/session.rb +2 -2
  132. data/lib/wee/state.rb +2 -2
  133. data/test/t.rb +67 -0
  134. data/wee.gemspec +1 -1
  135. metadata +157 -167
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::Brush::TextInputTag [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Brush::TextInputTag</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,102 +55,85 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../../files/lib/wee/html_brushes_rb.html">
57
-
58
59
  lib/wee/html_brushes.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  Brush::InputTag
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
- </div>
87
81
 
88
82
 
83
+ </div>
84
+
89
85
  <div id="method-list">
90
86
  <h3 class="section-bar">Methods</h3>
91
87
 
92
88
  <div class="name-list">
93
-
94
- <a href="#M000151">new</a>&nbsp;&nbsp;
95
-
89
+ <a href="#M000182">new</a>&nbsp;&nbsp;
96
90
  </div>
97
91
  </div>
98
92
 
99
93
  </div>
100
94
 
95
+
101
96
  <!-- if includes -->
102
97
 
103
98
  <div id="section">
104
99
 
100
+
105
101
  <div id="constants-list">
106
102
  <h3 class="section-bar">Constants</h3>
107
103
 
108
104
  <div class="name-list">
109
105
  <table summary="Constants">
110
-
111
106
  <tr class="top-aligned-row context-row">
112
107
  <td class="context-item-name">HTML_TYPE</td>
113
108
  <td>=</td>
114
109
  <td class="context-item-value">'text'.freeze</td>
115
-
116
110
  </tr>
117
-
118
111
  </table>
119
112
  </div>
120
113
  </div>
121
114
 
122
115
 
123
116
 
117
+
124
118
 
125
- <!-- if method_list -->
126
119
 
120
+ <!-- if method_list -->
127
121
  <div id="methods">
128
-
129
122
  <h3 class="section-bar">Public Class methods</h3>
130
123
 
131
-
132
- <div id="method-M000151" class="method-detail">
133
- <a name="M000151"></a>
124
+ <div id="method-M000182" class="method-detail">
125
+ <a name="M000182"></a>
134
126
 
135
127
  <div class="method-heading">
136
-
137
- <a href="#M000151" class="method-signature">
138
-
128
+ <a href="#M000182" class="method-signature">
139
129
  <span class="method-name">new</span><span class="method-args">()</span>
140
-
141
130
  </a>
142
-
143
131
  </div>
144
-
132
+
145
133
  <div class="method-description">
146
-
147
134
  <p><a class="source-toggle" href="#"
148
- onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
149
- <div class="method-source-code" id="M000151-source">
135
+ onclick="toggleCode('M000182-source');return false;">[Source]</a></p>
136
+ <div class="method-source-code" id="M000182-source">
150
137
  <pre>
151
138
  <span class="ruby-comment cmt"># File lib/wee/html_brushes.rb, line 384</span>
152
139
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -154,22 +141,19 @@
154
141
  <span class="ruby-keyword kw">end</span>
155
142
  </pre>
156
143
  </div>
157
-
158
144
  </div>
159
145
  </div>
160
146
 
161
147
 
162
-
163
148
  </div>
164
149
 
165
150
 
166
-
167
-
168
151
  </div>
169
152
 
153
+
170
154
  <div id="validator-badges">
171
155
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
172
156
  </div>
173
157
 
174
158
  </body>
175
- </html>
159
+ </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::CallAnswerMixin [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Module: Wee::CallAnswerMixin</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,48 +55,40 @@
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/call_answer_rb.html">
57
-
58
59
  lib/wee/call_answer.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  </table>
70
66
  </div>
71
67
  <!-- banner header -->
72
68
 
73
69
  <div id="bodyContent">
74
70
 
71
+
72
+
75
73
  <div id="contextContent">
76
74
 
77
- </div>
78
75
 
79
76
 
77
+ </div>
78
+
80
79
  <div id="method-list">
81
80
  <h3 class="section-bar">Methods</h3>
82
81
 
83
82
  <div class="name-list">
84
-
85
- <a href="#M000006">answer</a>&nbsp;&nbsp;
86
-
87
- <a href="#M000004">call</a>&nbsp;&nbsp;
88
-
89
- <a href="#M000005">callcc</a>&nbsp;&nbsp;
90
-
83
+ <a href="#M000010">answer</a>&nbsp;&nbsp;
84
+ <a href="#M000008">call</a>&nbsp;&nbsp;
85
+ <a href="#M000009">callcc</a>&nbsp;&nbsp;
91
86
  </div>
92
87
  </div>
93
88
 
94
89
  </div>
95
90
 
91
+
96
92
  <!-- if includes -->
97
93
 
98
94
  <div id="section">
@@ -100,42 +96,37 @@
100
96
 
101
97
 
102
98
 
103
- <!-- if method_list -->
104
99
 
105
- <div id="methods">
100
+
106
101
 
107
- <h3 class="section-bar">Protected Instance methods</h3>
108
102
 
103
+ <!-- if method_list -->
104
+ <div id="methods">
105
+ <h3 class="section-bar">Protected Instance methods</h3>
109
106
 
110
- <div id="method-M000006" class="method-detail">
111
- <a name="M000006"></a>
107
+ <div id="method-M000010" class="method-detail">
108
+ <a name="M000010"></a>
112
109
 
113
110
  <div class="method-heading">
114
-
115
- <a href="#M000006" class="method-signature">
116
-
111
+ <a href="#M000010" class="method-signature">
117
112
  <span class="method-name">answer</span><span class="method-args">(*args)</span>
118
-
119
113
  </a>
120
-
121
114
  </div>
122
-
115
+
123
116
  <div class="method-description">
124
-
125
117
  <p>
126
118
  Return from a called component.
127
119
  </p>
128
120
  <p>
129
- NOTE that <a href="CallAnswerMixin.html#M000006">answer</a> never returns.
121
+ NOTE that <a href="CallAnswerMixin.html#M000010">answer</a> never returns.
130
122
  </p>
131
123
  <p>
132
- See <a href="CallAnswerMixin.html#M000004">call</a> for a detailed
124
+ See <a href="CallAnswerMixin.html#M000008">call</a> for a detailed
133
125
  description of the call/answer mechanism.
134
126
  </p>
135
-
136
127
  <p><a class="source-toggle" href="#"
137
- onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
138
- <div class="method-source-code" id="M000006-source">
128
+ onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
129
+ <div class="method-source-code" id="M000010-source">
139
130
  <pre>
140
131
  <span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 112</span>
141
132
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">answer</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -143,30 +134,23 @@ description of the call/answer mechanism.
143
134
  <span class="ruby-keyword kw">end</span>
144
135
  </pre>
145
136
  </div>
146
-
147
137
  </div>
148
138
  </div>
149
139
 
150
-
151
- <div id="method-M000004" class="method-detail">
152
- <a name="M000004"></a>
140
+ <div id="method-M000008" class="method-detail">
141
+ <a name="M000008"></a>
153
142
 
154
143
  <div class="method-heading">
155
-
156
- <a href="#M000004" class="method-signature">
157
-
144
+ <a href="#M000008" class="method-signature">
158
145
  <span class="method-name">call</span><span class="method-args">(component, &amp;return_callback)</span>
159
-
160
146
  </a>
161
-
162
147
  </div>
163
-
148
+
164
149
  <div class="method-description">
165
-
166
150
  <p>
167
151
  Call another component. The calling component is neither rendered nor are
168
- it&#8217;s callbacks processed until the called component answers using
169
- method <a href="CallAnswerMixin.html#M000006">answer</a>.
152
+ it&#8216;s callbacks processed until the called component answers using
153
+ method <a href="CallAnswerMixin.html#M000010">answer</a>.
170
154
  </p>
171
155
  <dl>
172
156
  <dt><tt>component</tt></dt><dd>The component to be called.
@@ -188,7 +172,7 @@ end the processing of callbacks prematurely.
188
172
  </p>
189
173
  <p>
190
174
  When at a later point in time the called component invokes <a
191
- href="CallAnswerMixin.html#M000006">answer</a>, this will raise a <a
175
+ href="CallAnswerMixin.html#M000010">answer</a>, this will raise a <a
192
176
  href="AnswerDecoration/Answer.html">AnswerDecoration::Answer</a> exception
193
177
  which is catched by the <a
194
178
  href="AnswerDecoration.html">AnswerDecoration</a> we installed before
@@ -198,13 +182,12 @@ called before we gained control.
198
182
  <p>
199
183
  The <a href="AnswerDecoration.html">AnswerDecoration</a> then invokes the
200
184
  <tt>answer_callback</tt> to cleanup the decorations we added during <a
201
- href="CallAnswerMixin.html#M000004">call</a> and finally passes control to
185
+ href="CallAnswerMixin.html#M000008">call</a> and finally passes control to
202
186
  the <tt>return_callback</tt>.
203
187
  </p>
204
-
205
188
  <p><a class="source-toggle" href="#"
206
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
207
- <div class="method-source-code" id="M000004-source">
189
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
190
+ <div class="method-source-code" id="M000008-source">
208
191
  <pre>
209
192
  <span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 73</span>
210
193
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call</span>(<span class="ruby-identifier">component</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">return_callback</span>)
@@ -220,34 +203,26 @@ the <tt>return_callback</tt>.
220
203
  <span class="ruby-keyword kw">end</span>
221
204
  </pre>
222
205
  </div>
223
-
224
206
  </div>
225
207
  </div>
226
208
 
227
-
228
- <div id="method-M000005" class="method-detail">
229
- <a name="M000005"></a>
209
+ <div id="method-M000009" class="method-detail">
210
+ <a name="M000009"></a>
230
211
 
231
212
  <div class="method-heading">
232
-
233
- <a href="#M000005" class="method-signature">
234
-
213
+ <a href="#M000009" class="method-signature">
235
214
  <span class="method-name">callcc</span><span class="method-args">(component)</span>
236
-
237
215
  </a>
238
-
239
216
  </div>
240
-
217
+
241
218
  <div class="method-description">
242
-
243
219
  <p>
244
- Similar to method <a href="CallAnswerMixin.html#M000004">call</a>, but
220
+ Similar to method <a href="CallAnswerMixin.html#M000008">call</a>, but
245
221
  using continuations.
246
222
  </p>
247
-
248
223
  <p><a class="source-toggle" href="#"
249
- onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
250
- <div class="method-source-code" id="M000005-source">
224
+ onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
225
+ <div class="method-source-code" id="M000009-source">
251
226
  <pre>
252
227
  <span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 88</span>
253
228
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callcc</span>(<span class="ruby-identifier">component</span>)
@@ -268,22 +243,19 @@ using continuations.
268
243
  <span class="ruby-keyword kw">end</span>
269
244
  </pre>
270
245
  </div>
271
-
272
246
  </div>
273
247
  </div>
274
248
 
275
249
 
276
-
277
250
  </div>
278
251
 
279
252
 
280
-
281
-
282
253
  </div>
283
254
 
255
+
284
256
  <div id="validator-badges">
285
257
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
286
258
  </div>
287
259
 
288
260
  </body>
289
- </html>
261
+ </html>