mack-facets 0.7.0.1 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/doc/classes/Array.html +60 -60
  2. data/doc/classes/Class.html +18 -18
  3. data/doc/classes/Hash.html +18 -18
  4. data/doc/classes/Kernel.html +40 -12
  5. data/doc/classes/Mack/Facets/DateTime.html +168 -0
  6. data/doc/classes/Mack/Facets.html +111 -0
  7. data/doc/classes/Mack/Utils/BlankSlate.html +113 -0
  8. data/doc/classes/Mack/Utils/Inflector.html +47 -47
  9. data/doc/classes/Mack/Utils/RegistryList.html +74 -74
  10. data/doc/classes/Mack/Utils/RegistryMap.html +71 -71
  11. data/doc/classes/Math.html +18 -18
  12. data/doc/classes/Module.html +12 -12
  13. data/doc/classes/NilClass.html +6 -6
  14. data/doc/classes/Object.html +68 -68
  15. data/doc/classes/String.html +185 -172
  16. data/doc/classes/Symbol.html +6 -6
  17. data/doc/classes/Time.html +204 -0
  18. data/doc/created.rid +1 -1
  19. data/doc/files/README.html +1 -1
  20. data/doc/files/lib/mack-facets/english_extensions/inflect_rb.html +1 -1
  21. data/doc/files/lib/mack-facets/english_extensions/numerals_rb.html +1 -1
  22. data/doc/files/lib/mack-facets/extensions/array_rb.html +1 -1
  23. data/doc/files/lib/mack-facets/extensions/class_rb.html +1 -1
  24. data/doc/files/lib/mack-facets/extensions/date_time_rb.html +129 -0
  25. data/doc/files/lib/mack-facets/extensions/hash_rb.html +1 -1
  26. data/doc/files/lib/mack-facets/extensions/kernel_rb.html +1 -1
  27. data/doc/files/lib/mack-facets/extensions/math_rb.html +1 -1
  28. data/doc/files/lib/mack-facets/extensions/module_rb.html +1 -1
  29. data/doc/files/lib/mack-facets/extensions/nil_class_rb.html +1 -1
  30. data/doc/files/lib/mack-facets/extensions/object_rb.html +1 -1
  31. data/doc/files/lib/mack-facets/extensions/string_rb.html +1 -1
  32. data/doc/files/lib/mack-facets/extensions/symbol_rb.html +1 -1
  33. data/doc/files/lib/mack-facets/extensions/time_rb.html +108 -0
  34. data/doc/files/lib/mack-facets/utils/blank_slate_rb.html +101 -0
  35. data/doc/files/lib/mack-facets/utils/inflections_rb.html +1 -1
  36. data/doc/files/lib/mack-facets/utils/inflector_rb.html +1 -1
  37. data/doc/files/lib/mack-facets/utils/options_merger_rb.html +1 -1
  38. data/doc/files/lib/mack-facets/utils/registry_list_rb.html +1 -1
  39. data/doc/files/lib/mack-facets/utils/registry_map_rb.html +1 -1
  40. data/doc/files/lib/mack-facets_rb.html +3 -3
  41. data/doc/fr_class_index.html +2 -0
  42. data/doc/fr_file_index.html +1 -0
  43. data/doc/fr_method_index.html +75 -71
  44. data/lib/mack-facets/extensions/date_time.rb +36 -0
  45. data/lib/mack-facets/extensions/kernel.rb +5 -0
  46. data/lib/mack-facets/extensions/string.rb +2 -0
  47. data/lib/mack-facets/extensions/time.rb +5 -0
  48. data/lib/mack-facets.rb +3 -4
  49. metadata +12 -4
@@ -101,17 +101,17 @@ ds - july 2008
101
101
  <h3 class="section-bar">Methods</h3>
102
102
 
103
103
  <div class="name-list">
104
+ <a href="#M000045">add</a>&nbsp;&nbsp;
104
105
  <a href="#M000050">add</a>&nbsp;&nbsp;
