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.
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000019">to_param</a>&nbsp;&nbsp;
91
+ <a href="#M000021">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-M000019" class="method-detail">
114
- <a name="M000019"></a>
113
+ <div id="method-M000021" class="method-detail">
114
+ <a name="M000021"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="#M000019" class="method-signature">
117
+ <a href="#M000021" 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('M000019-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000019-source">
124
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000021-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>
@@ -88,17 +88,17 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000023">class_parents</a>&nbsp;&nbsp;
92
- <a href="#M000028">ivar_cache</a>&nbsp;&nbsp;
93
- <a href="#M000029">ivar_cache_clear</a>&nbsp;&nbsp;
94
- <a href="#M000030">namespaces</a>&nbsp;&nbsp;
95
- <a href="#M000025">needs_method</a>&nbsp;&nbsp;
96
- <a href="#M000021">print_methods</a>&nbsp;&nbsp;
97
- <a href="#M000026">running_time</a>&nbsp;&nbsp;
98
- <a href="#M000020">safely_include_module</a>&nbsp;&nbsp;
99
- <a href="#M000027">send_with_chain</a>&nbsp;&nbsp;
100
- <a href="#M000024">to_param</a>&nbsp;&nbsp;
101
- <a href="#M000022">with_options</a>&nbsp;&nbsp;
91
+ <a href="#M000025">class_parents</a>&nbsp;&nbsp;
92
+ <a href="#M000030">ivar_cache</a>&nbsp;&nbsp;
93
+ <a href="#M000031">ivar_cache_clear</a>&nbsp;&nbsp;
94
+ <a href="#M000032">namespaces</a>&nbsp;&nbsp;
95
+ <a href="#M000027">needs_method</a>&nbsp;&nbsp;
96
+ <a href="#M000023">print_methods</a>&nbsp;&nbsp;
97
+ <a href="#M000028">running_time</a>&nbsp;&nbsp;
98
+ <a href="#M000022">safely_include_module</a>&nbsp;&nbsp;
99
+ <a href="#M000029">send_with_chain</a>&nbsp;&nbsp;
100
+ <a href="#M000026">to_param</a>&nbsp;&nbsp;
101
+ <a href="#M000024">with_options</a>&nbsp;&nbsp;
102
102
  </div>
103
103
  </div>
104
104
 
@@ -120,11 +120,11 @@
120
120
  <div id="methods">
121
121
  <h3 class="section-bar">Public Class methods</h3>
122
122
 
123
- <div id="method-M000025" class="method-detail">
124
- <a name="M000025"></a>
123
+ <div id="method-M000027" class="method-detail">
124
+ <a name="M000027"></a>
125
125
 
126
126
  <div class="method-heading">
127
- <a href="#M000025" class="method-signature">
127
+ <a href="#M000027" class="method-signature">
128
128
  <span class="method-name">needs_method</span><span class="method-args">(meth)</span>
129
129
  </a>
130
130
  </div>
@@ -137,8 +137,8 @@ for creating interfaces and you want to stub out methods that others need
137
137
  to implement.
138
138
  </p>
139
139
  <p><a class="source-toggle" href="#"
140
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
141
- <div class="method-source-code" id="M000025-source">
140
+ onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
141
+ <div class="method-source-code" id="M000027-source">
142
142
  <pre>
143
143
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 56</span>
144
144
  56: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">needs_method</span>(<span class="ruby-identifier">meth</span>)
@@ -153,11 +153,11 @@ to implement.
153
153
 
154
154
  <h3 class="section-bar">Public Instance methods</h3>
155
155
 
156
- <div id="method-M000023" class="method-detail">
157
- <a name="M000023"></a>
156
+ <div id="method-M000025" class="method-detail">
157
+ <a name="M000025"></a>
158
158
 
159
159
  <div class="method-heading">
160
- <a href="#M000023" class="method-signature">
160
+ <a href="#M000025" class="method-signature">
161
161
  <span class="method-name">class_parents</span><span class="method-args">()</span>
162
162
  </a>
163
163
  </div>
@@ -167,8 +167,8 @@ to implement.
167
167
  See <a href="Class.html">Class</a> parents for more information.
168
168
  </p>
169
169
  <p><a class="source-toggle" href="#"
170
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
171
- <div class="method-source-code" id="M000023-source">
170
+ onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
171
+ <div class="method-source-code" id="M000025-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 43</span>
174
174
  43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_parents</span>
@@ -179,18 +179,18 @@ See <a href="Class.html">Class</a> parents for more information.
179
179
  </div>
180
180
  </div>
181
181
 
182
- <div id="method-M000028" class="method-detail">
183
- <a name="M000028"></a>
182
+ <div id="method-M000030" class="method-detail">
183
+ <a name="M000030"></a>
184
184
 
185
185
  <div class="method-heading">
186
- <a href="#M000028" class="method-signature">
186
+ <a href="#M000030" class="method-signature">
187
187
  <span class="method-name">ivar_cache</span><span class="method-args">(var_name = nil) {|| ...}</span>
188
188
  </a>
189
189
  </div>
190
190
 
191
191
  <div class="method-description">
192
192
  <p>
193
- <a href="Object.html#M000028">ivar_cache</a> allows you to cache the
193
+ <a href="Object.html#M000030">ivar_cache</a> allows you to cache the
194
194
  results of the block into an instance variable in a class, and then will
195
195
  serve up that instance variable the next time you call that method again.
196
196
  </p>
@@ -234,8 +234,8 @@ overridden like such:
234
234
  now it will cache it to <tt>@foo_var</tt>
235
235
  </p>
236
236
  <p><a class="source-toggle" href="#"
237
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
238
- <div class="method-source-code" id="M000028-source">
237
+ onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
238
+ <div class="method-source-code" id="M000030-source">
239
239
  <pre>
240
240
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 129</span>
241
241
  129: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ivar_cache</span>(<span class="ruby-identifier">var_name</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -254,19 +254,19 @@ now it will cache it to <tt>@foo_var</tt>
254
254
  </div>
255
255
  </div>
256
256
 
257
- <div id="method-M000029" class="method-detail">
258
- <a name="M000029"></a>
257
+ <div id="method-M000031" class="method-detail">
258
+ <a name="M000031"></a>
259
259
 
260
260
  <div class="method-heading">
261
- <a href="#M000029" class="method-signature">
261
+ <a href="#M000031" class="method-signature">
262
262
  <span class="method-name">ivar_cache_clear</span><span class="method-args">(var_name = nil) {|if block_given?| ...}</span>
263
263
  </a>
264
264
  </div>
265
265
 
266
266
  <div class="method-description">
267
267
  <p><a class="source-toggle" href="#"
268
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
269
- <div class="method-source-code" id="M000029-source">
268
+ onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
269
+ <div class="method-source-code" id="M000031-source">
270
270
  <pre>
271
271
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 141</span>
272
272
  141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ivar_cache_clear</span>(<span class="ruby-identifier">var_name</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -282,18 +282,18 @@ now it will cache it to <tt>@foo_var</tt>
282
282
  </div>
283
283
  </div>
284
284
 
285
- <div id="method-M000030" class="method-detail">
286
- <a name="M000030"></a>
285
+ <div id="method-M000032" class="method-detail">
286
+ <a name="M000032"></a>
287
287
 
288
288
  <div class="method-heading">
289
- <a href="#M000030" class="method-signature">
289
+ <a href="#M000032" class="method-signature">
290
290
  <span class="method-name">namespaces</span><span class="method-args">()</span>
291
291
  </a>
292
292
  </div>
293
293
 
294
294
  <div class="method-description">
295
295
  <p>
296
- Returns the <a href="Object.html#M000030">namespaces</a> for a particular
296
+ Returns the <a href="Object.html#M000032">namespaces</a> for a particular
297
297
  object.
298
298
  </p>
299
299
  <p>
@@ -303,8 +303,8 @@ Examples:
303
303
  Animals::Dog::Poodle.new.namespaces # =&gt; [&quot;Animals&quot;, &quot;Dog&quot;]
304
304
  </pre>
305
305
  <p><a class="source-toggle" href="#"
306
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
307
- <div class="method-source-code" id="M000030-source">
306
+ onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
307
+ <div class="method-source-code" id="M000032-source">
308
308
  <pre>
309
309
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 154</span>
310
310
  154: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">namespaces</span>
@@ -321,11 +321,11 @@ Examples:
321
321
  </div>
322
322
  </div>
323
323
 
324
- <div id="method-M000021" class="method-detail">
325
- <a name="M000021"></a>
324
+ <div id="method-M000023" class="method-detail">
325
+ <a name="M000023"></a>
326
326
 
327
327
  <div class="method-heading">
328
- <a href="#M000021" class="method-signature">
328
+ <a href="#M000023" class="method-signature">
329
329
  <span class="method-name">print_methods</span><span class="method-args">()</span>
330
330
  </a>
331
331
  </div>
@@ -335,8 +335,8 @@ Examples:
335
335
  Prints out the methods associated with this object in alphabetical order.
336
336
  </p>
337
337
  <p><a class="source-toggle" href="#"
338
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
339
- <div class="method-source-code" id="M000021-source">
338
+ onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
339
+ <div class="method-source-code" id="M000023-source">
340
340
  <pre>
341
341
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 16</span>
342
342
  16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_methods</span>
@@ -350,11 +350,11 @@ Prints out the methods associated with this object in alphabetical order.
350
350
  </div>
351
351
  </div>
352
352
 
353
- <div id="method-M000026" class="method-detail">
354
- <a name="M000026"></a>
353
+ <div id="method-M000028" class="method-detail">
354
+ <a name="M000028"></a>
355
355
 
356
356
  <div class="method-heading">
357
- <a href="#M000026" class="method-signature">
357
+ <a href="#M000028" class="method-signature">
358
358
  <span class="method-name">running_time</span><span class="method-args">(message = &quot;&quot;, logger = nil) {|if block_given?| ...}</span>
359
359
  </a>
360
360
  </div>
@@ -366,8 +366,8 @@ things like Rake tasks, etc&#8230; where you would like to know how long
366
366
  it, or a section of it took to run.
367
367
  </p>
368
368
  <p><a class="source-toggle" href="#"
369
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
370
- <div class="method-source-code" id="M000026-source">
369
+ onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
370
+ <div class="method-source-code" id="M000028-source">
371
371
  <pre>
372
372
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 65</span>
373
373
  65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">running_time</span>(<span class="ruby-identifier">message</span> = <span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">logger</span> = <span class="ruby-keyword kw">nil</span>)
@@ -395,11 +395,11 @@ it, or a section of it took to run.
395
395
  </div>
396
396
  </div>
397
397
 
398
- <div id="method-M000020" class="method-detail">
399
- <a name="M000020"></a>
398
+ <div id="method-M000022" class="method-detail">
399
+ <a name="M000022"></a>
400
400
 
401
401
  <div class="method-heading">
402
- <a href="#M000020" class="method-signature">
402
+ <a href="#M000022" class="method-signature">
403
403
  <span class="method-name">safely_include_module</span><span class="method-args">(*modules)</span>
404
404
  </a>
405
405
  </div>
@@ -418,8 +418,8 @@ Example:
418
418
  end
419
419
  </pre>
420
420
  <p><a class="source-toggle" href="#"
421
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
422
- <div class="method-source-code" id="M000020-source">
421
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
422
+ <div class="method-source-code" id="M000022-source">
423
423
  <pre>
424
424
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 9</span>
425
425
  9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">safely_include_module</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">modules</span>)
@@ -432,11 +432,11 @@ Example:
432
432
  </div>
433
433
  </div>
434
434
 
435
- <div id="method-M000027" class="method-detail">
436
- <a name="M000027"></a>
435
+ <div id="method-M000029" class="method-detail">
436
+ <a name="M000029"></a>
437
437
 
438
438
  <div class="method-heading">
439
- <a href="#M000027" class="method-signature">
439
+ <a href="#M000029" class="method-signature">
440
440
  <span class="method-name">send_with_chain</span><span class="method-args">(methods, *args)</span>
441
441
  </a>
442
442
  </div>
@@ -459,8 +459,8 @@ This would be the equivalent:
459
459
  Fruit.new.get_citrus.get_orange.class
460
460
  </pre>
461
461
  <p><a class="source-toggle" href="#"
462
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
463
- <div class="method-source-code" id="M000027-source">
462
+ onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
463
+ <div class="method-source-code" id="M000029-source">
464
464
  <pre>
465
465
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 93</span>
466
466
  93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_with_chain</span>(<span class="ruby-identifier">methods</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -473,11 +473,11 @@ This would be the equivalent:
473
473
  </div>
474
474
  </div>
475
475
 
476
- <div id="method-M000024" class="method-detail">
477
- <a name="M000024"></a>
476
+ <div id="method-M000026" class="method-detail">
477
+ <a name="M000026"></a>
478
478
 
479
479
  <div class="method-heading">
480
- <a href="#M000024" class="method-signature">
480
+ <a href="#M000026" class="method-signature">
481
481
  <span class="method-name">to_param</span><span class="method-args">()</span>
482
482
  </a>
483
483
  </div>
@@ -489,8 +489,8 @@ can be overridden in an <a href="Object.html">Object</a> to provlde custom
489
489
  handling of parameters.
490
490
  </p>
491
491
  <p><a class="source-toggle" href="#"
492
- onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
493
- <div class="method-source-code" id="M000024-source">
492
+ onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
493
+ <div class="method-source-code" id="M000026-source">
494
494
  <pre>
495
495
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 49</span>
496
496
  49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_param</span>
@@ -501,11 +501,11 @@ handling of parameters.
501
501
  </div>
502
502
  </div>
503
503
 
504
- <div id="method-M000022" class="method-detail">
505
- <a name="M000022"></a>
504
+ <div id="method-M000024" class="method-detail">
505
+ <a name="M000024"></a>
506
506
 
507
507
  <div class="method-heading">
508
- <a href="#M000022" class="method-signature">
508
+ <a href="#M000024" class="method-signature">
509
509
  <span class="method-name">with_options</span><span class="method-args">(options) {|Mack::Utils::OptionMerger.new(self, options)| ...}</span>
510
510
  </a>
511
511
  </div>
@@ -531,8 +531,8 @@ Can also be used with an explicit receiver:
531
531
  end
532
532
  </pre>
533
533
  <p><a class="source-toggle" href="#"
534
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
535
- <div class="method-source-code" id="M000022-source">
534
+ onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
535
+ <div class="method-source-code" id="M000024-source">
536
536
  <pre>
537
537
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/object.rb, line 38</span>
538
538
  38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">with_options</span>(<span class="ruby-identifier">options</span>)
@@ -88,15 +88,15 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000032">constantize</a>&nbsp;&nbsp;
92
- <a href="#M000033">hexdigest</a>&nbsp;&nbsp;
93
- <a href="#M000034">hexdigest!</a>&nbsp;&nbsp;
94
- <a href="#M000031">methodize</a>&nbsp;&nbsp;
95
- <a href="#M000035">randomize</a>&nbsp;&nbsp;
96
- <a href="#M000038">truncate</a>&nbsp;&nbsp;
97
- <a href="#M000039">truncate!</a>&nbsp;&nbsp;
98
- <a href="#M000036">uri_escape</a>&nbsp;&nbsp;
99
- <a href="#M000037">uri_unescape</a>&nbsp;&nbsp;
91
+ <a href="#M000034">constantize</a>&nbsp;&nbsp;
92
+ <a href="#M000035">hexdigest</a>&nbsp;&nbsp;
93
+ <a href="#M000036">hexdigest!</a>&nbsp;&nbsp;
94
+ <a href="#M000033">methodize</a>&nbsp;&nbsp;
95
+ <a href="#M000037">randomize</a>&nbsp;&nbsp;
96
+ <a href="#M000040">truncate</a>&nbsp;&nbsp;
97
+ <a href="#M000041">truncate!</a>&nbsp;&nbsp;
98
+ <a href="#M000038">uri_escape</a>&nbsp;&nbsp;
99
+ <a href="#M000039">uri_unescape</a>&nbsp;&nbsp;
100
100
  </div>
101
101
  </div>
102
102
 
@@ -125,19 +125,19 @@
125
125
  <div id="methods">
126
126
  <h3 class="section-bar">Public Class methods</h3>
127
127
 
128
- <div id="method-M000035" class="method-detail">
129
- <a name="M000035"></a>
128
+ <div id="method-M000037" class="method-detail">
129
+ <a name="M000037"></a>
130
130
 
131
131
  <div class="method-heading">
132
- <a href="#M000035" class="method-signature">
132
+ <a href="#M000037" class="method-signature">
133
133
  <span class="method-name">randomize</span><span class="method-args">(length = 10)</span>
134
134
  </a>
135
135
  </div>
136
136
 
137
137
  <div class="method-description">
138
138
  <p><a class="source-toggle" href="#"
139
- onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
140
- <div class="method-source-code" id="M000035-source">
139
+ onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
140
+ <div class="method-source-code" id="M000037-source">
141
141
  <pre>
142
142
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 95</span>
143
143
  95: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">randomize</span>(<span class="ruby-identifier">length</span> = <span class="ruby-value">10</span>)
@@ -153,11 +153,11 @@
153
153
 
154
154
  <h3 class="section-bar">Public Instance methods</h3>
155
155
 
156
- <div id="method-M000032" class="method-detail">
157
- <a name="M000032"></a>
156
+ <div id="method-M000034" class="method-detail">
157
+ <a name="M000034"></a>
158
158
 
159
159
  <div class="method-heading">
160
- <a href="#M000032" class="method-signature">
160
+ <a href="#M000034" class="method-signature">
161
161
  <span class="method-name">constantize</span><span class="method-args">()</span>
162
162
  </a>
163
163
  </div>
@@ -175,8 +175,8 @@ Examples:
175
175
  &quot;Mack::Configuration&quot; # =&gt; Mack::Configuration
176
176
  </pre>
177
177
  <p><a class="source-toggle" href="#"
178
- onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
179
- <div class="method-source-code" id="M000032-source">
178
+ onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
179
+ <div class="method-source-code" id="M000034-source">
180
180
  <pre>
181
181
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 83</span>
182
182
  83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">constantize</span>
@@ -187,19 +187,19 @@ Examples:
187
187
  </div>
188
188
  </div>
189
189
 
190
- <div id="method-M000033" class="method-detail">
191
- <a name="M000033"></a>
190
+ <div id="method-M000035" class="method-detail">
191
+ <a name="M000035"></a>
192
192
 
193
193
  <div class="method-heading">
194
- <a href="#M000033" class="method-signature">
194
+ <a href="#M000035" class="method-signature">
195
195
  <span class="method-name">hexdigest</span><span class="method-args">()</span>
196
196
  </a>
197
197
  </div>
198
198
 
199
199
  <div class="method-description">
200
200
  <p><a class="source-toggle" href="#"
201
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
202
- <div class="method-source-code" id="M000033-source">
201
+ onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
202
+ <div class="method-source-code" id="M000035-source">
203
203
  <pre>
204
204
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 87</span>
205
205
  87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hexdigest</span>
@@ -210,19 +210,19 @@ Examples:
210
210
  </div>
211
211
  </div>
212
212
 
213
- <div id="method-M000034" class="method-detail">
214
- <a name="M000034"></a>
213
+ <div id="method-M000036" class="method-detail">
214
+ <a name="M000036"></a>
215
215
 
216
216
  <div class="method-heading">
217
- <a href="#M000034" class="method-signature">
217
+ <a href="#M000036" class="method-signature">
218
218
  <span class="method-name">hexdigest!</span><span class="method-args">()</span>
219
219
  </a>
220
220
  </div>
221
221
 
222
222
  <div class="method-description">
223
223
  <p><a class="source-toggle" href="#"
224
- onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
225
- <div class="method-source-code" id="M000034-source">
224
+ onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
225
+ <div class="method-source-code" id="M000036-source">
226
226
  <pre>
227
227
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 91</span>
228
228
  91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hexdigest!</span>
@@ -233,19 +233,19 @@ Examples:
233
233
  </div>
234
234
  </div>
235
235
 
236
- <div id="method-M000031" class="method-detail">
237
- <a name="M000031"></a>
236
+ <div id="method-M000033" class="method-detail">
237
+ <a name="M000033"></a>
238
238
 
239
239
  <div class="method-heading">
240
- <a href="#M000031" class="method-signature">
240
+ <a href="#M000033" class="method-signature">
241
241
  <span class="method-name">methodize</span><span class="method-args">()</span>
242
242
  </a>
243
243
  </div>
244
244
 
245
245
  <div class="method-description">
246
246
  <p><a class="source-toggle" href="#"
247
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
248
- <div class="method-source-code" id="M000031-source">
247
+ onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
248
+ <div class="method-source-code" id="M000033-source">
249
249
  <pre>
250
250
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 4</span>
251
251
  4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
@@ -325,19 +325,19 @@ Examples:
325
325
  </div>
326
326
  </div>
327
327
 
328
- <div id="method-M000038" class="method-detail">
329
- <a name="M000038"></a>
328
+ <div id="method-M000040" class="method-detail">
329
+ <a name="M000040"></a>
330
330
 
331
331
  <div class="method-heading">
332
- <a href="#M000038" class="method-signature">
332
+ <a href="#M000040" class="method-signature">
333
333
  <span class="method-name">truncate</span><span class="method-args">(length = 30, truncate_string = &quot;...&quot;)</span>
334
334
  </a>
335
335
  </div>
336
336
 
337
337
  <div class="method-description">
338
338
  <p><a class="source-toggle" href="#"
339
- onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
340
- <div class="method-source-code" id="M000038-source">
339
+ onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
340
+ <div class="method-source-code" id="M000040-source">
341
341
  <pre>
342
342
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 118</span>
343
343
  118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">truncate</span>(<span class="ruby-identifier">length</span> = <span class="ruby-value">30</span>, <span class="ruby-identifier">truncate_string</span> = <span class="ruby-value str">&quot;...&quot;</span>)
@@ -355,19 +355,19 @@ Examples:
355
355
  </div>
356
356
  </div>
357
357
 
358
- <div id="method-M000039" class="method-detail">
359
- <a name="M000039"></a>
358
+ <div id="method-M000041" class="method-detail">
359
+ <a name="M000041"></a>
360
360
 
361
361
  <div class="method-heading">
362
- <a href="#M000039" class="method-signature">
362
+ <a href="#M000041" class="method-signature">
363
363
  <span class="method-name">truncate!</span><span class="method-args">(length = 30, truncate_string = &quot;...&quot;)</span>
364
364
  </a>
365
365
  </div>
366
366
 
367
367
  <div class="method-description">
368
368
  <p><a class="source-toggle" href="#"
369
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
370
- <div class="method-source-code" id="M000039-source">
369
+ onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
370
+ <div class="method-source-code" id="M000041-source">
371
371
  <pre>
372
372
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 129</span>
373
373
  129: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">truncate!</span>(<span class="ruby-identifier">length</span> = <span class="ruby-value">30</span>, <span class="ruby-identifier">truncate_string</span> = <span class="ruby-value str">&quot;...&quot;</span>)
@@ -378,11 +378,11 @@ Examples:
378
378
  </div>
379
379
  </div>
380
380
 
381
- <div id="method-M000036" class="method-detail">
382
- <a name="M000036"></a>
381
+ <div id="method-M000038" class="method-detail">
382
+ <a name="M000038"></a>
383
383
 
384
384
  <div class="method-heading">
385
- <a href="#M000036" class="method-signature">
385
+ <a href="#M000038" class="method-signature">
386
386
  <span class="method-name">uri_escape</span><span class="method-args">()</span>
387
387
  </a>
388
388
  </div>
@@ -394,8 +394,8 @@ faster. Use this rather than the cgi.rb version since it&#8216;s faster.
394
394
  (Stolen from Camping).
395
395
  </p>
396
396
  <p><a class="source-toggle" href="#"
397
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
398
- <div class="method-source-code" id="M000036-source">
397
+ onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
398
+ <div class="method-source-code" id="M000038-source">
399
399
  <pre>
400
400
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 105</span>
401
401
  105: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uri_escape</span>
@@ -408,11 +408,11 @@ faster. Use this rather than the cgi.rb version since it&#8216;s faster.
408
408
  </div>
409
409
  </div>
410
410
 
411
- <div id="method-M000037" class="method-detail">
412
- <a name="M000037"></a>
411
+ <div id="method-M000039" class="method-detail">
412
+ <a name="M000039"></a>
413
413
 
414
414
  <div class="method-heading">
415
- <a href="#M000037" class="method-signature">
415
+ <a href="#M000039" class="method-signature">
416
416
  <span class="method-name">uri_unescape</span><span class="method-args">()</span>
417
417
  </a>
418
418
  </div>
@@ -422,8 +422,8 @@ faster. Use this rather than the cgi.rb version since it&#8216;s faster.
422
422
  Unescapes a URI escaped string. (Stolen from Camping).
423
423
  </p>
424
424
  <p><a class="source-toggle" href="#"
425
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
426
- <div class="method-source-code" id="M000037-source">
425
+ onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
426
+ <div class="method-source-code" id="M000039-source">
427
427
  <pre>
428
428
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/string.rb, line 112</span>
429
429
  112: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uri_unescape</span>