mack-facets 0.6.1.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,8 +80,8 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000068">pp_to_s</a>&nbsp;&nbsp;
84
- <a href="#M000069">retryable</a>&nbsp;&nbsp;
83
+ <a href="#M000070">pp_to_s</a>&nbsp;&nbsp;
84
+ <a href="#M000071">retryable</a>&nbsp;&nbsp;
85
85
  </div>
86
86
  </div>
87
87
 
@@ -103,19 +103,19 @@
103
103
  <div id="methods">
104
104
  <h3 class="section-bar">Public Instance methods</h3>
105
105
 
106
- <div id="method-M000068" class="method-detail">
107
- <a name="M000068"></a>
106
+ <div id="method-M000070" class="method-detail">
107
+ <a name="M000070"></a>
108
108
 
109
109
  <div class="method-heading">
110
- <a href="#M000068" class="method-signature">
110
+ <a href="#M000070" class="method-signature">
111
111
  <span class="method-name">pp_to_s</span><span class="method-args">(object)</span>
112
112
  </a>
113
113
  </div>
114
114
 
115
115
  <div class="method-description">
116
116
  <p><a class="source-toggle" href="#"
117
- onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
118
- <div class="method-source-code" id="M000068-source">
117
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
118
+ <div class="method-source-code" id="M000070-source">
119
119
  <pre>
120
120
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/kernel.rb, line 6</span>
121
121
  6: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pp_to_s</span>(<span class="ruby-identifier">object</span>)
@@ -128,19 +128,19 @@
128
128
  </div>
129
129
  </div>
130
130
 
131
- <div id="method-M000069" class="method-detail">
132
- <a name="M000069"></a>
131
+ <div id="method-M000071" class="method-detail">
132
+ <a name="M000071"></a>
133
133
 
134
134
  <div class="method-heading">
135
- <a href="#M000069" class="method-signature">
135
+ <a href="#M000071" class="method-signature">
136
136
  <span class="method-name">retryable</span><span class="method-args">(options = {}, &amp;block)</span>
137
137
  </a>
138
138
  </div>
139
139
 
140
140
  <div class="method-description">
141
141
  <p><a class="source-toggle" href="#"
142
- onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
143
- <div class="method-source-code" id="M000069-source">
142
+ onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
143
+ <div class="method-source-code" id="M000071-source">
144
144
  <pre>