105
- <a href="#M000055">add</a>&nbsp;&nbsp;
106
- <a href="#M000053">clear!</a>&nbsp;&nbsp;
107
- <a href="#M000048">initial_state</a>&nbsp;&nbsp;
108
- <a href="#M000058">move_to_bottom</a>&nbsp;&nbsp;
109
- <a href="#M000057">move_to_top</a>&nbsp;&nbsp;
110
- <a href="#M000052">registered_items</a>&nbsp;&nbsp;
106
+ <a href="#M000048">clear!</a>&nbsp;&nbsp;
107
+ <a href="#M000043">initial_state</a>&nbsp;&nbsp;
108
+ <a href="#M000053">move_to_bottom</a>&nbsp;&nbsp;
109
+ <a href="#M000052">move_to_top</a>&nbsp;&nbsp;
110
+ <a href="#M000047">registered_items</a>&nbsp;&nbsp;
111
+ <a href="#M000046">remove</a>&nbsp;&nbsp;
111
112
  <a href="#M000051">remove</a>&nbsp;&nbsp;
112
- <a href="#M000056">remove</a>&nbsp;&nbsp;
113
- <a href="#M000054">reset!</a>&nbsp;&nbsp;
114
113
  <a href="#M000049">reset!</a>&nbsp;&nbsp;
114
+ <a href="#M000044">reset!</a>&nbsp;&nbsp;
115
115
  </div>
116
116
  </div>
117
117
 
@@ -157,11 +157,11 @@ The list of registered items
157
157
  <div id="methods">
158
158
  <h3 class="section-bar">Public Class methods</h3>
159
159
 
160
- <div id="method-M000055" class="method-detail">
161
- <a name="M000055"></a>
160
+ <div id="method-M000050" class="method-detail">
161
+ <a name="M000050"></a>
162
162
 
163
163
  <div class="method-heading">
164
- <a href="#M000055" class="method-signature">
164
+ <a href="#M000050" class="method-signature">
165
165
  <span class="method-name">add</span><span class="method-args">(tag, klass, position = -1)</span>
166
166
  </a>
167
167
  </div>
@@ -172,8 +172,8 @@ Adds an object to the list at a specified position. By default the position
172
172
  is last.
173
173
  </p>
174
174
  <p><a class="source-toggle" href="#"
175
- onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
176
- <div class="method-source-code" id="M000055-source">
175
+ onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
176
+ <div class="method-source-code" id="M000050-source">
177
177
  <pre>
178
178
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 70</span>
179
179
  70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>, <span class="ruby-identifier">position</span> = <span class="ruby-value">-1</span>)
@@ -184,11 +184,11 @@ is last.
184
184
  </div>
185
185
  </div>
186
186
 
187
- <div id="method-M000053" class="method-detail">
188
- <a name="M000053"></a>
187
+ <div id="method-M000048" class="method-detail">
188
+ <a name="M000048"></a>
189
189
 
190
190
  <div class="method-heading">
191
- <a href="#M000053" class="method-signature">
191
+ <a href="#M000048" class="method-signature">
192
192
  <span class="method-name">clear!</span><span class="method-args">()</span>
193
193
  </a>
194
194
  </div>
@@ -196,11 +196,11 @@ is last.
196
196
  <div class="method-description">
197
197
  <p>
198
198
  Emptys out the list of <a
199
- href="RegistryMap.html#M000052">registered_items</a>.
199
+ href="RegistryMap.html#M000047">registered_items</a>.
200
200
  </p>
201
201
  <p><a class="source-toggle" href="#"
202
- onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
203
- <div class="method-source-code" id="M000053-source">
202
+ onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
203
+ <div class="method-source-code" id="M000048-source">
204
204
  <pre>
205
205
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 60</span>
206
206
  60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear!</span>
@@ -211,11 +211,11 @@ href="RegistryMap.html#M000052">registered_items</a>.
211
211
  </div>
212
212
  </div>
213
213
 
214
- <div id="method-M000058" class="method-detail">
215
- <a name="M000058"></a>
214
+ <div id="method-M000053" class="method-detail">
215
+ <a name="M000053"></a>
216
216
 
217
217
  <div class="method-heading">
218
- <a href="#M000058" class="method-signature">
218
+ <a href="#M000053" class="method-signature">
219
219
  <span class="method-name">move_to_bottom</span><span class="method-args">(tag, klass)</span>
220
220
  </a>
221
221
  </div>
@@ -223,11 +223,11 @@ href="RegistryMap.html#M000052">registered_items</a>.
223
223
  <div class="method-description">
