wee 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/TODO +31 -0
  2. data/benchmark.rb +37 -0
  3. data/demo.ru +11 -0
  4. data/doc/rdoc/classes/Array.html +22 -26
  5. data/doc/rdoc/classes/Hash.html +22 -26
  6. data/doc/rdoc/classes/Object.html +21 -26
  7. data/doc/rdoc/classes/String.html +19 -87
  8. data/doc/rdoc/classes/Struct.html +22 -26
  9. data/doc/rdoc/classes/Wee.html +75 -206
  10. data/doc/rdoc/classes/Wee/AnswerDecoration.html +35 -66
  11. data/doc/rdoc/classes/Wee/AnswerDecoration/Answer.html +28 -46
  12. data/doc/rdoc/classes/Wee/Application.html +63 -114
  13. data/doc/rdoc/classes/Wee/Application/SessionCache.html +30 -44
  14. data/doc/rdoc/classes/Wee/Brush.html +52 -101
  15. data/doc/rdoc/classes/Wee/Brush/ActionInputTag.html +29 -51
  16. data/doc/rdoc/classes/Wee/Brush/AnchorTag.html +44 -101
  17. data/doc/rdoc/classes/Wee/Brush/CheckboxTag.html +43 -76
  18. data/doc/rdoc/classes/Wee/Brush/FileUploadTag.html +29 -46
  19. data/doc/rdoc/classes/Wee/Brush/FormTag.html +48 -110
  20. data/doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html +30 -42
  21. data/doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html +37 -58
  22. data/doc/rdoc/classes/Wee/Brush/GenericTagBrush.html +93 -210
  23. data/doc/rdoc/classes/Wee/Brush/GenericTextBrush.html +38 -63
  24. data/doc/rdoc/classes/Wee/Brush/HiddenInputTag.html +29 -45
  25. data/doc/rdoc/classes/Wee/Brush/ImageButtonTag.html +35 -52
  26. data/doc/rdoc/classes/Wee/Brush/ImageTag.html +28 -61
  27. data/doc/rdoc/classes/Wee/Brush/InputTag.html +34 -107
  28. data/doc/rdoc/classes/Wee/Brush/JavascriptTag.html +28 -54
  29. data/doc/rdoc/classes/Wee/Brush/Page.html +39 -73
  30. data/doc/rdoc/classes/Wee/Brush/PasswordInputTag.html +29 -45
  31. data/doc/rdoc/classes/Wee/Brush/RadioButtonTag.html +54 -98
  32. data/doc/rdoc/classes/Wee/Brush/RadioGroup.html +46 -84
  33. data/doc/rdoc/classes/Wee/Brush/SelectListTag.html +87 -187
  34. data/doc/rdoc/classes/Wee/Brush/SelectOptionTag.html +29 -56
  35. data/doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html +29 -45
  36. data/doc/rdoc/classes/Wee/Brush/TableDataTag.html +28 -55
  37. data/doc/rdoc/classes/Wee/Brush/TableHeaderTag.html +28 -55
  38. data/doc/rdoc/classes/Wee/Brush/TableRowTag.html +56 -113
  39. data/doc/rdoc/classes/Wee/Brush/TableTag.html +27 -58
  40. data/doc/rdoc/classes/Wee/Brush/TextAreaTag.html +48 -140
  41. data/doc/rdoc/classes/Wee/Brush/TextInputTag.html +29 -45
  42. data/doc/rdoc/classes/Wee/CallAnswerMixin.html +51 -79
  43. data/doc/rdoc/classes/Wee/CallbackMixin.html +44 -77
  44. data/doc/rdoc/classes/Wee/CallbackRegistry.html +69 -125
  45. data/doc/rdoc/classes/Wee/Callbacks.html +43 -82
  46. data/doc/rdoc/classes/Wee/Component.html +142 -292
  47. data/doc/rdoc/classes/Wee/Decoration.html +85 -141
  48. data/doc/rdoc/classes/Wee/DecorationMixin.html +111 -118
  49. data/doc/rdoc/classes/Wee/Delegate.html +72 -115
  50. data/doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html +37 -54
  51. data/doc/rdoc/classes/Wee/ErrorResponse.html +31 -48
  52. data/doc/rdoc/classes/Wee/FormDecoration.html +32 -46
  53. data/doc/rdoc/classes/Wee/GenericResponse.html +30 -50
  54. data/doc/rdoc/classes/Wee/HtmlCanvas.html +209 -562
  55. data/doc/rdoc/classes/Wee/HtmlDocument.html +51 -91
  56. data/doc/rdoc/classes/Wee/HtmlWriter.html +76 -156
  57. data/doc/rdoc/classes/Wee/IdGenerator.html +28 -44
  58. data/doc/rdoc/classes/Wee/IdGenerator/Secure.html +53 -95
  59. data/doc/rdoc/classes/Wee/IdGenerator/Sequential.html +37 -63
  60. data/doc/rdoc/classes/Wee/JQuery.html +36 -64
  61. data/doc/rdoc/classes/Wee/LRUCache.html +94 -189
  62. data/doc/rdoc/classes/Wee/LRUCache/Item.html +30 -42
  63. data/doc/rdoc/classes/Wee/ObjectSnapshotMixin.html +37 -54
  64. data/doc/rdoc/classes/Wee/PageDecoration.html +48 -79
  65. data/doc/rdoc/classes/Wee/Presenter.html +86 -143
  66. data/doc/rdoc/classes/Wee/RedirectResponse.html +31 -49
  67. data/doc/rdoc/classes/Wee/RefreshResponse.html +34 -48
  68. data/doc/rdoc/classes/Wee/Renderer.html +56 -125
  69. data/doc/rdoc/classes/Wee/Request.html +57 -115
  70. data/doc/rdoc/classes/Wee/Response.html +24 -26
  71. data/doc/rdoc/classes/Wee/Session.html +137 -292
  72. data/doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html +29 -46
  73. data/doc/rdoc/classes/Wee/Session/MutexSerializer.html +29 -42
  74. data/doc/rdoc/classes/Wee/Session/Page.html +22 -21
  75. data/doc/rdoc/classes/Wee/Session/ThreadSerializer.html +36 -60
  76. data/doc/rdoc/classes/Wee/State.html +57 -105
  77. data/doc/rdoc/classes/Wee/State/Snapshot.html +22 -21
  78. data/doc/rdoc/classes/Wee/State/SnapshotIVars.html +22 -21
  79. data/doc/rdoc/classes/Wee/StructSnapshotMixin.html +37 -54
  80. data/doc/rdoc/classes/Wee/WrapperDecoration.html +42 -68
  81. data/doc/rdoc/created.rid +1 -1
  82. data/doc/rdoc/files/README_rdoc.html +26 -17
  83. data/doc/rdoc/files/lib/wee/application_rb.html +25 -19
  84. data/doc/rdoc/files/lib/wee/call_answer_rb.html +23 -12
  85. data/doc/rdoc/files/lib/wee/callback_rb.html +23 -12
  86. data/doc/rdoc/files/lib/wee/component_rb.html +25 -19
  87. data/doc/rdoc/files/lib/wee/decoration_rb.html +23 -15
  88. data/doc/rdoc/files/lib/wee/html_brushes_rb.html +23 -12
  89. data/doc/rdoc/files/lib/wee/html_canvas_rb.html +23 -15
  90. data/doc/rdoc/files/lib/wee/html_document_rb.html +23 -15
  91. data/doc/rdoc/files/lib/wee/html_writer_rb.html +23 -15
  92. data/doc/rdoc/files/lib/wee/id_generator_rb.html +24 -17
  93. data/doc/rdoc/files/lib/wee/jquery/jquery_rb.html +23 -12
  94. data/doc/rdoc/files/lib/wee/jquery_rb.html +23 -15
  95. data/doc/rdoc/files/lib/wee/lru_cache_rb.html +23 -12
  96. data/doc/rdoc/files/lib/wee/presenter_rb.html +23 -12
  97. data/doc/rdoc/files/lib/wee/renderer_rb.html +23 -12
  98. data/doc/rdoc/files/lib/wee/request_rb.html +23 -15
  99. data/doc/rdoc/files/lib/wee/response_rb.html +24 -17
  100. data/doc/rdoc/files/lib/wee/session_rb.html +26 -21
  101. data/doc/rdoc/files/lib/wee/state_rb.html +23 -12
  102. data/doc/rdoc/files/lib/wee_rb.html +37 -47
  103. data/doc/rdoc/fr_class_index.html +12 -86
  104. data/doc/rdoc/fr_file_index.html +12 -30
  105. data/doc/rdoc/fr_method_index.html +242 -473
  106. data/doc/rdoc/index.html +8 -5
  107. data/doc/rdoc/rdoc-style.css +119 -210
  108. data/examples/ObjectSpaceBrowser.rb +4 -4
  109. data/examples/TODO +21 -0
  110. data/examples/ajax.rb +6 -4
  111. data/examples/blog.rb +42 -0
  112. data/examples/demo.rb +5 -3
  113. data/examples/demo/calculator.rb +3 -3
  114. data/examples/demo/calendar.rb +4 -4
  115. data/examples/demo/counter.rb +2 -2
  116. data/examples/demo/editable_counter.rb +2 -2
  117. data/examples/demo/example.rb +25 -16
  118. data/examples/demo/window.rb +10 -3
  119. data/examples/hw2.rb +17 -0
  120. data/examples/recipe/description.rb +170 -0
  121. data/examples/recipe/migrations/001_create_recipes.rb +13 -0
  122. data/examples/recipe/model.rb +27 -0
  123. data/examples/recipe/models/recipe.rb +18 -0
  124. data/examples/recipe/recipe_editor.rb +28 -0
  125. data/lib/wee.rb +1 -7
  126. data/lib/wee/component.rb +37 -74
  127. data/lib/wee/decoration.rb +16 -15
  128. data/lib/wee/html_brushes.rb +16 -17
  129. data/lib/wee/presenter.rb +2 -1
  130. data/lib/wee/response.rb +4 -4
  131. data/lib/wee/session.rb +2 -2
  132. data/lib/wee/state.rb +2 -2
  133. data/test/t.rb +67 -0
  134. data/wee.gemspec +1 -1
  135. metadata +157 -167
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::Session::ThreadSerializer [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::Session::ThreadSerializer</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,40 +55,29 @@
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/session_rb.html">
57
-
58
59
  lib/wee/session.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
 
90
83
  <div id="description">
@@ -101,23 +94,21 @@ per session as you want.
101
94
 
102
95
  </div>
103
96
 
104
- </div>
105
97
 
98
+ </div>
106
99
 
107
100
  <div id="method-list">
108
101
  <h3 class="section-bar">Methods</h3>
109
102
 
110
103
  <div class="name-list">
111
-
112
- <a href="#M000037">call</a>&nbsp;&nbsp;
113
-
114
- <a href="#M000036">new</a>&nbsp;&nbsp;
115
-
104
+ <a href="#M000095">call</a>&nbsp;&nbsp;
105
+ <a href="#M000094">new</a>&nbsp;&nbsp;
116
106
  </div>
117
107
  </div>
118
108
 
119
109
  </div>
120
110
 
111
+
121
112
  <!-- if includes -->
122
113
 
123
114
  <div id="section">
@@ -125,31 +116,27 @@ per session as you want.
125
116
 
126
117
 
127
118
 
128
- <!-- if method_list -->
129
119
 
130
- <div id="methods">
120
+
131
121
 
132
- <h3 class="section-bar">Public Class methods</h3>
133
122
 
123
+ <!-- if method_list -->
124
+ <div id="methods">
125
+ <h3 class="section-bar">Public Class methods</h3>
134
126
 
135
- <div id="method-M000036" class="method-detail">
136
- <a name="M000036"></a>
127
+ <div id="method-M000094" class="method-detail">
128
+ <a name="M000094"></a>
137
129
 
138
130
  <div class="method-heading">
139
-
140
- <a href="#M000036" class="method-signature">
141
-
131
+ <a href="#M000094" class="method-signature">
142
132
  <span class="method-name">new</span><span class="method-args">()</span>
143
-
144
133
  </a>
145
-
146
134
  </div>
147
-
135
+
148
136
  <div class="method-description">
149
-
150
137
  <p><a class="source-toggle" href="#"
151
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000036-source">
138
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
139
+ <div class="method-source-code" id="M000094-source">
153
140
  <pre>
154
141
  <span class="ruby-comment cmt"># File lib/wee/session.rb, line 31</span>
155
142
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -164,32 +151,24 @@ per session as you want.
164
151
  <span class="ruby-keyword kw">end</span>
165
152
  </pre>
166
153
  </div>
167
-
168
154
  </div>
169
155
  </div>
170
156
 
171
-
172
157
  <h3 class="section-bar">Public Instance methods</h3>
173
158
 
174
-
175
- <div id="method-M000037" class="method-detail">
176
- <a name="M000037"></a>
159
+ <div id="method-M000095" class="method-detail">
160
+ <a name="M000095"></a>
177
161
 
178
162
  <div class="method-heading">
179
-
180
- <a href="#M000037" class="method-signature">
181
-
163
+ <a href="#M000095" class="method-signature">
182
164
  <span class="method-name">call</span><span class="method-args">(env)</span>
183
-
184
165
  </a>
185
-
186
166
  </div>
187
-
167
+
188
168
  <div class="method-description">
189
-
190
169
  <p><a class="source-toggle" href="#"
191
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
192
- <div class="method-source-code" id="M000037-source">
170
+ onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
171
+ <div class="method-source-code" id="M000095-source">
193
172
  <pre>
194
173
  <span class="ruby-comment cmt"># File lib/wee/session.rb, line 42</span>
195
174
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call</span>(<span class="ruby-identifier">env</span>)
@@ -198,22 +177,19 @@ per session as you want.
198
177
  <span class="ruby-keyword kw">end</span>
199
178
  </pre>
200
179
  </div>
201
-
202
180
  </div>
203
181
  </div>
204
182
 
205
183
 
206
-
207
184
  </div>
208
185
 
209
186
 
210
-
211
-
212
187
  </div>
213
188
 
189
+
214
190
  <div id="validator-badges">
215
191
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
216
192
  </div>
217
193
 
218
194
  </body>
219
- </html>
195
+ </html>
@@ -1,9 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: Wee::State [RDoc Documentation]</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <title>Class: Wee::State</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,40 +55,29 @@
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
 
90
83
  <div id="description">
@@ -92,37 +85,31 @@
92
85
  This class is for backtracking the state of components (or
93
86
  decorations/presenters). Components that want an undo-facility to be
94
87
  implemented (triggered for example by a browsers back-button), have to
95
- overwrite the <a href="Component.html#M000047">Component#backtrack</a>
96
- method. Class <a href="State.html">Wee::State</a> simply represents a
97
- collection of objects from which snapshots were taken via methods
98
- take_snapshot.
88
+ overwrite the <a href="Component.html#M000217">Component#state</a> method.
89
+ Class <a href="State.html">Wee::State</a> simply represents a collection of
90
+ objects from which snapshots were taken via methods take_snapshot.
99
91
  </p>
100
92
 
101
93
  </div>
102
94
 
103
- </div>
104
95
 
96
+ </div>
105
97
 
106
98
  <div id="method-list">
107
99
  <h3 class="section-bar">Methods</h3>
108
100
 
109
101
  <div class="name-list">
110
-
111
- <a href="#M000227">&lt;&lt;</a>&nbsp;&nbsp;
112
-
113
- <a href="#M000225">add</a>&nbsp;&nbsp;
114
-
115
- <a href="#M000226">add_ivar</a>&nbsp;&nbsp;
116
-
117
- <a href="#M000224">new</a>&nbsp;&nbsp;
118
-
119
- <a href="#M000228">restore</a>&nbsp;&nbsp;
120
-
102
+ <a href="#M000209">&lt;&lt;</a>&nbsp;&nbsp;
103
+ <a href="#M000207">add</a>&nbsp;&nbsp;
104
+ <a href="#M000208">add_ivar</a>&nbsp;&nbsp;
105
+ <a href="#M000206">new</a>&nbsp;&nbsp;
106
+ <a href="#M000210">restore</a>&nbsp;&nbsp;
121
107
  </div>
122
108
  </div>
123
109
 
124
110
  </div>
125
111
 
112
+
126
113
  <!-- if includes -->
127
114
 
128
115
  <div id="section">
@@ -138,31 +125,26 @@ Class <a href="State/SnapshotIVars.html" class="link">Wee::State::SnapshotIVars<
138
125
 
139
126
 
140
127
 
141
- <!-- if method_list -->
128
+
142
129
 
143
- <div id="methods">
144
130
 
131
+ <!-- if method_list -->
132
+ <div id="methods">
145
133
  <h3 class="section-bar">Public Class methods</h3>
146
134
 
147
-
148
- <div id="method-M000224" class="method-detail">
149
- <a name="M000224"></a>
135
+ <div id="method-M000206" class="method-detail">
136
+ <a name="M000206"></a>
150
137
 
151
138
  <div class="method-heading">
152
-
153
- <a href="#M000224" class="method-signature">
154
-
139
+ <a href="#M000206" class="method-signature">
155
140
  <span class="method-name">new</span><span class="method-args">()</span>
156
-
157
141
  </a>
158
-
159
142
  </div>
160
-
143
+
161
144
  <div class="method-description">
162
-
163
145
  <p><a class="source-toggle" href="#"
164
- onclick="toggleCode('M000224-source');return false;">[Source]</a></p>
165
- <div class="method-source-code" id="M000224-source">
146
+ onclick="toggleCode('M000206-source');return false;">[Source]</a></p>
147
+ <div class="method-source-code" id="M000206-source">
166
148
  <pre>
167
149
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 15</span>
168
150
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -171,51 +153,38 @@ Class <a href="State/SnapshotIVars.html" class="link">Wee::State::SnapshotIVars<
171
153
  <span class="ruby-keyword kw">end</span>
172
154
  </pre>
173
155
  </div>
174
-
175
156
  </div>
176
157
  </div>
177
158
 
178
-
179
159
  <h3 class="section-bar">Public Instance methods</h3>
180
160
 
181
-
182
- <div id="method-M000227" class="method-detail">
183
- <a name="M000227"></a>
161
+ <div id="method-M000209" class="method-detail">
162
+ <a name="M000209"></a>
184
163
 
185
164
  <div class="method-heading">
186
-
187
165
  <span class="method-name">&lt;&lt;</span><span class="method-args">(object)</span>
188
-
189
166
  </div>
190
-
167
+
191
168
  <div class="method-description">
192
-
193
169
  <p>
194
- Alias for <a href="State.html#M000225">add</a>
170
+ Alias for <a href="State.html#M000207">add</a>
195
171
  </p>
196
-
197
172
  </div>
198
173
  </div>
199
174
 
200
-
201
- <div id="method-M000225" class="method-detail">
202
- <a name="M000225"></a>
175
+ <div id="method-M000207" class="method-detail">
176
+ <a name="M000207"></a>
203
177
 
204
178
  <div class="method-heading">
205
-
206
- <a href="#M000225" class="method-signature">
207
-
179
+ <a href="#M000207" class="method-signature">
208
180
  <span class="method-name">add</span><span class="method-args">(object)</span>
209
-
210
181
  </a>
211
-
212
182
  </div>
213
-
183
+
214
184
  <div class="method-description">
215
-
216
185
  <p><a class="source-toggle" href="#"
217
- onclick="toggleCode('M000225-source');return false;">[Source]</a></p>
218
- <div class="method-source-code" id="M000225-source">
186
+ onclick="toggleCode('M000207-source');return false;">[Source]</a></p>
187
+ <div class="method-source-code" id="M000207-source">
219
188
  <pre>
220
189
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 20</span>
221
190
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">object</span>)
@@ -223,29 +192,22 @@ Alias for <a href="State.html#M000225">add</a>
223
192
  <span class="ruby-keyword kw">end</span>
224
193
  </pre>
225
194
  </div>
226
-
227
195
  </div>
228
196
  </div>
229
197
 
230
-
231
- <div id="method-M000226" class="method-detail">
232
- <a name="M000226"></a>
198
+ <div id="method-M000208" class="method-detail">
199
+ <a name="M000208"></a>
233
200
 
234
201
  <div class="method-heading">
235
-
236
- <a href="#M000226" class="method-signature">
237
-
202
+ <a href="#M000208" class="method-signature">
238
203
  <span class="method-name">add_ivar</span><span class="method-args">(object, ivar, value)</span>
239
-
240
204
  </a>
241
-
242
205
  </div>
243
-
206
+
244
207
  <div class="method-description">
245
-
246
208
  <p><a class="source-toggle" href="#"
247
- onclick="toggleCode('M000226-source');return false;">[Source]</a></p>
248
- <div class="method-source-code" id="M000226-source">
209
+ onclick="toggleCode('M000208-source');return false;">[Source]</a></p>
210
+ <div class="method-source-code" id="M000208-source">
249
211
  <pre>
250
212
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 24</span>
251
213
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_ivar</span>(<span class="ruby-identifier">object</span>, <span class="ruby-identifier">ivar</span>, <span class="ruby-identifier">value</span>)
@@ -253,29 +215,22 @@ Alias for <a href="State.html#M000225">add</a>
253
215
  <span class="ruby-keyword kw">end</span>
254
216
  </pre>
255
217
  </div>
256
-
257
218
  </div>
258
219
  </div>
259
220
 
260
-
261
- <div id="method-M000228" class="method-detail">
262
- <a name="M000228"></a>
221
+ <div id="method-M000210" class="method-detail">
222
+ <a name="M000210"></a>
263
223
 
264
224
  <div class="method-heading">
265
-
266
- <a href="#M000228" class="method-signature">
267
-
225
+ <a href="#M000210" class="method-signature">
268
226
  <span class="method-name">restore</span><span class="method-args">()</span>
269
-
270
227
  </a>
271
-
272
228
  </div>
273
-
229
+
274
230
  <div class="method-description">
275
-
276
231
  <p><a class="source-toggle" href="#"
277
- onclick="toggleCode('M000228-source');return false;">[Source]</a></p>
278
- <div class="method-source-code" id="M000228-source">
232
+ onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
233
+ <div class="method-source-code" id="M000210-source">
279
234
  <pre>
280
235
  <span class="ruby-comment cmt"># File lib/wee/state.rb, line 30</span>
281
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restore</span>
@@ -286,22 +241,19 @@ Alias for <a href="State.html#M000225">add</a>
286
241
  <span class="ruby-keyword kw">end</span>
287
242
  </pre>
288
243
  </div>
289
-
290
244
  </div>
291
245
  </div>
292
246
 
293
247
 
294
-
295
248
  </div>
296
249
 
297
250
 
298
-
299
-
300
251
  </div>
301
252
 
253
+
302
254
  <div id="validator-badges">
303
255
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
304
256
  </div>
305
257
 
306
258
  </body>
307
- </html>
259
+ </html>