145
145
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/kernel.rb, line 12</span>
146
146
  12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retryable</span>(<span class="ruby-identifier">options</span> = {}, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -0,0 +1,113 @@
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: Mack::Utils::BlankSlate</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">Mack::Utils::BlankSlate</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mack-facets/utils/blank_slate_rb.html">
59
+ lib/mack-facets/utils/blank_slate.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
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <div id="validator-badges">
109
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
+ </div>
111
+
112
+ </body>
113
+ </html>
@@ -83,16 +83,16 @@
83
83
  <div id="description">
84
84
  <p>
85
85
  This class is used to deal with inflection strings. This means taken a
86
- string and make it <a href="Inflector.html#M000040">plural</a>, or <a
87
- href="Inflector.html#M000041">singular</a>, etc&#8230; Inflection rules can
86
+ string and make it <a href="Inflector.html#M000042">plural</a>, or <a
87
+ href="Inflector.html#M000043">singular</a>, etc&#8230; Inflection rules can
88
88
  be added very easy, and are checked from the bottom up. This means that the
89
89
  last rule is the first rule to be matched. The exception to this, kind of,
90
- is &#8216;<a href="Inflector.html#M000042">irregular</a>&#8217; and
90
+ is &#8216;<a href="Inflector.html#M000044">irregular</a>&#8217; and
91
91
  &#8216;uncountable&#8217; rules. The &#8216;uncountable&#8217; rules are
92
92
  always checked first, then the &#8216;<a
93
- href="Inflector.html#M000042">irregular</a>&#8217; rules, and finally
94
- either the &#8216;<a href="Inflector.html#M000041">singular</a>&#8217; or
95
- &#8216;<a href="Inflector.html#M000040">plural</a>&#8217; rules, depending
93
+ href="Inflector.html#M000044">irregular</a>&#8217; rules, and finally
94
+ either the &#8216;<a href="Inflector.html#M000043">singular</a>&#8217; or
95
+ &#8216;<a href="Inflector.html#M000042">plural</a>&#8217; rules, depending
96
96
  on what you&#8216;re trying to do. Within each of these sets of rules, the
97
97
  last rule in is the first rule matched.
98
98
  </p>
@@ -123,12 +123,12 @@ Example:
123
123
  <h3 class="section-bar">Methods</h3>
124
124
 
125
125
  <div class="name-list">
126
- <a href="#M000045">inflections</a>&nbsp;&nbsp;
127
- <a href="#M000042">irregular</a>&nbsp;&nbsp;
128
- <a href="#M000040">plural</a>&nbsp;&nbsp;
129
- <a href="#M000044">pluralize</a>&nbsp;&nbsp;
130
- <a href="#M000041">singular</a>&nbsp;&nbsp;
131
- <a href="#M000043">singularize</a>&nbsp;&nbsp;
126
+ <a href="#M000047">inflections</a>&nbsp;&nbsp;
127
+ <a href="#M000044">irregular</a>&nbsp;&nbsp;
128
+ <a href="#M000042">plural</a>&nbsp;&nbsp;
129
+ <a href="#M000046">pluralize</a>&nbsp;&nbsp;
130
+ <a href="#M000043">singular</a>&nbsp;&nbsp;
131
+ <a href="#M000045">singularize</a>&nbsp;&nbsp;
132
132
  </div>
133
133
  </div>
134
134
 
@@ -157,11 +157,11 @@ Example:
157
157
  <div id="methods">
158
158
  <h3 class="section-bar">Public Class methods</h3>
159
159
 
160
- <div id="method-M000045" class="method-detail">
161
- <a name="M000045"></a>
160
+ <div id="method-M000047" class="method-detail">
161
+ <a name="M000047"></a>
162
162
 
163
163
  <div class="method-heading">
164
- <a href="#M000045" class="method-signature">
164
+ <a href="#M000047" class="method-signature">
165
165
  <span class="method-name">inflections</span><span class="method-args">() {|Mack::Utils::Inflector.instance| ...}</span>
166
166
  </a>
167
167
  </div>
@@ -171,8 +171,8 @@ Example:
171
171
  Yields up Mack::Utils::Inflector.instance
172
172
  </p>
173
173
  <p><a class="source-toggle" href="#"
174
- onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
175
- <div class="method-source-code" id="M000045-source">
174
+ onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
175
+ <div class="method-source-code" id="M000047-source">
176
176
  <pre>
177
177
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 87</span>
178
178
  87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inflections</span>
@@ -189,18 +189,18 @@ Yields up Mack::Utils::Inflector.instance
189
189
 
190
190
  <h3 class="section-bar">Public Instance methods</h3>
191
191
 
192
- <div id="method-M000042" class="method-detail">
193
- <a name="M000042"></a>
192
+ <div id="method-M000044" class="method-detail">
193
+ <a name="M000044"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000042" class="method-signature">
196
+ <a href="#M000044" class="method-signature">
197
197
  <span class="method-name">irregular</span><span class="method-args">(rule, replacement)</span>
198
198
  </a>
199
199
  </div>
200
200
 
201
201
  <div class="method-description">
202
202
  <p>
203
- Adds a <a href="Inflector.html#M000042">irregular</a> rule to the system.
203
+ Adds a <a href="Inflector.html#M000044">irregular</a> rule to the system.
204
204
  </p>
205
205
  <p>
206
206
  Example:
@@ -212,8 +212,8 @@ Example:
212
212
  end
213
213
  </pre>
214
214
  <p><a class="source-toggle" href="#"
215
- onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
216
- <div class="method-source-code" id="M000042-source">
215
+ onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
216
+ <div class="method-source-code" id="M000044-source">
217
217
  <pre>
218
218
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 58</span>
219
219
  58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">irregular</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
@@ -225,18 +225,18 @@ Example:
225
225
  </div>
226
226
  </div>
227
227
 
228
- <div id="method-M000040" class="method-detail">
229
- <a name="M000040"></a>
228
+ <div id="method-M000042" class="method-detail">
229
+ <a name="M000042"></a>
230
230
 
231
231
  <div class="method-heading">
232
- <a href="#M000040" class="method-signature">
232
+ <a href="#M000042" class="method-signature">
233
233
  <span class="method-name">plural</span><span class="method-args">(rule, replacement)</span>
234
234
  </a>
235
235
  </div>
236
236
 
237
237
  <div class="method-description">
238
238
  <p>
239
- Adds a <a href="Inflector.html#M000040">plural</a> rule to the system.
239
+ Adds a <a href="Inflector.html#M000042">plural</a> rule to the system.
240
240
  </p>
241
241
  <p>
242
242
  Example:
@@ -249,8 +249,8 @@ Example:
249
249
  end
250
250
  </pre>
251
251
  <p><a class="source-toggle" href="#"
252
- onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
253
- <div class="method-source-code" id="M000040-source">
252
+ onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
253
+ <div class="method-source-code" id="M000042-source">
254
254
  <pre>
255
255
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 35</span>
256
256
  35: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">plural</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
@@ -261,18 +261,18 @@ Example:
261
261
  </div>
262
262
  </div>
263
263
 
264
- <div id="method-M000044" class="method-detail">
265
- <a name="M000044"></a>
264
+ <div id="method-M000046" class="method-detail">
265
+ <a name="M000046"></a>
266
266
 
267
267
  <div class="method-heading">
268
- <a href="#M000044" class="method-signature">
268
+ <a href="#M000046" class="method-signature">
269
269
  <span class="method-name">pluralize</span><span class="method-args">(word)</span>
270
270
  </a>
271
271
  </div>
272
272
 
273
273
  <div class="method-description">
274
274
  <p>
275
- Returns the <a href="Inflector.html#M000041">singular</a> version of the
275
+ Returns the <a href="Inflector.html#M000043">singular</a> version of the
276
276
  word, if possible.
277
277
  </p>
278
278
  <p>
@@ -284,8 +284,8 @@ Examples:
284
284
  Mack::Utils::Inflector.instance.pluralize(&quot;boat&quot;) # =&gt; &quot;boats&quot;
285
285
  </pre>
286
286
  <p><a class="source-toggle" href="#"
287
- onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
288
- <div class="method-source-code" id="M000044-source">
287
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
288
+ <div class="method-source-code" id="M000046-source">
289
289
  <pre>
290
290
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 79</span>
291
291
  79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pluralize</span>(<span class="ruby-identifier">word</span>)
@@ -296,18 +296,18 @@ Examples:
296
296
  </div>
297
297
  </div>
298
298
 
299
- <div id="method-M000041" class="method-detail">
300
- <a name="M000041"></a>
299
+ <div id="method-M000043" class="method-detail">
300
+ <a name="M000043"></a>
301
301
 
302
302
  <div class="method-heading">
303
- <a href="#M000041" class="method-signature">
303
+ <a href="#M000043" class="method-signature">
304
304
  <span class="method-name">singular</span><span class="method-args">(rule, replacement)</span>
305
305
  </a>
306
306
  </div>
307
307
 
308
308
  <div class="method-description">
309
309
  <p>
310
- Adds a <a href="Inflector.html#M000041">singular</a> rule to the system.
310
+ Adds a <a href="Inflector.html#M000043">singular</a> rule to the system.
311
311
  </p>
312
312
  <p>
313
313
  Example:
@@ -320,8 +320,8 @@ Example:
320
320
  end
321
321
  </pre>
322
322
  <p><a class="source-toggle" href="#"
323
- onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
324
- <div class="method-source-code" id="M000041-source">
323
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
324
+ <div class="method-source-code" id="M000043-source">
325
325
  <pre>
326
326
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 47</span>
327
327
  47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singular</span>(<span class="ruby-identifier">rule</span>, <span class="ruby-identifier">replacement</span>)
@@ -332,18 +332,18 @@ Example:
332
332
  </div>
333
333
  </div>
334
334
 
335
- <div id="method-M000043" class="method-detail">
336
- <a name="M000043"></a>
335
+ <div id="method-M000045" class="method-detail">
336
+ <a name="M000045"></a>
337
337
 
338
338
  <div class="method-heading">
339
- <a href="#M000043" class="method-signature">
339
+ <a href="#M000045" class="method-signature">
340
340
  <span class="method-name">singularize</span><span class="method-args">(word)</span>
341
341
  </a>
342
342
  </div>
343
343
 
344
344
  <div class="method-description">
345
345
  <p>
346
- Returns the <a href="Inflector.html#M000041">singular</a> version of the
346
+ Returns the <a href="Inflector.html#M000043">singular</a> version of the
347
347
  word, if possible.
348
348
  </p>
349
349
  <p>
@@ -355,8 +355,8 @@ Examples:
355
355
  Mack::Utils::Inflector.instance.singularize(&quot;boats&quot;) # =&gt; &quot;boat&quot;
356
356
  </pre>
357
357
  <p><a class="source-toggle" href="#"
358
- onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
359
- <div class="method-source-code" id="M000043-source">
358
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
359
+ <div class="method-source-code" id="M000045-source">
360
360
  <pre>
361
361
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/inflector.rb, line 69</span>
362
362
  69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">singularize</span>(<span class="ruby-identifier">word</span>)
@@ -96,17 +96,17 @@ much the same.
96
96
  <h3 class="section-bar">Methods</h3>
97
97
 
98
98
  <div class="name-list">
99
- <a href="#M000059">add</a>&nbsp;&nbsp;
100
- <a href="#M000064">add</a>&nbsp;&nbsp;
101
- <a href="#M000062">clear!</a>&nbsp;&nbsp;
102
- <a href="#M000057">initial_state</a>&nbsp;&nbsp;
103
- <a href="#M000067">move_to_bottom</a>&nbsp;&nbsp;
104
- <a href="#M000066">move_to_top</a>&nbsp;&nbsp;
105
- <a href="#M000061">registered_items</a>&nbsp;&nbsp;
106
- <a href="#M000060">remove</a>&nbsp;&nbsp;
107
- <a href="#M000065">remove</a>&nbsp;&nbsp;
108
- <a href="#M000063">reset!</a>&nbsp;&nbsp;
109
- <a href="#M000058">reset!</a>&nbsp;&nbsp;
99
+ <a href="#M000061">add</a>&nbsp;&nbsp;
100
+ <a href="#M000066">add</a>&nbsp;&nbsp;
101
+ <a href="#M000064">clear!</a>&nbsp;&nbsp;
102
+ <a href="#M000059">initial_state</a>&nbsp;&nbsp;
103
+ <a href="#M000069">move_to_bottom</a>&nbsp;&nbsp;
104
+ <a href="#M000068">move_to_top</a>&nbsp;&nbsp;
105
+ <a href="#M000063">registered_items</a>&nbsp;&nbsp;
106
+ <a href="#M000062">remove</a>&nbsp;&nbsp;
107
+ <a href="#M000067">remove</a>&nbsp;&nbsp;
108
+ <a href="#M000065">reset!</a>&nbsp;&nbsp;
109
+ <a href="#M000060">reset!</a>&nbsp;&nbsp;
110
110
  </div>
111
111
  </div>
112
112
 
@@ -152,11 +152,11 @@ The list of registered items
152
152
  <div id="methods">
153
153
  <h3 class="section-bar">Public Class methods</h3>
154
154
 
155
- <div id="method-M000064" class="method-detail">
156
- <a name="M000064"></a>
155
+ <div id="method-M000066" class="method-detail">
156
+ <a name="M000066"></a>
157
157
 
158
158
  <div class="method-heading">
159
- <a href="#M000064" class="method-signature">
159
+ <a href="#M000066" class="method-signature">
160
160
  <span class="method-name">add</span><span class="method-args">(klass, position = registered_items.size)</span>
161
161
  </a>
162
162
  </div>
@@ -167,8 +167,8 @@ Adds an object to the list at a specified position. By default the position
167
167
  is last.
168
168
  </p>
169
169
  <p><a class="source-toggle" href="#"
170
- onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
171
- <div class="method-source-code" id="M000064-source">
170
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
171
+ <div class="method-source-code" id="M000066-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 59</span>
174
174
  59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">position</span> = <span class="ruby-identifier">registered_items</span>.<span class="ruby-identifier">size</span>)
@@ -179,11 +179,11 @@ is last.
179
179
  </div>
180
180
  </div>
181
181
 
182
- <div id="method-M000062" class="method-detail">
183
- <a name="M000062"></a>
182
+ <div id="method-M000064" class="method-detail">
183
+ <a name="M000064"></a>
184
184
 
185
185
  <div class="method-heading">
186
- <a href="#M000062" class="method-signature">
186
+ <a href="#M000064" class="method-signature">
187
187
  <span class="method-name">clear!</span><span class="method-args">()</span>
188
188
  </a>
189
189
  </div>
@@ -191,11 +191,11 @@ is last.
191
191
  <div class="method-description">
192
192
  <p>
193
193
  Emptys out the list of <a
194
- href="RegistryList.html#M000061">registered_items</a>.
194
+ href="RegistryList.html#M000063">registered_items</a>.
195
195
  </p>
196
196
  <p><a class="source-toggle" href="#"
197
- onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
198
- <div class="method-source-code" id="M000062-source">
197
+ onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
198
+ <div class="method-source-code" id="M000064-source">
199
199
  <pre>
200
200
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 49</span>
201
201
  49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear!</span>
@@ -206,11 +206,11 @@ href="RegistryList.html#M000061">registered_items</a>.
206
206
  </div>
207
207
  </div>
208
208
 
209
- <div id="method-M000067" class="method-detail">
210
- <a name="M000067"></a>
209
+ <div id="method-M000069" class="method-detail">
210
+ <a name="M000069"></a>
211
211
 
212
212
  <div class="method-heading">
213
- <a href="#M000067" class="method-signature">
213
+ <a href="#M000069" class="method-signature">
214
214
  <span class="method-name">move_to_bottom</span><span class="method-args">(klass)</span>
215
215
  </a>
216
216
  </div>
@@ -218,11 +218,11 @@ href="RegistryList.html#M000061">registered_items</a>.
218
218
  <div class="method-description">
219
219
  <p>
220
220
  Moves an object to the bottom of the <a
221
- href="RegistryList.html#M000061">registered_items</a> list.
221
+ href="RegistryList.html#M000063">registered_items</a> list.
222
222
  </p>
223
223
  <p><a class="source-toggle" href="#"
224
- onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
225
- <div class="method-source-code" id="M000067-source">
224
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
225
+ <div class="method-source-code" id="M000069-source">
226
226
  <pre>
227
227
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 74</span>
228
228
  74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">move_to_bottom</span>(<span class="ruby-identifier">klass</span>)
@@ -234,11 +234,11 @@ href="RegistryList.html#M000061">registered_items</a> list.
234
234
  </div>
235
235
  </div>
236
236
 
237
- <div id="method-M000066" class="method-detail">
238
- <a name="M000066"></a>
237
+ <div id="method-M000068" class="method-detail">
238
+ <a name="M000068"></a>
239
239
 
240
240
  <div class="method-heading">
241
- <a href="#M000066" class="method-signature">
241
+ <a href="#M000068" class="method-signature">
242
242
  <span class="method-name">move_to_top</span><span class="method-args">(klass)</span>
243
243
  </a>
244
244
  </div>
@@ -246,11 +246,11 @@ href="RegistryList.html#M000061">registered_items</a> list.
246
246
  <div class="method-description">
247
247
  <p>
248
248
  Moves an object to the top of the <a
249
- href="RegistryList.html#M000061">registered_items</a> list.
249
+ href="RegistryList.html#M000063">registered_items</a> list.
250
250
  </p>
251
251
  <p><a class="source-toggle" href="#"
252
- onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
253
- <div class="method-source-code" id="M000066-source">
252
+ onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
253
+ <div class="method-source-code" id="M000068-source">
254
254
  <pre>
255
255
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 69</span>
256
256
  69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">move_to_top</span>(<span class="ruby-identifier">klass</span>)
@@ -261,11 +261,11 @@ href="RegistryList.html#M000061">registered_items</a> list.
261
261
  </div>
262
262
  </div>
263
263
 
264
- <div id="method-M000061" class="method-detail">
265
- <a name="M000061"></a>
264
+ <div id="method-M000063" class="method-detail">
265
+ <a name="M000063"></a>
266
266
 
267
267
  <div class="method-heading">
268
- <a href="#M000061" class="method-signature">
268
+ <a href="#M000063" class="method-signature">
269
269
  <span class="method-name">registered_items</span><span class="method-args">()</span>
270
270
  </a>
271
271
  </div>
@@ -275,8 +275,8 @@ href="RegistryList.html#M000061">registered_items</a> list.
275
275
  Returns the list of registered items.
276
276
  </p>
277
277
  <p><a class="source-toggle" href="#"
278
- onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
279
- <div class="method-source-code" id="M000061-source">
278
+ onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
279
+ <div class="method-source-code" id="M000063-source">
280
280
  <pre>
281
281
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 44</span>
282
282
  44: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">registered_items</span>
@@ -287,11 +287,11 @@ Returns the list of registered items.
287
287
  </div>
288
288
  </div>
289
289
 
290
- <div id="method-M000065" class="method-detail">
291
- <a name="M000065"></a>
290
+ <div id="method-M000067" class="method-detail">
291
+ <a name="M000067"></a>
292
292
 
293
293
  <div class="method-heading">
294
- <a href="#M000065" class="method-signature">
294
+ <a href="#M000067" class="method-signature">
295
295
  <span class="method-name">remove</span><span class="method-args">(klass)</span>
296
296
  </a>
297
297
  </div>
@@ -301,8 +301,8 @@ Returns the list of registered items.
301
301
  Removes an object from the list.
302
302
  </p>
303
303
  <p><a class="source-toggle" href="#"
304
- onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
305
- <div class="method-source-code" id="M000065-source">
304
+ onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
305
+ <div class="method-source-code" id="M000067-source">
306
306
  <pre>
307
307
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 64</span>
308
308
  64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">klass</span>)
@@ -313,24 +313,24 @@ Removes an object from the list.
313
313
  </div>
314
314
  </div>
315
315
 
316
- <div id="method-M000063" class="method-detail">
317
- <a name="M000063"></a>
316
+ <div id="method-M000065" class="method-detail">
317
+ <a name="M000065"></a>
318
318
 
319
319
  <div class="method-heading">
320
- <a href="#M000063" class="method-signature">
320
+ <a href="#M000065" class="method-signature">
321
321
  <span class="method-name">reset!</span><span class="method-args">()</span>
322
322
  </a>
323
323
  </div>
324
324
 
325
325
  <div class="method-description">
326
326
  <p>
327
- Resets the <a href="RegistryList.html#M000061">registered_items</a> list to
327
+ Resets the <a href="RegistryList.html#M000063">registered_items</a> list to
328
328
  the list specified by the <a
329
- href="RegistryList.html#M000057">initial_state</a> method.
329
+ href="RegistryList.html#M000059">initial_state</a> method.
330
330
  </p>
331
331
  <p><a class="source-toggle" href="#"
332
- onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
333
- <div class="method-source-code" id="M000063-source">
332
+ onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
333
+ <div class="method-source-code" id="M000065-source">
334
334
  <pre>
335
335
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 54</span>
336
336
  54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset!</span>
@@ -343,11 +343,11 @@ href="RegistryList.html#M000057">initial_state</a> method.
343
343
 
344
344
  <h3 class="section-bar">Public Instance methods</h3>
345
345
 
346
- <div id="method-M000059" class="method-detail">
347
- <a name="M000059"></a>
346
+ <div id="method-M000061" class="method-detail">
347
+ <a name="M000061"></a>
348
348
 
349
349
  <div class="method-heading">
350
- <a href="#M000059" class="method-signature">
350
+ <a href="#M000061" class="method-signature">
351
351
  <span class="method-name">add</span><span class="method-args">(klass, position = self.registered_items.size)</span>
352
352
  </a>
353
353
  </div>
@@ -358,8 +358,8 @@ Adds an object to the list at a specified position. By default the position
358
358
  is last.
359
359
  </p>
360
360
  <p><a class="source-toggle" href="#"
361
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
362
- <div class="method-source-code" id="M000059-source">
361
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
362
+ <div class="method-source-code" id="M000061-source">
363
363
  <pre>
364
364
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 30</span>
365
365
  30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">klass</span>, <span class="ruby-identifier">position</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">registered_items</span>.<span class="ruby-identifier">size</span>)