224
224
  <p>
225
225
  Moves an object to the bottom of the <a
226
- href="RegistryMap.html#M000052">registered_items</a> list.
226
+ href="RegistryMap.html#M000047">registered_items</a> list.
227
227
  </p>
228
228
  <p><a class="source-toggle" href="#"
229
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
230
- <div class="method-source-code" id="M000058-source">
229
+ onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
230
+ <div class="method-source-code" id="M000053-source">
231
231
  <pre>
232
232
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 85</span>
233
233
  85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">move_to_bottom</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>)
@@ -239,11 +239,11 @@ href="RegistryMap.html#M000052">registered_items</a> list.
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000057" class="method-detail">
243
- <a name="M000057"></a>
242
+ <div id="method-M000052" class="method-detail">
243
+ <a name="M000052"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="#M000057" class="method-signature">
246
+ <a href="#M000052" class="method-signature">
247
247
  <span class="method-name">move_to_top</span><span class="method-args">(tag, klass)</span>
248
248
  </a>
249
249
  </div>
@@ -251,11 +251,11 @@ href="RegistryMap.html#M000052">registered_items</a> list.
251
251
  <div class="method-description">
252
252
  <p>
253
253
  Moves an object to the top of the <a
254
- href="RegistryMap.html#M000052">registered_items</a> list.
254
+ href="RegistryMap.html#M000047">registered_items</a> list.
255
255
  </p>
256
256
  <p><a class="source-toggle" href="#"
257
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
258
- <div class="method-source-code" id="M000057-source">
257
+ onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
258
+ <div class="method-source-code" id="M000052-source">
259
259
  <pre>
260
260
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 80</span>
261
261
  80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">move_to_top</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>)
@@ -266,11 +266,11 @@ href="RegistryMap.html#M000052">registered_items</a> list.
266
266
  </div>
267
267
  </div>
268
268
 
269
- <div id="method-M000052" class="method-detail">
270
- <a name="M000052"></a>
269
+ <div id="method-M000047" class="method-detail">
270
+ <a name="M000047"></a>
271
271
 
272
272
  <div class="method-heading">
273
- <a href="#M000052" class="method-signature">
273
+ <a href="#M000047" class="method-signature">
274
274
  <span class="method-name">registered_items</span><span class="method-args">()</span>
275
275
  </a>
276
276
  </div>
@@ -280,8 +280,8 @@ href="RegistryMap.html#M000052">registered_items</a> list.
280
280
  Returns the list of registered items.
281
281
  </p>
282
282
  <p><a class="source-toggle" href="#"
283
- onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
284
- <div class="method-source-code" id="M000052-source">
283
+ onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
284
+ <div class="method-source-code" id="M000047-source">
285
285
  <pre>
286
286
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 55</span>
287
287
  55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">registered_items</span>
@@ -292,11 +292,11 @@ Returns the list of registered items.
292
292
  </div>
293
293
  </div>
294
294
 
295
- <div id="method-M000056" class="method-detail">
296
- <a name="M000056"></a>
295
+ <div id="method-M000051" class="method-detail">
296
+ <a name="M000051"></a>
297
297
 
298
298
  <div class="method-heading">
299
- <a href="#M000056" class="method-signature">
299
+ <a href="#M000051" class="method-signature">
300
300
  <span class="method-name">remove</span><span class="method-args">(tag, klass)</span>
301
301
  </a>
302
302
  </div>
@@ -306,8 +306,8 @@ Returns the list of registered items.
306
306
  Removes an object from the list.
307
307
  </p>
308
308
  <p><a class="source-toggle" href="#"
309
- onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
310
- <div class="method-source-code" id="M000056-source">
309
+ onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
310
+ <div class="method-source-code" id="M000051-source">
311
311
  <pre>
312
312
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 75</span>
313
313
  75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>)
@@ -318,24 +318,24 @@ Removes an object from the list.
318
318
  </div>
319
319
  </div>
320
320
 
321
- <div id="method-M000054" class="method-detail">
322
- <a name="M000054"></a>
321
+ <div id="method-M000049" class="method-detail">
322
+ <a name="M000049"></a>
323
323
 
324
324
  <div class="method-heading">
325
- <a href="#M000054" class="method-signature">
325
+ <a href="#M000049" class="method-signature">
326
326
  <span class="method-name">reset!</span><span class="method-args">()</span>
327
327
  </a>
328
328
  </div>
329
329
 
330
330
  <div class="method-description">
331
331
  <p>
332
- Resets the <a href="RegistryMap.html#M000052">registered_items</a> list to
332
+ Resets the <a href="RegistryMap.html#M000047">registered_items</a> list to
333
333
  the list specified by the <a
334
- href="RegistryMap.html#M000048">initial_state</a> method.
334
+ href="RegistryMap.html#M000043">initial_state</a> method.
335
335
  </p>
336
336
  <p><a class="source-toggle" href="#"
337
- onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
338
- <div class="method-source-code" id="M000054-source">
337
+ onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
338
+ <div class="method-source-code" id="M000049-source">
339
339
  <pre>
340
340
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 65</span>
341
341
  65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset!</span>
@@ -348,11 +348,11 @@ href="RegistryMap.html#M000048">initial_state</a> method.
348
348
 
349
349
  <h3 class="section-bar">Public Instance methods</h3>
350
350
 
351
- <div id="method-M000050" class="method-detail">
352
- <a name="M000050"></a>
351
+ <div id="method-M000045" class="method-detail">
352
+ <a name="M000045"></a>
353
353
 
354
354
  <div class="method-heading">
355
- <a href="#M000050" class="method-signature">
355
+ <a href="#M000045" class="method-signature">
356
356
  <span class="method-name">add</span><span class="method-args">(tag, klass, position = -1)</span>
357
357
  </a>
358
358
  </div>
@@ -363,8 +363,8 @@ Adds an object to the list at a specified position. By default the position
363
363
  is last.
364
364
  </p>
365
365
  <p><a class="source-toggle" href="#"
366
- onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
367
- <div class="method-source-code" id="M000050-source">
366
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
367
+ <div class="method-source-code" id="M000045-source">
368
368
  <pre>
369
369
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 36</span>
370
370
  36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>, <span class="ruby-identifier">position</span> = <span class="ruby-value">-1</span>)
@@ -381,11 +381,11 @@ is last.
381
381
  </div>
382
382
  </div>
383
383
 
384
- <div id="method-M000048" class="method-detail">
385
- <a name="M000048"></a>
384
+ <div id="method-M000043" class="method-detail">
385
+ <a name="M000043"></a>
386
386
 
387
387
  <div class="method-heading">
388
- <a href="#M000048" class="method-signature">
388
+ <a href="#M000043" class="method-signature">
389
389
  <span class="method-name">initial_state</span><span class="method-args">()</span>
390
390
  </a>
391
391
  </div>
@@ -393,12 +393,12 @@ is last.
393
393
  <div class="method-description">
394
394
  <p>
395
395
  Override this method to set the initial state of the <a
396
- href="RegistryMap.html#M000052">registered_items</a> <a
396
+ href="RegistryMap.html#M000047">registered_items</a> <a
397
397
  href="../../Array.html">Array</a>. By default this list is empty.
398
398
  </p>
399
399
  <p><a class="source-toggle" href="#"
400
- onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
401
- <div class="method-source-code" id="M000048-source">
400
+ onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
401
+ <div class="method-source-code" id="M000043-source">
402
402
  <pre>
403
403
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 26</span>
404
404
  26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initial_state</span>
@@ -409,11 +409,11 @@ href="../../Array.html">Array</a>. By default this list is empty.
409
409
  </div>
410
410
  </div>
411
411
 
412
- <div id="method-M000051" class="method-detail">
413
- <a name="M000051"></a>
412
+ <div id="method-M000046" class="method-detail">
413
+ <a name="M000046"></a>
414
414
 
415
415
  <div class="method-heading">
416
- <a href="#M000051" class="method-signature">
416
+ <a href="#M000046" class="method-signature">
417
417
  <span class="method-name">remove</span><span class="method-args">(tag, klass)</span>
418
418
  </a>
419
419
  </div>
@@ -423,8 +423,8 @@ href="../../Array.html">Array</a>. By default this list is empty.
423
423
  Removes an object from the list.
424
424
  </p>
425
425
  <p><a class="source-toggle" href="#"