@@ -372,11 +372,11 @@ is last.
372
372
  </div>
373
373
  </div>
374
374
 
375
- <div id="method-M000057" class="method-detail">
376
- <a name="M000057"></a>
375
+ <div id="method-M000059" class="method-detail">
376
+ <a name="M000059"></a>
377
377
 
378
378
  <div class="method-heading">
379
- <a href="#M000057" class="method-signature">
379
+ <a href="#M000059" class="method-signature">
380
380
  <span class="method-name">initial_state</span><span class="method-args">()</span>
381
381
  </a>
382
382
  </div>
@@ -384,12 +384,12 @@ is last.
384
384
  <div class="method-description">
385
385
  <p>
386
386
  Override this method to set the initial state of the <a
387
- href="RegistryList.html#M000061">registered_items</a> <a
387
+ href="RegistryList.html#M000063">registered_items</a> <a
388
388
  href="../../Array.html">Array</a>. By default this list is empty.
389
389
  </p>
390
390
  <p><a class="source-toggle" href="#"
391
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
392
- <div class="method-source-code" id="M000057-source">
391
+ onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
392
+ <div class="method-source-code" id="M000059-source">
393
393
  <pre>
394
394
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 20</span>
395
395
  20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initial_state</span>
@@ -400,11 +400,11 @@ href="../../Array.html">Array</a>. By default this list is empty.
400
400
  </div>