426
- onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
427
- <div class="method-source-code" id="M000051-source">
426
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
427
+ <div class="method-source-code" id="M000046-source">
428
428
  <pre>
429
429
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 47</span>
430
430
  47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">klass</span>)
@@ -436,24 +436,24 @@ Removes an object from the list.
436
436
  </div>
437
437
  </div>
438
438
 
439
- <div id="method-M000049" class="method-detail">
440
- <a name="M000049"></a>
439
+ <div id="method-M000044" class="method-detail">
440
+ <a name="M000044"></a>
441
441
 
442
442
  <div class="method-heading">
443
- <a href="#M000049" class="method-signature">
443
+ <a href="#M000044" class="method-signature">
444
444
  <span class="method-name">reset!</span><span class="method-args">()</span>
445
445
  </a>
446
446
  </div>
447
447
 
448
448
  <div class="method-description">
449
449
  <p>
450
- Resets the <a href="RegistryMap.html#M000052">registered_items</a> list to
450
+ Resets the <a href="RegistryMap.html#M000047">registered_items</a> list to
451
451
  the list specified by the <a
452
- href="RegistryMap.html#M000048">initial_state</a> method.
452
+ href="RegistryMap.html#M000043">initial_state</a> method.
453
453
  </p>
454
454
  <p><a class="source-toggle" href="#"
455
- onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
456
- <div class="method-source-code" id="M000049-source">
455
+ onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
456
+ <div class="method-source-code" id="M000044-source">
457
457
  <pre>
458
458
  <span class="ruby-comment cmt"># File lib/mack-facets/utils/registry_map.rb, line 31</span>
459
459
  31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset!</span>
@@ -80,9 +80,9 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000072">log2</a>&nbsp;&nbsp;
84
- <a href="#M000074">max</a>&nbsp;&nbsp;
85
- <a href="#M000073">min</a>&nbsp;&nbsp;
83
+ <a href="#M000076">log2</a>&nbsp;&nbsp;
84
+ <a href="#M000078">max</a>&nbsp;&nbsp;
85
+ <a href="#M000077">min</a>&nbsp;&nbsp;
86
86
  </div>
87
87
  </div>
88
88
 
@@ -104,19 +104,19 @@
104
104
  <div id="methods">
105
105
  <h3 class="section-bar">Public Class methods</h3>
106
106
 
107
- <div id="method-M000072" class="method-detail">
108
- <a name="M000072"></a>
107
+ <div id="method-M000076" class="method-detail">
108
+ <a name="M000076"></a>
109
109
 
110
110
  <div class="method-heading">
111
- <a href="#M000072" class="method-signature">
111
+ <a href="#M000076" class="method-signature">
112
112
  <span class="method-name">log2</span><span class="method-args">(x)</span>
113
113
  </a>
114
114
  </div>
115
115
 
116
116
  <div class="method-description">
117
117
  <p><a class="source-toggle" href="#"
118
- onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
119
- <div class="method-source-code" id="M000072-source">
118
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
119
+ <div class="method-source-code" id="M000076-source">
120
120
  <pre>
121
121
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/math.rb, line 3</span>
122
122
  3: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">log2</span>(<span class="ruby-identifier">x</span>)
@@ -127,19 +127,19 @@
127
127
  </div>
128
128
  </div>
129
129
 
130
- <div id="method-M000074" class="method-detail">
131
- <a name="M000074"></a>
130
+ <div id="method-M000078" class="method-detail">
131
+ <a name="M000078"></a>
132
132
 
133
133
  <div class="method-heading">
134
- <a href="#M000074" class="method-signature">
134
+ <a href="#M000078" class="method-signature">
135
135
  <span class="method-name">max</span><span class="method-args">(a, b)</span>
136
136
  </a>
137
137
  </div>
138
138
 
139
139
  <div class="method-description">
140
140
  <p><a class="source-toggle" href="#"
141
- onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
142
- <div class="method-source-code" id="M000074-source">
141
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000078-source">
143
143
  <pre>
144
144
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/math.rb, line 11</span>
145
145
  11: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">max</span>(<span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span>)
@@ -150,19 +150,19 @@
150
150
  </div>
151
151
  </div>
152
152
 
153
- <div id="method-M000073" class="method-detail">
154
- <a name="M000073"></a>
153
+ <div id="method-M000077" class="method-detail">
154
+ <a name="M000077"></a>
155
155
 
156
156
  <div class="method-heading">
157
- <a href="#M000073" class="method-signature">
157
+ <a href="#M000077" class="method-signature">
158
158
  <span class="method-name">min</span><span class="method-args">(a, b)</span>
159
159
  </a>
160
160
  </div>
161
161
 
162
162
  <div class="method-description">
163
163
  <p><a class="source-toggle" href="#"
164
- onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
165
- <div class="method-source-code" id="M000073-source">
164
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
165
+ <div class="method-source-code" id="M000077-source">
166
166
  <pre>
167
167
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/math.rb, line 7</span>
168
168
  7: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">min</span>(<span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span>)
@@ -88,8 +88,8 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000016">convert_security_of_methods</a>&nbsp;&nbsp;
92
- <a href="#M000017">include_safely_into</a>&nbsp;&nbsp;
91
+ <a href="#M000012">convert_security_of_methods</a>&nbsp;&nbsp;
92
+ <a href="#M000013">include_safely_into</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -111,11 +111,11 @@
111
111
  <div id="methods">
112
112
  <h3 class="section-bar">Public Instance methods</h3>
113
113
 
114
- <div id="method-M000016" class="method-detail">
115
- <a name="M000016"></a>
114
+ <div id="method-M000012" class="method-detail">
115
+ <a name="M000012"></a>
116
116
 
117
117
  <div class="method-heading">
118
- <a href="#M000016" class="method-signature">
118
+ <a href="#M000012" class="method-signature">
119
119
  <span class="method-name">convert_security_of_methods</span><span class="method-args">(old_level = :public, new_level = :protected)</span>
120
120
  </a>
121
121
  </div>
@@ -126,8 +126,8 @@ Bulk converts the security level of methods in this <a
126
126
  href="Module.html">Module</a> from one level to another.
127
127
  </p>
128
128
  <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000016-source">
129
+ onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
130
+ <div class="method-source-code" id="M000012-source">
131
131
  <pre>
132
132
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/module.rb, line 4</span>
133
133
  4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">convert_security_of_methods</span>(<span class="ruby-identifier">old_level</span> = <span class="ruby-identifier">:public</span>, <span class="ruby-identifier">new_level</span> = <span class="ruby-identifier">:protected</span>)
@@ -139,11 +139,11 @@ href="Module.html">Module</a> from one level to another.
139
139
  </div>
140
140
  </div>
141
141
 
142
- <div id="method-M000017" class="method-detail">
143
- <a name="M000017"></a>
142
+ <div id="method-M000013" class="method-detail">
143
+ <a name="M000013"></a>
144
144
 
145
145
  <div class="method-heading">
146
- <a href="#M000017" class="method-signature">
146
+ <a href="#M000013" class="method-signature">
147
147
  <span class="method-name">include_safely_into</span><span class="method-args">(*args)</span>
148
148
  </a>
149
149
  </div>
@@ -171,8 +171,8 @@ or:
171
171
  MyCoolUtils.include_safely_into(FooController, SomeOtherClass)
172
172
  </pre>
173
173
  <p><a class="source-toggle" href="#"
174
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
175
- <div class="method-source-code" id="M000017-source">
174
+ onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
175
+ <div class="method-source-code" id="M000013-source">
176
176
  <pre>
177
177
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/module.rb, line 20</span>
178
178
  20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include_safely_into</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000021">to_param</a>&nbsp;&nbsp;
91
+ <a href="#M000033">to_param</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -110,19 +110,19 @@
110
110
  <div id="methods">
111
111
  <h3 class="section-bar">Public Instance methods</h3>
112
112
 
113
- <div id="method-M000021" class="method-detail">
114
- <a name="M000021"></a>
113
+ <div id="method-M000033" class="method-detail">
114
+ <a name="M000033"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="#M000021" class="method-signature">
117
+ <a href="#M000033" class="method-signature">
118
118
  <span class="method-name">to_param</span><span class="method-args">()</span>
119
119
  </a>
120
120
  </div>
121
121
 
122
122
  <div class="method-description">
123
123
  <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000021-source">
124
+ onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000033-source">
126
126
  <pre>
127
127
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/nil_class.rb, line 3</span>
128
128
  3: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_param</span>