401
401
  </div>
402
402
 
403
- <div id="method-M000060" class="method-detail">
404
- <a name="M000060"></a>
403
+ <div id="method-M000062" class="method-detail">
404
+ <a name="M000062"></a>
405
405
 
406
406
  <div class="method-heading">
407
- <a href="#M000060" class="method-signature">
407
+ <a href="#M000062" class="method-signature">
408
408
  <span class="method-name">remove</span><span class="method-args">(klass)</span>
409
409
  </a>
410
410
  </div>
@@ -414,8 +414,8 @@ href="../../Array.html">Array</a>. By default this list is empty.
414
414
  Removes an object from the list.
415
415
  </p>
416
416
  <p><a class="source-toggle" href="#"
417
- onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
418
- <div class="method-source-code" id="M000060-source">
417
+ onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
418
+ <div class="method-source-code" id="M000062-source">
419
419
  <pre>
420
420
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 37</span>
421
421
  37: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">klass</span>)
@@ -426,24 +426,24 @@ Removes an object from the list.
426
426
  </div>
427
427
  </div>
428
428
 
429
- <div id="method-M000058" class="method-detail">
430
- <a name="M000058"></a>
429
+ <div id="method-M000060" class="method-detail">
430
+ <a name="M000060"></a>
431
431
 
432
432
  <div class="method-heading">
433
- <a href="#M000058" class="method-signature">
433
+ <a href="#M000060" class="method-signature">
434
434
  <span class="method-name">reset!</span><span class="method-args">()</span>
435
435
  </a>
436
436
  </div>
437
437
 
438
438
  <div class="method-description">
439
439
  <p>
440
- Resets the <a href="RegistryList.html#M000061">registered_items</a> list to
440
+ Resets the <a href="RegistryList.html#M000063">registered_items</a> list to
441
441
  the list specified by the <a
442
- href="RegistryList.html#M000057">initial_state</a> method.
442
+ href="RegistryList.html#M000059">initial_state</a> method.
443
443
  </p>
444
444
  <p><a class="source-toggle" href="#"
445
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
446
- <div class="method-source-code" id="M000058-source">
445
+ onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
446
+ <div class="method-source-code" id="M000060-source">
447
447
  <pre>
448
448
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_list.rb, line 25</span>
449
449
  25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset!</span>