facets 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/CHANGES +113 -13
  2. data/MANIFEST +23 -19
  3. data/RELEASE +22 -22
  4. data/VERSION +1 -1
  5. data/doc/{archive → changelogs}/CHANGELOG-0.10.30 +0 -0
  6. data/doc/{archive → changelogs}/CHANGELOG-1.8.54 +0 -0
  7. data/doc/{archive → changelogs}/CHANGELOG-2.4.5 +0 -0
  8. data/doc/log/basic_stats/index.html +4 -4
  9. data/doc/rdoc/core/classes/Array.html +148 -148
  10. data/doc/rdoc/core/classes/Binding.html +45 -45
  11. data/doc/rdoc/core/classes/Class.html +38 -38
  12. data/doc/rdoc/core/classes/Comparable.html +26 -26
  13. data/doc/rdoc/core/classes/Enumerable.html +224 -139
  14. data/doc/rdoc/core/classes/Enumerable/Enumerator.html +126 -13
  15. data/doc/rdoc/core/classes/Enumerator.html +123 -13
  16. data/doc/rdoc/core/classes/Exception.html +8 -8
  17. data/doc/rdoc/core/classes/File.html +58 -58
  18. data/doc/rdoc/core/classes/FileTest.html +4 -4
  19. data/doc/rdoc/core/classes/Float.html +8 -8
  20. data/doc/rdoc/core/classes/Functor.html +12 -12
  21. data/doc/rdoc/core/classes/Hash.html +289 -266
  22. data/doc/rdoc/core/classes/Indexable.html +110 -110
  23. data/doc/rdoc/core/classes/Integer.html +2 -2
  24. data/doc/rdoc/core/classes/Kernel.html +329 -329
  25. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  26. data/doc/rdoc/core/classes/MatchData.html +15 -15
  27. data/doc/rdoc/core/classes/Module.html +161 -161
  28. data/doc/rdoc/core/classes/NilClass.html +23 -23
  29. data/doc/rdoc/core/classes/Numeric.html +27 -27
  30. data/doc/rdoc/core/classes/Object.html +8 -8
  31. data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
  32. data/doc/rdoc/core/classes/Proc.html +22 -22
  33. data/doc/rdoc/core/classes/Regexp.html +1 -1
  34. data/doc/rdoc/core/classes/Stackable.html +31 -31
  35. data/doc/rdoc/core/classes/String.html +270 -270
  36. data/doc/rdoc/core/classes/Symbol.html +1 -1
  37. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  38. data/doc/rdoc/core/classes/UnboundMethod.html +12 -12
  39. data/doc/rdoc/core/created.rid +1 -1
  40. data/doc/rdoc/core/files/lib/core/facets/hash/dearray_values_rb.html +92 -0
  41. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +2 -1
  42. data/doc/rdoc/core/fr_file_index.html +1 -0
  43. data/doc/rdoc/core/fr_method_index.html +401 -385
  44. data/doc/{archive → release-notes}/RELEASE-2.0.5 +0 -0
  45. data/doc/{archive → release-notes}/RELEASE-2.1.0 +0 -0
  46. data/doc/{archive → release-notes}/RELEASE-2.1.1 +0 -0
  47. data/doc/{archive → release-notes}/RELEASE-2.1.2 +0 -0
  48. data/doc/{archive → release-notes}/RELEASE-2.1.3 +0 -0
  49. data/doc/{archive → release-notes}/RELEASE-2.2.0 +0 -0
  50. data/doc/{archive → release-notes}/RELEASE-2.2.1 +0 -0
  51. data/doc/{archive → release-notes}/RELEASE-2.3.0 +0 -0
  52. data/doc/{archive → release-notes}/RELEASE-2.4.0 +0 -0
  53. data/doc/{archive → release-notes}/RELEASE-2.4.1 +0 -0
  54. data/doc/{archive → release-notes}/RELEASE-2.4.2 +0 -0
  55. data/doc/{archive → release-notes}/RELEASE-2.4.3 +0 -0
  56. data/doc/{archive → release-notes}/RELEASE-2.4.4 +0 -0
  57. data/doc/{archive → release-notes}/RELEASE-2.4.5 +0 -0
  58. data/doc/{archive → release-notes}/RELEASE-2.5.0 +0 -0
  59. data/lib/core/facets/hash/dearray_values.rb +46 -0
  60. data/lib/core/facets/to_hash.rb +109 -74
  61. data/task/setup.rake +17 -9
  62. data/test/core/hash/test_dearray_values.rb +19 -0
  63. data/test/core/test_to_hash.rb +116 -24
  64. metadata +26 -21
@@ -133,7 +133,7 @@ CREDIT: Trans
133
133
  Simply returns itself. Helpful when converting strings to regular
134
134
  expressions, where regexp might occur as well —in the same vien as
135
135
  using to_s on symbols. The parameter is actaully a dummy parameter to
136
- coincide with <a href="String.html#M000267">String#to_re</a>.
136
+ coincide with <a href="String.html#M000273">String#to_re</a>.
137
137
  </p>
138
138
  <pre>
139
139
  /abc/.to_re #=&gt; /abc/
@@ -72,9 +72,9 @@
72
72
  <div class="description"><h1><a href="Stackable.html">Stackable</a></h1>
73
73
  <p>
74
74
  <a href="Stackable.html">Stackable</a> mixin provides <a
75
- href="Stackable.html#M000347">pop</a>, <a
76
- href="Stackable.html#M000348">push</a>, <a
77
- href="Stackable.html#M000349">pull</a>, etc. It depends on slice, splice
75
+ href="Stackable.html#M000353">pop</a>, <a
76
+ href="Stackable.html#M000354">push</a>, <a
77
+ href="Stackable.html#M000355">pull</a>, etc. It depends on slice, splice
78
78
  and insert.
79
79
  </p>
80
80
  </div>
@@ -82,13 +82,13 @@ and insert.
82
82
 
83
83
 
84
84
  <div class="sectiontitle">Methods</div>
85
- <span style="padding-right: 5px;"><a href="#M000353">peek</a></span>
86
- <span style="padding-right: 5px;"><a href="#M000351">poke</a></span>
87
- <span style="padding-right: 5px;"><a href="#M000347">pop</a></span>
88
- <span style="padding-right: 5px;"><a href="#M000349">pull</a></span>
89
- <span style="padding-right: 5px;"><a href="#M000348">push</a></span>
90
- <span style="padding-right: 5px;"><a href="#M000350">shift</a></span>
91
- <span style="padding-right: 5px;"><a href="#M000352">unshift</a></span>
85
+ <span style="padding-right: 5px;"><a href="#M000359">peek</a></span>
86
+ <span style="padding-right: 5px;"><a href="#M000357">poke</a></span>
87
+ <span style="padding-right: 5px;"><a href="#M000353">pop</a></span>
88
+ <span style="padding-right: 5px;"><a href="#M000355">pull</a></span>
89
+ <span style="padding-right: 5px;"><a href="#M000354">push</a></span>
90
+ <span style="padding-right: 5px;"><a href="#M000356">shift</a></span>
91
+ <span style="padding-right: 5px;"><a href="#M000358">unshift</a></span>
92
92
 
93
93
 
94
94
 
@@ -98,7 +98,7 @@ and insert.
98
98
  <div class="sectiontitle">Public Instance methods</div>
99
99
  <div class="method">
100
100
  <div class="title">
101
- <a name="M000353"></a><b>peek</b>()
101
+ <a name="M000359"></a><b>peek</b>()
102
102
  </div>
103
103
  <div class="description">
104
104
  <p>
@@ -111,8 +111,8 @@ Peek at the top of the stack.
111
111
  </pre>
112
112
  </div>
113
113
  <div class="sourcecode">
114
- <p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">+</a> ]</p>
115
- <div id="M000353_source" class="dyn-source">
114
+ <p class="source-link">[ <a href="javascript:toggleSource('M000359_source')" id="l_M000359_source">+</a> ]</p>
115
+ <div id="M000359_source" class="dyn-source">
116
116
  <pre>
117
117
  <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 81</span>
118
118
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peek</span>
@@ -124,7 +124,7 @@ Peek at the top of the stack.
124
124
  </div>
125
125
  <div class="method">
126
126
  <div class="title">
127
- <a name="M000351"></a><b>poke</b>(x)
127
+ <a name="M000357"></a><b>poke</b>(x)
128
128
  </div>
129
129
  <div class="description">
130
130
  <p>
@@ -139,11 +139,11 @@ Poke item onto the stack.
139
139
  </div>
140
140
  <div class="aka">
141
141
  This method is also aliased as
142
- <a href="Stackable.html#M000352">unshift</a>
142
+ <a href="Stackable.html#M000358">unshift</a>
143
143
  </div>
144
144
  <div class="sourcecode">
145
- <p class="source-link">[ <a href="javascript:toggleSource('M000351_source')" id="l_M000351_source">+</a> ]</p>
146
- <div id="M000351_source" class="dyn-source">
145
+ <p class="source-link">[ <a href="javascript:toggleSource('M000357_source')" id="l_M000357_source">+</a> ]</p>
146
+ <div id="M000357_source" class="dyn-source">
147
147
  <pre>
148
148
  <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 69</span>
149
149
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">poke</span>(<span class="ruby-identifier">x</span>)
@@ -155,7 +155,7 @@ Poke item onto the stack.
155
155
  </div>
156
156
  <div class="method">
157
157
  <div class="title">
158
- <a name="M000347"></a><b>pop</b>()
158
+ <a name="M000353"></a><b>pop</b>()
159
159
  </div>
160
160
  <div class="description">
161
161
  <p>
@@ -168,8 +168,8 @@ Pop item off stack.
168
168
  </pre>
169
169
  </div>
170
170
  <div class="sourcecode">
171
- <p class="source-link">[ <a href="javascript:toggleSource('M000347_source')" id="l_M000347_source">+</a> ]</p>
172
- <div id="M000347_source" class="dyn-source">
171
+ <p class="source-link">[ <a href="javascript:toggleSource('M000353_source')" id="l_M000353_source">+</a> ]</p>
172
+ <div id="M000353_source" class="dyn-source">
173
173
  <pre>
174
174
  <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 37</span>
175
175
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pop</span>
@@ -181,7 +181,7 @@ Pop item off stack.
181
181
  </div>
182
182
  <div class="method">
183
183
  <div class="title">
184
- <a name="M000349"></a><b>pull</b>()
184
+ <a name="M000355"></a><b>pull</b>()
185
185
  </div>
186
186
  <div class="description">
187
187
  <p>
@@ -195,11 +195,11 @@ Pull item off the stack.
195
195
  </div>
196
196
  <div class="aka">
197
197
  This method is also aliased as
198
- <a href="Stackable.html#M000350">shift</a>
198
+ <a href="Stackable.html#M000356">shift</a>
199
199
  </div>
200
200
  <div class="sourcecode">
201
- <p class="source-link">[ <a href="javascript:toggleSource('M000349_source')" id="l_M000349_source">+</a> ]</p>
202
- <div id="M000349_source" class="dyn-source">
201
+ <p class="source-link">[ <a href="javascript:toggleSource('M000355_source')" id="l_M000355_source">+</a> ]</p>
202
+ <div id="M000355_source" class="dyn-source">
203
203
  <pre>
204
204
  <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 56</span>
205
205
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>
@@ -211,7 +211,7 @@ Pull item off the stack.
211
211
  </div>
212
212
  <div class="method">
213
213
  <div class="title">
214
- <a name="M000348"></a><b>push</b>(x)
214
+ <a name="M000354"></a><b>push</b>(x)
215
215
  </div>
216
216
  <div class="description">
217
217
  <p>
@@ -223,8 +223,8 @@ Push item onto the stack.
223
223
  </pre>
224
224
  </div>
225
225
  <div class="sourcecode">
226
- <p class="source-link">[ <a href="javascript:toggleSource('M000348_source')" id="l_M000348_source">+</a> ]</p>
227
- <div id="M000348_source" class="dyn-source">
226
+ <p class="source-link">[ <a href="javascript:toggleSource('M000354_source')" id="l_M000354_source">+</a> ]</p>
227
+ <div id="M000354_source" class="dyn-source">
228
228
  <pre>
229
229
  <span class="ruby-comment cmt"># File lib/core/facets/stackable.rb, line 46</span>
230
230
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">x</span>)
@@ -236,21 +236,21 @@ Push item onto the stack.
236
236
  </div>
237
237
  <div class="method">
238
238
  <div class="title">
239
- <a name="M000350"></a><b>shift</b>()
239
+ <a name="M000356"></a><b>shift</b>()
240
240
  </div>
241
241
  <div class="description">
242
242
  <p>
243
- Alias for <a href="Stackable.html#M000349">pull</a>
243
+ Alias for <a href="Stackable.html#M000355">pull</a>
244
244
  </p>
245
245
  </div>
246
246
  </div>
247
247
  <div class="method">
248
248
  <div class="title">
249
- <a name="M000352"></a><b>unshift</b>(x)
249
+ <a name="M000358"></a><b>unshift</b>(x)
250
250
  </div>
251
251
  <div class="description">
252
252
  <p>
253
- Alias for <a href="Stackable.html#M000351">poke</a>
253
+ Alias for <a href="Stackable.html#M000357">poke</a>
254
254
  </p>
255
255
  </div>
256
256
  </div>
@@ -124,69 +124,69 @@ Object
124
124
 
125
125
 
126
126
  <div class="sectiontitle">Methods</div>
127
- <span style="padding-right: 5px;"><a href="#M000283">-</a></span>
128
- <span style="padding-right: 5px;"><a href="#M000323">^</a></span>
129
- <span style="padding-right: 5px;"><a href="#M000277">align</a></span>
130
- <span style="padding-right: 5px;"><a href="#M000280">align_center</a></span>
131
- <span style="padding-right: 5px;"><a href="#M000279">align_left</a></span>
132
- <span style="padding-right: 5px;"><a href="#M000278">align_right</a></span>
133
- <span style="padding-right: 5px;"><a href="#M000325">blank?</a></span>
134
- <span style="padding-right: 5px;"><a href="#M000311">bracket</a></span>
135
- <span style="padding-right: 5px;"><a href="#M000312">bracket!</a></span>
136
- <span style="padding-right: 5px;"><a href="#M000301">bytes</a></span>
137
- <span style="padding-right: 5px;"><a href="#M000272">camelcase</a></span>
138
- <span style="padding-right: 5px;"><a href="#M000294">capitalized?</a></span>
139
- <span style="padding-right: 5px;"><a href="#M000317">chars</a></span>
140
- <span style="padding-right: 5px;"><a href="#M000309">cleave</a></span>
141
- <span style="padding-right: 5px;"><a href="#M000264">cmp</a></span>
142
- <span style="padding-right: 5px;"><a href="#M000284">compress_lines</a></span>
143
- <span style="padding-right: 5px;"><a href="#M000316">dequote</a></span>
144
- <span style="padding-right: 5px;"><a href="#M000291">divide</a></span>
145
- <span style="padding-right: 5px;"><a href="#M000295">downcase?</a></span>
146
- <span style="padding-right: 5px;"><a href="#M000290">each_char</a></span>
147
- <span style="padding-right: 5px;"><a href="#M000324">each_word</a></span>
148
- <span style="padding-right: 5px;"><a href="#M000271">end_with?</a></span>
149
- <span style="padding-right: 5px;"><a href="#M000297">expand_tab</a></span>
150
- <span style="padding-right: 5px;"><a href="#M000298">expand_tabs</a></span>
151
- <span style="padding-right: 5px;"><a href="#M000266">file</a></span>
152
- <span style="padding-right: 5px;"><a href="#M000269">fold</a></span>
153
- <span style="padding-right: 5px;"><a href="#M000303">indent</a></span>
154
- <span style="padding-right: 5px;"><a href="#M000288">index_all</a></span>
155
- <span style="padding-right: 5px;"><a href="#M000308">interpolate</a></span>
156
- <span style="padding-right: 5px;"><a href="#M000318">lchomp</a></span>
157
- <span style="padding-right: 5px;"><a href="#M000319">lchomp!</a></span>
158
- <span style="padding-right: 5px;"><a href="#M000310">line_wrap</a></span>
159
- <span style="padding-right: 5px;"><a href="#M000273">lines</a></span>
160
- <span style="padding-right: 5px;"><a href="#M000292">margin</a></span>
161
- <span style="padding-right: 5px;"><a href="#M000282">methodize</a></span>
162
- <span style="padding-right: 5px;"><a href="#M000274">modulize</a></span>
163
- <span style="padding-right: 5px;"><a href="#M000293">mscan</a></span>
164
- <span style="padding-right: 5px;"><a href="#M000299">natcmp</a></span>
165
- <span style="padding-right: 5px;"><a href="#M000322">nchar</a></span>
166
- <span style="padding-right: 5px;"><a href="#M000304">outdent</a></span>
167
- <span style="padding-right: 5px;"><a href="#M000302">pathize</a></span>
168
- <span style="padding-right: 5px;"><a href="#M000315">quote</a></span>
169
- <span style="padding-right: 5px;"><a href="#M000285">range</a></span>
170
- <span style="padding-right: 5px;"><a href="#M000286">range_all</a></span>
171
- <span style="padding-right: 5px;"><a href="#M000287">range_of_line</a></span>
172
- <span style="padding-right: 5px;"><a href="#M000321">rewrite</a></span>
173
- <span style="padding-right: 5px;"><a href="#M000265">shatter</a></span>
174
- <span style="padding-right: 5px;"><a href="#M000289">snakecase</a></span>
175
- <span style="padding-right: 5px;"><a href="#M000320">splice</a></span>
176
- <span style="padding-right: 5px;"><a href="#M000270">start_with?</a></span>
177
- <span style="padding-right: 5px;"><a href="#M000281">tab</a></span>
178
- <span style="padding-right: 5px;"><a href="#M000306">tabto</a></span>
179
- <span style="padding-right: 5px;"><a href="#M000305">titlecase</a></span>
180
- <span style="padding-right: 5px;"><a href="#M000263">to_b</a></span>
181
- <span style="padding-right: 5px;"><a href="#M000267">to_re</a></span>
182
- <span style="padding-right: 5px;"><a href="#M000268">to_rx</a></span>
183
- <span style="padding-right: 5px;"><a href="#M000313">unbracket</a></span>
184
- <span style="padding-right: 5px;"><a href="#M000314">unbracket!</a></span>
185
- <span style="padding-right: 5px;"><a href="#M000296">upcase?</a></span>
186
- <span style="padding-right: 5px;"><a href="#M000300">variablize</a></span>
187
- <span style="padding-right: 5px;"><a href="#M000275">word_wrap</a></span>
188
- <span style="padding-right: 5px;"><a href="#M000276">word_wrap!</a></span>
189
- <span style="padding-right: 5px;"><a href="#M000307">words</a></span>
127
+ <span style="padding-right: 5px;"><a href="#M000289">-</a></span>
128
+ <span style="padding-right: 5px;"><a href="#M000329">^</a></span>
129
+ <span style="padding-right: 5px;"><a href="#M000283">align</a></span>
130
+ <span style="padding-right: 5px;"><a href="#M000286">align_center</a></span>
131
+ <span style="padding-right: 5px;"><a href="#M000285">align_left</a></span>
132
+ <span style="padding-right: 5px;"><a href="#M000284">align_right</a></span>
133
+ <span style="padding-right: 5px;"><a href="#M000331">blank?</a></span>
134
+ <span style="padding-right: 5px;"><a href="#M000317">bracket</a></span>
135
+ <span style="padding-right: 5px;"><a href="#M000318">bracket!</a></span>
136
+ <span style="padding-right: 5px;"><a href="#M000307">bytes</a></span>
137
+ <span style="padding-right: 5px;"><a href="#M000278">camelcase</a></span>
138
+ <span style="padding-right: 5px;"><a href="#M000300">capitalized?</a></span>
139
+ <span style="padding-right: 5px;"><a href="#M000323">chars</a></span>
140
+ <span style="padding-right: 5px;"><a href="#M000315">cleave</a></span>
141
+ <span style="padding-right: 5px;"><a href="#M000270">cmp</a></span>
142
+ <span style="padding-right: 5px;"><a href="#M000290">compress_lines</a></span>
143
+ <span style="padding-right: 5px;"><a href="#M000322">dequote</a></span>
144
+ <span style="padding-right: 5px;"><a href="#M000297">divide</a></span>
145
+ <span style="padding-right: 5px;"><a href="#M000301">downcase?</a></span>
146
+ <span style="padding-right: 5px;"><a href="#M000296">each_char</a></span>
147
+ <span style="padding-right: 5px;"><a href="#M000330">each_word</a></span>
148
+ <span style="padding-right: 5px;"><a href="#M000277">end_with?</a></span>
149
+ <span style="padding-right: 5px;"><a href="#M000303">expand_tab</a></span>
150
+ <span style="padding-right: 5px;"><a href="#M000304">expand_tabs</a></span>
151
+ <span style="padding-right: 5px;"><a href="#M000272">file</a></span>
152
+ <span style="padding-right: 5px;"><a href="#M000275">fold</a></span>
153
+ <span style="padding-right: 5px;"><a href="#M000309">indent</a></span>
154
+ <span style="padding-right: 5px;"><a href="#M000294">index_all</a></span>
155
+ <span style="padding-right: 5px;"><a href="#M000314">interpolate</a></span>
156
+ <span style="padding-right: 5px;"><a href="#M000324">lchomp</a></span>
157
+ <span style="padding-right: 5px;"><a href="#M000325">lchomp!</a></span>
158
+ <span style="padding-right: 5px;"><a href="#M000316">line_wrap</a></span>
159
+ <span style="padding-right: 5px;"><a href="#M000279">lines</a></span>
160
+ <span style="padding-right: 5px;"><a href="#M000298">margin</a></span>
161
+ <span style="padding-right: 5px;"><a href="#M000288">methodize</a></span>
162
+ <span style="padding-right: 5px;"><a href="#M000280">modulize</a></span>
163
+ <span style="padding-right: 5px;"><a href="#M000299">mscan</a></span>
164
+ <span style="padding-right: 5px;"><a href="#M000305">natcmp</a></span>
165
+ <span style="padding-right: 5px;"><a href="#M000328">nchar</a></span>
166
+ <span style="padding-right: 5px;"><a href="#M000310">outdent</a></span>
167
+ <span style="padding-right: 5px;"><a href="#M000308">pathize</a></span>
168
+ <span style="padding-right: 5px;"><a href="#M000321">quote</a></span>
169
+ <span style="padding-right: 5px;"><a href="#M000291">range</a></span>
170
+ <span style="padding-right: 5px;"><a href="#M000292">range_all</a></span>
171
+ <span style="padding-right: 5px;"><a href="#M000293">range_of_line</a></span>
172
+ <span style="padding-right: 5px;"><a href="#M000327">rewrite</a></span>
173
+ <span style="padding-right: 5px;"><a href="#M000271">shatter</a></span>
174
+ <span style="padding-right: 5px;"><a href="#M000295">snakecase</a></span>
175
+ <span style="padding-right: 5px;"><a href="#M000326">splice</a></span>
176
+ <span style="padding-right: 5px;"><a href="#M000276">start_with?</a></span>
177
+ <span style="padding-right: 5px;"><a href="#M000287">tab</a></span>
178
+ <span style="padding-right: 5px;"><a href="#M000312">tabto</a></span>
179
+ <span style="padding-right: 5px;"><a href="#M000311">titlecase</a></span>
180
+ <span style="padding-right: 5px;"><a href="#M000269">to_b</a></span>
181
+ <span style="padding-right: 5px;"><a href="#M000273">to_re</a></span>
182
+ <span style="padding-right: 5px;"><a href="#M000274">to_rx</a></span>
183
+ <span style="padding-right: 5px;"><a href="#M000319">unbracket</a></span>
184
+ <span style="padding-right: 5px;"><a href="#M000320">unbracket!</a></span>
185
+ <span style="padding-right: 5px;"><a href="#M000302">upcase?</a></span>
186
+ <span style="padding-right: 5px;"><a href="#M000306">variablize</a></span>
187
+ <span style="padding-right: 5px;"><a href="#M000281">word_wrap</a></span>
188
+ <span style="padding-right: 5px;"><a href="#M000282">word_wrap!</a></span>
189
+ <span style="padding-right: 5px;"><a href="#M000313">words</a></span>
190
190
 
191
191
 
192
192
 
@@ -204,7 +204,7 @@ Object
204
204
  <div class="sectiontitle">Public Class methods</div>
205
205
  <div class="method">
206
206
  <div class="title">
207
- <a name="M000308"></a><b>interpolate</b>(&amp;str)
207
+ <a name="M000314"></a><b>interpolate</b>(&amp;str)
208
208
  </div>
209
209
  <div class="description">
210
210
  <p>
@@ -224,8 +224,8 @@ CREDIT: Trans
224
224
  </p>
225
225
  </div>
226
226
  <div class="sourcecode">
227
- <p class="source-link">[ <a href="javascript:toggleSource('M000308_source')" id="l_M000308_source">+</a> ]</p>
228
- <div id="M000308_source" class="dyn-source">
227
+ <p class="source-link">[ <a href="javascript:toggleSource('M000314_source')" id="l_M000314_source">+</a> ]</p>
228
+ <div id="M000314_source" class="dyn-source">
229
229
  <pre>
230
230
  <span class="ruby-comment cmt"># File lib/core/facets/string/interpolate.rb, line 15</span>
231
231
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">str</span>)
@@ -238,7 +238,7 @@ CREDIT: Trans
238
238
  <div class="sectiontitle">Public Instance methods</div>
239
239
  <div class="method">
240
240
  <div class="title">
241
- <a name="M000283"></a><b>-</b>(pattern)
241
+ <a name="M000289"></a><b>-</b>(pattern)
242
242
  </div>
243
243
  <div class="description">
244
244
  <p>
@@ -252,8 +252,8 @@ CREDIT: Benjamin David Oakes
252
252
  </p>
253
253
  </div>
254
254
  <div class="sourcecode">
255
- <p class="source-link">[ <a href="javascript:toggleSource('M000283_source')" id="l_M000283_source">+</a> ]</p>
256
- <div id="M000283_source" class="dyn-source">
255
+ <p class="source-link">[ <a href="javascript:toggleSource('M000289_source')" id="l_M000289_source">+</a> ]</p>
256
+ <div id="M000289_source" class="dyn-source">
257
257
  <pre>
258
258
  <span class="ruby-comment cmt"># File lib/core/facets/string/op_sub.rb, line 9</span>
259
259
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">pattern</span>)
@@ -265,7 +265,7 @@ CREDIT: Benjamin David Oakes
265
265
  </div>
266
266
  <div class="method">
267
267
  <div class="title">
268
- <a name="M000323"></a><b>^</b>(aString)
268
+ <a name="M000329"></a><b>^</b>(aString)
269
269
  </div>
270
270
  <div class="description">
271
271
  <p>
@@ -284,8 +284,8 @@ Binary XOR of two strings.
284
284
  </pre>
285
285
  </div>
286
286
  <div class="sourcecode">
287
- <p class="source-link">[ <a href="javascript:toggleSource('M000323_source')" id="l_M000323_source">+</a> ]</p>
288
- <div id="M000323_source" class="dyn-source">
287
+ <p class="source-link">[ <a href="javascript:toggleSource('M000329_source')" id="l_M000329_source">+</a> ]</p>
288
+ <div id="M000329_source" class="dyn-source">
289
289
  <pre>
290
290
  <span class="ruby-comment cmt"># File lib/core/facets/string/xor.rb, line 13</span>
291
291
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">^</span>(<span class="ruby-identifier">aString</span>)
@@ -307,11 +307,11 @@ Binary XOR of two strings.
307
307
  </div>
308
308
  <div class="method">
309
309
  <div class="title">
310
- <a name="M000277"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
310
+ <a name="M000283"></a><b>align</b>(direction, n, sep=&quot;\n&quot;, c=' ')
311
311
  </div>
312
312
  <div class="sourcecode">
313
- <p class="source-link">[ <a href="javascript:toggleSource('M000277_source')" id="l_M000277_source">+</a> ]</p>
314
- <div id="M000277_source" class="dyn-source">
313
+ <p class="source-link">[ <a href="javascript:toggleSource('M000283_source')" id="l_M000283_source">+</a> ]</p>
314
+ <div id="M000283_source" class="dyn-source">
315
315
  <pre>
316
316
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 3</span>
317
317
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align</span>(<span class="ruby-identifier">direction</span>, <span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -332,7 +332,7 @@ Binary XOR of two strings.
332
332
  </div>
333
333
  <div class="method">
334
334
  <div class="title">
335
- <a name="M000280"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
335
+ <a name="M000286"></a><b>align_center</b>(n, sep=&quot;\n&quot;, c=' ')
336
336
  </div>
337
337
  <div class="description">
338
338
  <p>
@@ -365,8 +365,8 @@ CREDIT: Trans
365
365
  </p>
366
366
  </div>
367
367
  <div class="sourcecode">
368
- <p class="source-link">[ <a href="javascript:toggleSource('M000280_source')" id="l_M000280_source">+</a> ]</p>
369
- <div id="M000280_source" class="dyn-source">
368
+ <p class="source-link">[ <a href="javascript:toggleSource('M000286_source')" id="l_M000286_source">+</a> ]</p>
369
+ <div id="M000286_source" class="dyn-source">
370
370
  <pre>
371
371
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 98</span>
372
372
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_center</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -382,7 +382,7 @@ CREDIT: Trans
382
382
  </div>
383
383
  <div class="method">
384
384
  <div class="title">
385
- <a name="M000279"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
385
+ <a name="M000285"></a><b>align_left</b>(n, sep=&quot;\n&quot;, c=' ')
386
386
  </div>
387
387
  <div class="description">
388
388
  <p>
@@ -415,8 +415,8 @@ CREDIT: Trans
415
415
  </p>
416
416
  </div>
417
417
  <div class="sourcecode">
418
- <p class="source-link">[ <a href="javascript:toggleSource('M000279_source')" id="l_M000279_source">+</a> ]</p>
419
- <div id="M000279_source" class="dyn-source">
418
+ <p class="source-link">[ <a href="javascript:toggleSource('M000285_source')" id="l_M000285_source">+</a> ]</p>
419
+ <div id="M000285_source" class="dyn-source">
420
420
  <pre>
421
421
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 68</span>
422
422
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_left</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -432,7 +432,7 @@ CREDIT: Trans
432
432
  </div>
433
433
  <div class="method">
434
434
  <div class="title">
435
- <a name="M000278"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
435
+ <a name="M000284"></a><b>align_right</b>(n, sep=&quot;\n&quot;, c=' ')
436
436
  </div>
437
437
  <div class="description">
438
438
  <p>
@@ -465,8 +465,8 @@ CREDIT: Trans
465
465
  </p>
466
466
  </div>
467
467
  <div class="sourcecode">
468
- <p class="source-link">[ <a href="javascript:toggleSource('M000278_source')" id="l_M000278_source">+</a> ]</p>
469
- <div id="M000278_source" class="dyn-source">
468
+ <p class="source-link">[ <a href="javascript:toggleSource('M000284_source')" id="l_M000284_source">+</a> ]</p>
469
+ <div id="M000284_source" class="dyn-source">
470
470
  <pre>
471
471
  <span class="ruby-comment cmt"># File lib/core/facets/string/align.rb, line 38</span>
472
472
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">align_right</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">sep</span>=<span class="ruby-value str">&quot;\n&quot;</span>, <span class="ruby-identifier">c</span>=<span class="ruby-value str">' '</span>)
@@ -482,7 +482,7 @@ CREDIT: Trans
482
482
  </div>
483
483
  <div class="method">
484
484
  <div class="title">
485
- <a name="M000325"></a><b>blank?</b>()
485
+ <a name="M000331"></a><b>blank?</b>()
486
486
  </div>
487
487
  <div class="description">
488
488
  <p>
@@ -494,8 +494,8 @@ Is this string just whitespace?
494
494
  </pre>
495
495
  </div>
496
496
  <div class="sourcecode">
497
- <p class="source-link">[ <a href="javascript:toggleSource('M000325_source')" id="l_M000325_source">+</a> ]</p>
498
- <div id="M000325_source" class="dyn-source">
497
+ <p class="source-link">[ <a href="javascript:toggleSource('M000331_source')" id="l_M000331_source">+</a> ]</p>
498
+ <div id="M000331_source" class="dyn-source">
499
499
  <pre>
500
500
  <span class="ruby-comment cmt"># File lib/core/facets/blank.rb, line 50</span>
501
501
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blank?</span>
@@ -507,12 +507,12 @@ Is this string just whitespace?
507
507
  </div>
508
508
  <div class="method">
509
509
  <div class="title">
510
- <a name="M000311"></a><b>bracket</b>(bra, ket=nil)
510
+ <a name="M000317"></a><b>bracket</b>(bra, ket=nil)
511
511
  </div>
512
512
  <div class="description">
513
513
  <p>
514
514
  Return a new string embraced by given brakets. If only one <a
515
- href="String.html#M000311">bracket</a> char is given it will be placed on
515
+ href="String.html#M000317">bracket</a> char is given it will be placed on
516
516
  either side.
517
517
  </p>
518
518
  <pre>
@@ -524,8 +524,8 @@ CREDIT: Trans
524
524
  </p>
525
525
  </div>
526
526
  <div class="sourcecode">
527
- <p class="source-link">[ <a href="javascript:toggleSource('M000311_source')" id="l_M000311_source">+</a> ]</p>
528
- <div id="M000311_source" class="dyn-source">
527
+ <p class="source-link">[ <a href="javascript:toggleSource('M000317_source')" id="l_M000317_source">+</a> ]</p>
528
+ <div id="M000317_source" class="dyn-source">
529
529
  <pre>
530
530
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 14</span>
531
531
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -539,7 +539,7 @@ CREDIT: Trans
539
539
  </div>
540
540
  <div class="method">
541
541
  <div class="title">
542
- <a name="M000312"></a><b>bracket!</b>(bra, ket=nil)
542
+ <a name="M000318"></a><b>bracket!</b>(bra, ket=nil)
543
543
  </div>
544
544
  <div class="description">
545
545
  <p>
@@ -550,8 +550,8 @@ CREDIT: Trans
550
550
  </p>
551
551
  </div>
552
552
  <div class="sourcecode">
553
- <p class="source-link">[ <a href="javascript:toggleSource('M000312_source')" id="l_M000312_source">+</a> ]</p>
554
- <div id="M000312_source" class="dyn-source">
553
+ <p class="source-link">[ <a href="javascript:toggleSource('M000318_source')" id="l_M000318_source">+</a> ]</p>
554
+ <div id="M000318_source" class="dyn-source">
555
555
  <pre>
556
556
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 24</span>
557
557
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bracket!</span>(<span class="ruby-identifier">bra</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -563,16 +563,16 @@ CREDIT: Trans
563
563
  </div>
564
564
  <div class="method">
565
565
  <div class="title">
566
- <a name="M000301"></a><b>bytes</b>()
566
+ <a name="M000307"></a><b>bytes</b>()
567
567
  </div>
568
568
  <div class="description">
569
569
  <p>
570
- Upacks string into <a href="String.html#M000301">bytes</a>.
570
+ Upacks string into <a href="String.html#M000307">bytes</a>.
571
571
  </p>
572
572
  </div>
573
573
  <div class="sourcecode">
574
- <p class="source-link">[ <a href="javascript:toggleSource('M000301_source')" id="l_M000301_source">+</a> ]</p>
575
- <div id="M000301_source" class="dyn-source">
574
+ <p class="source-link">[ <a href="javascript:toggleSource('M000307_source')" id="l_M000307_source">+</a> ]</p>
575
+ <div id="M000307_source" class="dyn-source">
576
576
  <pre>
577
577
  <span class="ruby-comment cmt"># File lib/core/facets/string/bytes.rb, line 8</span>
578
578
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bytes</span>
@@ -584,19 +584,19 @@ Upacks string into <a href="String.html#M000301">bytes</a>.
584
584
  </div>
585
585
  <div class="method">
586
586
  <div class="title">
587
- <a name="M000272"></a><b>camelcase</b>(upcase_first_letter=true)
587
+ <a name="M000278"></a><b>camelcase</b>(upcase_first_letter=true)
588
588
  </div>
589
589
  <div class="description">
590
590
  <p>
591
- Converts a string to <a href="String.html#M000272">camelcase</a>.
591
+ Converts a string to <a href="String.html#M000278">camelcase</a>.
592
592
  </p>
593
593
  <p>
594
- By default <a href="String.html#M000272">camelcase</a> convert to
594
+ By default <a href="String.html#M000278">camelcase</a> convert to
595
595
  UpperCamelCase, If an argument is set to <tt>false</tt>, then <a
596
- href="String.html#M000272">camelcase</a> will produce lowerCamelCase.
596
+ href="String.html#M000278">camelcase</a> will produce lowerCamelCase.
597
597
  </p>
598
598
  <p>
599
- <tt><a href="String.html#M000272">camelcase</a></tt> also converts
599
+ <tt><a href="String.html#M000278">camelcase</a></tt> also converts
600
600
  &#8217;/&#8217; to &#8217;::&#8217; which is useful for converting paths to
601
601
  namespaces.
602
602
  </p>
@@ -610,8 +610,8 @@ Examples
610
610
  </pre>
611
611
  </div>
612
612
  <div class="sourcecode">
613
- <p class="source-link">[ <a href="javascript:toggleSource('M000272_source')" id="l_M000272_source">+</a> ]</p>
614
- <div id="M000272_source" class="dyn-source">
613
+ <p class="source-link">[ <a href="javascript:toggleSource('M000278_source')" id="l_M000278_source">+</a> ]</p>
614
+ <div id="M000278_source" class="dyn-source">
615
615
  <pre>
616
616
  <span class="ruby-comment cmt"># File lib/core/facets/string/camelcase.rb, line 16</span>
617
617
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">camelcase</span>(<span class="ruby-identifier">upcase_first_letter</span>=<span class="ruby-keyword kw">true</span>)
@@ -628,7 +628,7 @@ Examples
628
628
  </div>
629
629
  <div class="method">
630
630
  <div class="title">
631
- <a name="M000294"></a><b>capitalized?</b>()
631
+ <a name="M000300"></a><b>capitalized?</b>()
632
632
  </div>
633
633
  <div class="description">
634
634
  <p>
@@ -644,8 +644,8 @@ CREDIT: Phil Tomson
644
644
  </p>
645
645
  </div>
646
646
  <div class="sourcecode">
647
- <p class="source-link">[ <a href="javascript:toggleSource('M000294_source')" id="l_M000294_source">+</a> ]</p>
648
- <div id="M000294_source" class="dyn-source">
647
+ <p class="source-link">[ <a href="javascript:toggleSource('M000300_source')" id="l_M000300_source">+</a> ]</p>
648
+ <div id="M000300_source" class="dyn-source">
649
649
  <pre>
650
650
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 11</span>
651
651
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">capitalized?</span>
@@ -657,7 +657,7 @@ CREDIT: Phil Tomson
657
657
  </div>
658
658
  <div class="method">
659
659
  <div class="title">
660
- <a name="M000317"></a><b>chars</b>()
660
+ <a name="M000323"></a><b>chars</b>()
661
661
  </div>
662
662
  <div class="description">
663
663
  <p>
@@ -668,8 +668,8 @@ Returns an array of characters.
668
668
  </pre>
669
669
  </div>
670
670
  <div class="sourcecode">
671
- <p class="source-link">[ <a href="javascript:toggleSource('M000317_source')" id="l_M000317_source">+</a> ]</p>
672
- <div id="M000317_source" class="dyn-source">
671
+ <p class="source-link">[ <a href="javascript:toggleSource('M000323_source')" id="l_M000323_source">+</a> ]</p>
672
+ <div id="M000323_source" class="dyn-source">
673
673
  <pre>
674
674
  <span class="ruby-comment cmt"># File lib/core/facets/string/chars.rb, line 9</span>
675
675
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chars</span>
@@ -681,7 +681,7 @@ Returns an array of characters.
681
681
  </div>
682
682
  <div class="method">
683
683
  <div class="title">
684
- <a name="M000309"></a><b>cleave</b>(threshold=nil, len=nil)
684
+ <a name="M000315"></a><b>cleave</b>(threshold=nil, len=nil)
685
685
  </div>
686
686
  <div class="description">
687
687
  <p>
@@ -692,8 +692,8 @@ CREDIT: Trans
692
692
  </p>
693
693
  </div>
694
694
  <div class="sourcecode">
695
- <p class="source-link">[ <a href="javascript:toggleSource('M000309_source')" id="l_M000309_source">+</a> ]</p>
696
- <div id="M000309_source" class="dyn-source">
695
+ <p class="source-link">[ <a href="javascript:toggleSource('M000315_source')" id="l_M000315_source">+</a> ]</p>
696
+ <div id="M000315_source" class="dyn-source">
697
697
  <pre>
698
698
  <span class="ruby-comment cmt"># File lib/core/facets/string/cleave.rb, line 8</span>
699
699
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleave</span>(<span class="ruby-identifier">threshold</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">len</span>=<span class="ruby-keyword kw">nil</span>)
@@ -729,7 +729,7 @@ CREDIT: Trans
729
729
  </div>
730
730
  <div class="method">
731
731
  <div class="title">
732
- <a name="M000264"></a><b>cmp</b>(other)
732
+ <a name="M000270"></a><b>cmp</b>(other)
733
733
  </div>
734
734
  <div class="description">
735
735
  <p>
@@ -747,8 +747,8 @@ CREDIT: Peter Vanbroekhoven
747
747
  </p>
748
748
  </div>
749
749
  <div class="sourcecode">
750
- <p class="source-link">[ <a href="javascript:toggleSource('M000264_source')" id="l_M000264_source">+</a> ]</p>
751
- <div id="M000264_source" class="dyn-source">
750
+ <p class="source-link">[ <a href="javascript:toggleSource('M000270_source')" id="l_M000270_source">+</a> ]</p>
751
+ <div id="M000270_source" class="dyn-source">
752
752
  <pre>
753
753
  <span class="ruby-comment cmt"># File lib/core/facets/comparable/cmp.rb, line 31</span>
754
754
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmp</span>(<span class="ruby-identifier">other</span>)
@@ -762,7 +762,7 @@ CREDIT: Peter Vanbroekhoven
762
762
  </div>
763
763
  <div class="method">
764
764
  <div class="title">
765
- <a name="M000284"></a><b>compress_lines</b>(spaced = true)
765
+ <a name="M000290"></a><b>compress_lines</b>(spaced = true)
766
766
  </div>
767
767
  <div class="description">
768
768
  <p>
@@ -780,8 +780,8 @@ Matches any whitespace (including newline) and replaces with a single space
780
780
  </pre>
781
781
  </div>
782
782
  <div class="sourcecode">
783
- <p class="source-link">[ <a href="javascript:toggleSource('M000284_source')" id="l_M000284_source">+</a> ]</p>
784
- <div id="M000284_source" class="dyn-source">
783
+ <p class="source-link">[ <a href="javascript:toggleSource('M000290_source')" id="l_M000290_source">+</a> ]</p>
784
+ <div id="M000290_source" class="dyn-source">
785
785
  <pre>
786
786
  <span class="ruby-comment cmt"># File lib/core/facets/string/compress_lines.rb, line 12</span>
787
787
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compress_lines</span>(<span class="ruby-identifier">spaced</span> = <span class="ruby-keyword kw">true</span>)
@@ -793,7 +793,7 @@ Matches any whitespace (including newline) and replaces with a single space
793
793
  </div>
794
794
  <div class="method">
795
795
  <div class="title">
796
- <a name="M000316"></a><b>dequote</b>()
796
+ <a name="M000322"></a><b>dequote</b>()
797
797
  </div>
798
798
  <div class="description">
799
799
  <p>
@@ -807,8 +807,8 @@ CREDIT: Trans
807
807
  </p>
808
808
  </div>
809
809
  <div class="sourcecode">
810
- <p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">+</a> ]</p>
811
- <div id="M000316_source" class="dyn-source">
810
+ <p class="source-link">[ <a href="javascript:toggleSource('M000322_source')" id="l_M000322_source">+</a> ]</p>
811
+ <div id="M000322_source" class="dyn-source">
812
812
  <pre>
813
813
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 88</span>
814
814
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dequote</span>
@@ -832,7 +832,7 @@ CREDIT: Trans
832
832
  </div>
833
833
  <div class="method">
834
834
  <div class="title">
835
- <a name="M000291"></a><b>divide</b>( re )
835
+ <a name="M000297"></a><b>divide</b>( re )
836
836
  </div>
837
837
  <div class="description">
838
838
  <p>
@@ -854,8 +854,8 @@ CREDIT: Trans
854
854
  </p>
855
855
  </div>
856
856
  <div class="sourcecode">
857
- <p class="source-link">[ <a href="javascript:toggleSource('M000291_source')" id="l_M000291_source">+</a> ]</p>
858
- <div id="M000291_source" class="dyn-source">
857
+ <p class="source-link">[ <a href="javascript:toggleSource('M000297_source')" id="l_M000297_source">+</a> ]</p>
858
+ <div id="M000297_source" class="dyn-source">
859
859
  <pre>
860
860
  <span class="ruby-comment cmt"># File lib/core/facets/string/divide.rb, line 15</span>
861
861
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">divide</span>( <span class="ruby-identifier">re</span> )
@@ -868,7 +868,7 @@ CREDIT: Trans
868
868
  </div>
869
869
  <div class="method">
870
870
  <div class="title">
871
- <a name="M000295"></a><b>downcase?</b>()
871
+ <a name="M000301"></a><b>downcase?</b>()
872
872
  </div>
873
873
  <div class="description">
874
874
  <p>
@@ -884,8 +884,8 @@ CREDIT: Phil Tomson
884
884
  </p>
885
885
  </div>
886
886
  <div class="sourcecode">
887
- <p class="source-link">[ <a href="javascript:toggleSource('M000295_source')" id="l_M000295_source">+</a> ]</p>
888
- <div id="M000295_source" class="dyn-source">
887
+ <p class="source-link">[ <a href="javascript:toggleSource('M000301_source')" id="l_M000301_source">+</a> ]</p>
888
+ <div id="M000301_source" class="dyn-source">
889
889
  <pre>
890
890
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 23</span>
891
891
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downcase?</span>
@@ -897,7 +897,7 @@ CREDIT: Phil Tomson
897
897
  </div>
898
898
  <div class="method">
899
899
  <div class="title">
900
- <a name="M000290"></a><b>each_char</b>() {|scanner.scan(char || break)| ...}
900
+ <a name="M000296"></a><b>each_char</b>() {|scanner.scan(char || break)| ...}
901
901
  </div>
902
902
  <div class="description">
903
903
  <p>
@@ -907,8 +907,8 @@ appropriately.
907
907
  </p>
908
908
  </div>
909
909
  <div class="sourcecode">
910
- <p class="source-link">[ <a href="javascript:toggleSource('M000290_source')" id="l_M000290_source">+</a> ]</p>
911
- <div id="M000290_source" class="dyn-source">
910
+ <p class="source-link">[ <a href="javascript:toggleSource('M000296_source')" id="l_M000296_source">+</a> ]</p>
911
+ <div id="M000296_source" class="dyn-source">
912
912
  <pre>
913
913
  <span class="ruby-comment cmt"># File lib/core/facets/string/each_char.rb, line 22</span>
914
914
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_char</span>
@@ -921,7 +921,7 @@ appropriately.
921
921
  </div>
922
922
  <div class="method">
923
923
  <div class="title">
924
- <a name="M000324"></a><b>each_word</b>(&amp;block)
924
+ <a name="M000330"></a><b>each_word</b>(&amp;block)
925
925
  </div>
926
926
  <div class="description">
927
927
  <p>
@@ -932,8 +932,8 @@ Iterate through each word of a string.
932
932
  </pre>
933
933
  </div>
934
934
  <div class="sourcecode">
935
- <p class="source-link">[ <a href="javascript:toggleSource('M000324_source')" id="l_M000324_source">+</a> ]</p>
936
- <div id="M000324_source" class="dyn-source">
935
+ <p class="source-link">[ <a href="javascript:toggleSource('M000330_source')" id="l_M000330_source">+</a> ]</p>
936
+ <div id="M000330_source" class="dyn-source">
937
937
  <pre>
938
938
  <span class="ruby-comment cmt"># File lib/core/facets/string/each_word.rb, line 9</span>
939
939
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_word</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -945,7 +945,7 @@ Iterate through each word of a string.
945
945
  </div>
946
946
  <div class="method">
947
947
  <div class="title">
948
- <a name="M000271"></a><b>end_with?</b>(suffix)
948
+ <a name="M000277"></a><b>end_with?</b>(suffix)
949
949
  </div>
950
950
  <div class="description">
951
951
  <p>
@@ -960,8 +960,8 @@ CREDIT: Lucas Carlson, Blaine Cook
960
960
  </p>
961
961
  </div>
962
962
  <div class="sourcecode">
963
- <p class="source-link">[ <a href="javascript:toggleSource('M000271_source')" id="l_M000271_source">+</a> ]</p>
964
- <div id="M000271_source" class="dyn-source">
963
+ <p class="source-link">[ <a href="javascript:toggleSource('M000277_source')" id="l_M000277_source">+</a> ]</p>
964
+ <div id="M000277_source" class="dyn-source">
965
965
  <pre>
966
966
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 23</span>
967
967
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">end_with?</span>(<span class="ruby-identifier">suffix</span>)
@@ -973,7 +973,7 @@ CREDIT: Lucas Carlson, Blaine Cook
973
973
  </div>
974
974
  <div class="method">
975
975
  <div class="title">
976
- <a name="M000297"></a><b>expand_tab</b>(n=8)
976
+ <a name="M000303"></a><b>expand_tab</b>(n=8)
977
977
  </div>
978
978
  <div class="description">
979
979
  <p>
@@ -993,11 +993,11 @@ CREDIT: Gavin Sinclair, Noah Gibbs, GGaramuno
993
993
  </div>
994
994
  <div class="aka">
995
995
  This method is also aliased as
996
- <a href="String.html#M000298">expand_tabs</a>
996
+ <a href="String.html#M000304">expand_tabs</a>
997
997
  </div>
998
998
  <div class="sourcecode">
999
- <p class="source-link">[ <a href="javascript:toggleSource('M000297_source')" id="l_M000297_source">+</a> ]</p>
1000
- <div id="M000297_source" class="dyn-source">
999
+ <p class="source-link">[ <a href="javascript:toggleSource('M000303_source')" id="l_M000303_source">+</a> ]</p>
1000
+ <div id="M000303_source" class="dyn-source">
1001
1001
  <pre>
1002
1002
  <span class="ruby-comment cmt"># File lib/core/facets/string/expand_tab.rb, line 13</span>
1003
1003
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_tab</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">8</span>)
@@ -1020,21 +1020,21 @@ CREDIT: Gavin Sinclair, Noah Gibbs, GGaramuno
1020
1020
  </div>
1021
1021
  <div class="method">
1022
1022
  <div class="title">
1023
- <a name="M000298"></a><b>expand_tabs</b>(n=8)
1023
+ <a name="M000304"></a><b>expand_tabs</b>(n=8)
1024
1024
  </div>
1025
1025
  <div class="description">
1026
1026
  <p>
1027
- Alias for <a href="String.html#M000297">expand_tab</a>
1027
+ Alias for <a href="String.html#M000303">expand_tab</a>
1028
1028
  </p>
1029
1029
  </div>
1030
1030
  </div>
1031
1031
  <div class="method">
1032
1032
  <div class="title">
1033
- <a name="M000266"></a><b>file</b>()
1033
+ <a name="M000272"></a><b>file</b>()
1034
1034
  </div>
1035
1035
  <div class="description">
1036
1036
  <p>
1037
- Use fluent notation for making <a href="String.html#M000266">file</a>
1037
+ Use fluent notation for making <a href="String.html#M000272">file</a>
1038
1038
  directives.
1039
1039
  </p>
1040
1040
  <pre>
@@ -1042,8 +1042,8 @@ directives.
1042
1042
  </pre>
1043
1043
  </div>
1044
1044
  <div class="sourcecode">
1045
- <p class="source-link">[ <a href="javascript:toggleSource('M000266_source')" id="l_M000266_source">+</a> ]</p>
1046
- <div id="M000266_source" class="dyn-source">
1045
+ <p class="source-link">[ <a href="javascript:toggleSource('M000272_source')" id="l_M000272_source">+</a> ]</p>
1046
+ <div id="M000272_source" class="dyn-source">
1047
1047
  <pre>
1048
1048
  <span class="ruby-comment cmt"># File lib/core/facets/string/file.rb, line 9</span>
1049
1049
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">file</span>
@@ -1058,12 +1058,12 @@ directives.
1058
1058
  </div>
1059
1059
  <div class="method">
1060
1060
  <div class="title">
1061
- <a name="M000269"></a><b>fold</b>(ignore_indented=false)
1061
+ <a name="M000275"></a><b>fold</b>(ignore_indented=false)
1062
1062
  </div>
1063
1063
  <div class="description">
1064
1064
  <p>
1065
- Returns a new string with all new <a href="String.html#M000273">lines</a>
1066
- removed from adjacent <a href="String.html#M000273">lines</a> of text.
1065
+ Returns a new string with all new <a href="String.html#M000279">lines</a>
1066
+ removed from adjacent <a href="String.html#M000279">lines</a> of text.
1067
1067
  </p>
1068
1068
  <pre>
1069
1069
  s = &quot;This is\na test.\n\nIt clumps\nlines of text.&quot;
@@ -1084,8 +1084,8 @@ CREDIT: Trans
1084
1084
  </p>
1085
1085
  </div>
1086
1086
  <div class="sourcecode">
1087
- <p class="source-link">[ <a href="javascript:toggleSource('M000269_source')" id="l_M000269_source">+</a> ]</p>
1088
- <div id="M000269_source" class="dyn-source">
1087
+ <p class="source-link">[ <a href="javascript:toggleSource('M000275_source')" id="l_M000275_source">+</a> ]</p>
1088
+ <div id="M000275_source" class="dyn-source">
1089
1089
  <pre>
1090
1090
  <span class="ruby-comment cmt"># File lib/core/facets/string/fold.rb, line 19</span>
1091
1091
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fold</span>(<span class="ruby-identifier">ignore_indented</span>=<span class="ruby-keyword kw">false</span>)
@@ -1112,21 +1112,21 @@ CREDIT: Trans
1112
1112
  </div>
1113
1113
  <div class="method">
1114
1114
  <div class="title">
1115
- <a name="M000303"></a><b>indent</b>(n)
1115
+ <a name="M000309"></a><b>indent</b>(n)
1116
1116
  </div>
1117
1117
  <div class="description">
1118
1118
  <p>
1119
1119
  Indent left or right by n spaces. (This used to be called <a
1120
- href="String.html#M000281">tab</a> and aliased as <a
1121
- href="String.html#M000303">indent</a>.)
1120
+ href="String.html#M000287">tab</a> and aliased as <a
1121
+ href="String.html#M000309">indent</a>.)
1122
1122
  </p>
1123
1123
  <p>
1124
1124
  CREDIT: Gavin Sinclair, Trans
1125
1125
  </p>
1126
1126
  </div>
1127
1127
  <div class="sourcecode">
1128
- <p class="source-link">[ <a href="javascript:toggleSource('M000303_source')" id="l_M000303_source">+</a> ]</p>
1129
- <div id="M000303_source" class="dyn-source">
1128
+ <p class="source-link">[ <a href="javascript:toggleSource('M000309_source')" id="l_M000309_source">+</a> ]</p>
1129
+ <div id="M000309_source" class="dyn-source">
1130
1130
  <pre>
1131
1131
  <span class="ruby-comment cmt"># File lib/core/facets/string/indent.rb, line 8</span>
1132
1132
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indent</span>(<span class="ruby-identifier">n</span>)
@@ -1142,7 +1142,7 @@ CREDIT: Gavin Sinclair, Trans
1142
1142
  </div>
1143
1143
  <div class="method">
1144
1144
  <div class="title">
1145
- <a name="M000288"></a><b>index_all</b>(s, reuse=false)
1145
+ <a name="M000294"></a><b>index_all</b>(s, reuse=false)
1146
1146
  </div>
1147
1147
  <div class="description">
1148
1148
  <p>
@@ -1161,8 +1161,8 @@ in general too.
1161
1161
  </p>
1162
1162
  </div>
1163
1163
  <div class="sourcecode">
1164
- <p class="source-link">[ <a href="javascript:toggleSource('M000288_source')" id="l_M000288_source">+</a> ]</p>
1165
- <div id="M000288_source" class="dyn-source">
1164
+ <p class="source-link">[ <a href="javascript:toggleSource('M000294_source')" id="l_M000294_source">+</a> ]</p>
1165
+ <div id="M000294_source" class="dyn-source">
1166
1166
  <pre>
1167
1167
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 66</span>
1168
1168
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -1180,7 +1180,7 @@ in general too.
1180
1180
  </div>
1181
1181
  <div class="method">
1182
1182
  <div class="title">
1183
- <a name="M000318"></a><b>lchomp</b>(match)
1183
+ <a name="M000324"></a><b>lchomp</b>(match)
1184
1184
  </div>
1185
1185
  <div class="description">
1186
1186
  <p>
@@ -1195,8 +1195,8 @@ CREDIT: Trans
1195
1195
  </p>
1196
1196
  </div>
1197
1197
  <div class="sourcecode">
1198
- <p class="source-link">[ <a href="javascript:toggleSource('M000318_source')" id="l_M000318_source">+</a> ]</p>
1199
- <div id="M000318_source" class="dyn-source">
1198
+ <p class="source-link">[ <a href="javascript:toggleSource('M000324_source')" id="l_M000324_source">+</a> ]</p>
1199
+ <div id="M000324_source" class="dyn-source">
1200
1200
  <pre>
1201
1201
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 10</span>
1202
1202
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp</span>(<span class="ruby-identifier">match</span>)
@@ -1212,7 +1212,7 @@ CREDIT: Trans
1212
1212
  </div>
1213
1213
  <div class="method">
1214
1214
  <div class="title">
1215
- <a name="M000319"></a><b>lchomp!</b>(match)
1215
+ <a name="M000325"></a><b>lchomp!</b>(match)
1216
1216
  </div>
1217
1217
  <div class="description">
1218
1218
  <p>
@@ -1227,8 +1227,8 @@ CREDIT: Trans
1227
1227
  </p>
1228
1228
  </div>
1229
1229
  <div class="sourcecode">
1230
- <p class="source-link">[ <a href="javascript:toggleSource('M000319_source')" id="l_M000319_source">+</a> ]</p>
1231
- <div id="M000319_source" class="dyn-source">
1230
+ <p class="source-link">[ <a href="javascript:toggleSource('M000325_source')" id="l_M000325_source">+</a> ]</p>
1231
+ <div id="M000325_source" class="dyn-source">
1232
1232
  <pre>
1233
1233
  <span class="ruby-comment cmt"># File lib/core/facets/string/chomp.rb, line 25</span>
1234
1234
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lchomp!</span>(<span class="ruby-identifier">match</span>)
@@ -1243,7 +1243,7 @@ CREDIT: Trans
1243
1243
  </div>
1244
1244
  <div class="method">
1245
1245
  <div class="title">
1246
- <a name="M000310"></a><b>line_wrap</b>(width, tabs=4)
1246
+ <a name="M000316"></a><b>line_wrap</b>(width, tabs=4)
1247
1247
  </div>
1248
1248
  <div class="description">
1249
1249
  <p>
@@ -1264,8 +1264,8 @@ CREDIT: Trans
1264
1264
  </p>
1265
1265
  </div>
1266
1266
  <div class="sourcecode">
1267
- <p class="source-link">[ <a href="javascript:toggleSource('M000310_source')" id="l_M000310_source">+</a> ]</p>
1268
- <div id="M000310_source" class="dyn-source">
1267
+ <p class="source-link">[ <a href="javascript:toggleSource('M000316_source')" id="l_M000316_source">+</a> ]</p>
1268
+ <div id="M000316_source" class="dyn-source">
1269
1269
  <pre>
1270
1270
  <span class="ruby-comment cmt"># File lib/core/facets/string/line_wrap.rb, line 14</span>
1271
1271
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">line_wrap</span>(<span class="ruby-identifier">width</span>, <span class="ruby-identifier">tabs</span>=<span class="ruby-value">4</span>)
@@ -1280,7 +1280,7 @@ CREDIT: Trans
1280
1280
  </div>
1281
1281
  <div class="method">
1282
1282
  <div class="title">
1283
- <a name="M000273"></a><b>lines</b>()
1283
+ <a name="M000279"></a><b>lines</b>()
1284
1284
  </div>
1285
1285
  <div class="description">
1286
1286
  <p>
@@ -1291,8 +1291,8 @@ Returns an array of characters.
1291
1291
  </pre>
1292
1292
  </div>
1293
1293
  <div class="sourcecode">
1294
- <p class="source-link">[ <a href="javascript:toggleSource('M000273_source')" id="l_M000273_source">+</a> ]</p>
1295
- <div id="M000273_source" class="dyn-source">
1294
+ <p class="source-link">[ <a href="javascript:toggleSource('M000279_source')" id="l_M000279_source">+</a> ]</p>
1295
+ <div id="M000279_source" class="dyn-source">
1296
1296
  <pre>
1297
1297
  <span class="ruby-comment cmt"># File lib/core/facets/string/lines.rb, line 9</span>
1298
1298
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lines</span>
@@ -1304,11 +1304,11 @@ Returns an array of characters.
1304
1304
  </div>
1305
1305
  <div class="method">
1306
1306
  <div class="title">
1307
- <a name="M000292"></a><b>margin</b>(n=0)
1307
+ <a name="M000298"></a><b>margin</b>(n=0)
1308
1308
  </div>
1309
1309
  <div class="description">
1310
1310
  <p>
1311
- Provides a <a href="String.html#M000292">margin</a> controlled string.
1311
+ Provides a <a href="String.html#M000298">margin</a> controlled string.
1312
1312
  </p>
1313
1313
  <pre>
1314
1314
  x = %Q{
@@ -1325,8 +1325,8 @@ CREDIT: Trans
1325
1325
  </p>
1326
1326
  </div>
1327
1327
  <div class="sourcecode">
1328
- <p class="source-link">[ <a href="javascript:toggleSource('M000292_source')" id="l_M000292_source">+</a> ]</p>
1329
- <div id="M000292_source" class="dyn-source">
1328
+ <p class="source-link">[ <a href="javascript:toggleSource('M000298_source')" id="l_M000298_source">+</a> ]</p>
1329
+ <div id="M000298_source" class="dyn-source">
1330
1330
  <pre>
1331
1331
  <span class="ruby-comment cmt"># File lib/core/facets/string/margin.rb, line 16</span>
1332
1332
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">margin</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">0</span>)
@@ -1347,7 +1347,7 @@ CREDIT: Trans
1347
1347
  </div>
1348
1348
  <div class="method">
1349
1349
  <div class="title">
1350
- <a name="M000282"></a><b>methodize</b>()
1350
+ <a name="M000288"></a><b>methodize</b>()
1351
1351
  </div>
1352
1352
  <div class="description">
1353
1353
  <p>
@@ -1358,8 +1358,8 @@ Translate a (class or module) name to a suitable method name.
1358
1358
  </pre>
1359
1359
  </div>
1360
1360
  <div class="sourcecode">
1361
- <p class="source-link">[ <a href="javascript:toggleSource('M000282_source')" id="l_M000282_source">+</a> ]</p>
1362
- <div id="M000282_source" class="dyn-source">
1361
+ <p class="source-link">[ <a href="javascript:toggleSource('M000288_source')" id="l_M000288_source">+</a> ]</p>
1362
+ <div id="M000288_source" class="dyn-source">
1363
1363
  <pre>
1364
1364
  <span class="ruby-comment cmt"># File lib/core/facets/string/methodize.rb, line 7</span>
1365
1365
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">methodize</span>
@@ -1375,14 +1375,14 @@ Translate a (class or module) name to a suitable method name.
1375
1375
  </div>
1376
1376
  <div class="method">
1377
1377
  <div class="title">
1378
- <a name="M000274"></a><b>modulize</b>()
1378
+ <a name="M000280"></a><b>modulize</b>()
1379
1379
  </div>
1380
1380
  <div class="description">
1381
1381
  <p>
1382
1382
  Converts a string to module name representation.
1383
1383
  </p>
1384
1384
  <p>
1385
- This is essentially <a href="String.html#M000272">camelcase</a>. It also
1385
+ This is essentially <a href="String.html#M000278">camelcase</a>. It also
1386
1386
  converts &#8217;/&#8217; to &#8217;::&#8217; which is useful for converting
1387
1387
  paths to namespaces.
1388
1388
  </p>
@@ -1395,8 +1395,8 @@ Examples
1395
1395
  </pre>
1396
1396
  </div>
1397
1397
  <div class="sourcecode">
1398
- <p class="source-link">[ <a href="javascript:toggleSource('M000274_source')" id="l_M000274_source">+</a> ]</p>
1399
- <div id="M000274_source" class="dyn-source">
1398
+ <p class="source-link">[ <a href="javascript:toggleSource('M000280_source')" id="l_M000280_source">+</a> ]</p>
1399
+ <div id="M000280_source" class="dyn-source">
1400
1400
  <pre>
1401
1401
  <span class="ruby-comment cmt"># File lib/core/facets/string/modulize.rb, line 13</span>
1402
1402
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulize</span>
@@ -1411,7 +1411,7 @@ Examples
1411
1411
  </div>
1412
1412
  <div class="method">
1413
1413
  <div class="title">
1414
- <a name="M000293"></a><b>mscan</b>(re) {|| ...}
1414
+ <a name="M000299"></a><b>mscan</b>(re) {|| ...}
1415
1415
  </div>
1416
1416
  <div class="description">
1417
1417
  <p>
@@ -1423,8 +1423,8 @@ CREDIT: Trans
1423
1423
  </p>
1424
1424
  </div>
1425
1425
  <div class="sourcecode">
1426
- <p class="source-link">[ <a href="javascript:toggleSource('M000293_source')" id="l_M000293_source">+</a> ]</p>
1427
- <div id="M000293_source" class="dyn-source">
1426
+ <p class="source-link">[ <a href="javascript:toggleSource('M000299_source')" id="l_M000299_source">+</a> ]</p>
1427
+ <div id="M000299_source" class="dyn-source">
1428
1428
  <pre>
1429
1429
  <span class="ruby-comment cmt"># File lib/core/facets/string/mscan.rb, line 8</span>
1430
1430
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mscan</span>(<span class="ruby-identifier">re</span>) <span class="ruby-comment cmt">#:yield:</span>
@@ -1442,7 +1442,7 @@ CREDIT: Trans
1442
1442
  </div>
1443
1443
  <div class="method">
1444
1444
  <div class="title">
1445
- <a name="M000299"></a><b>natcmp</b>(str2, caseInsensitive=false)
1445
+ <a name="M000305"></a><b>natcmp</b>(str2, caseInsensitive=false)
1446
1446
  </div>
1447
1447
  <div class="description">
1448
1448
  <p>
@@ -1465,8 +1465,8 @@ CREDIT: Alan Davies, Martin Pool
1465
1465
  </p>
1466
1466
  </div>
1467
1467
  <div class="sourcecode">
1468
- <p class="source-link">[ <a href="javascript:toggleSource('M000299_source')" id="l_M000299_source">+</a> ]</p>
1469
- <div id="M000299_source" class="dyn-source">
1468
+ <p class="source-link">[ <a href="javascript:toggleSource('M000305_source')" id="l_M000305_source">+</a> ]</p>
1469
+ <div id="M000305_source" class="dyn-source">
1470
1470
  <pre>
1471
1471
  <span class="ruby-comment cmt"># File lib/core/facets/string/natcmp.rb, line 46</span>
1472
1472
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">natcmp</span>(<span class="ruby-identifier">str2</span>, <span class="ruby-identifier">caseInsensitive</span>=<span class="ruby-keyword kw">false</span>)
@@ -1517,7 +1517,7 @@ CREDIT: Alan Davies, Martin Pool
1517
1517
  </div>
1518
1518
  <div class="method">
1519
1519
  <div class="title">
1520
- <a name="M000322"></a><b>nchar</b>(n, replacement=nil)
1520
+ <a name="M000328"></a><b>nchar</b>(n, replacement=nil)
1521
1521
  </div>
1522
1522
  <div class="description">
1523
1523
  <p>
@@ -1537,8 +1537,8 @@ Alternatively a replacement string can be given, which will replace the
1537
1537
  </pre>
1538
1538
  </div>
1539
1539
  <div class="sourcecode">
1540
- <p class="source-link">[ <a href="javascript:toggleSource('M000322_source')" id="l_M000322_source">+</a> ]</p>
1541
- <div id="M000322_source" class="dyn-source">
1540
+ <p class="source-link">[ <a href="javascript:toggleSource('M000328_source')" id="l_M000328_source">+</a> ]</p>
1541
+ <div id="M000328_source" class="dyn-source">
1542
1542
  <pre>
1543
1543
  <span class="ruby-comment cmt"># File lib/core/facets/string/nchar.rb, line 15</span>
1544
1544
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nchar</span>(<span class="ruby-identifier">n</span>, <span class="ruby-identifier">replacement</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1556,7 +1556,7 @@ Alternatively a replacement string can be given, which will replace the
1556
1556
  </div>
1557
1557
  <div class="method">
1558
1558
  <div class="title">
1559
- <a name="M000304"></a><b>outdent</b>(n)
1559
+ <a name="M000310"></a><b>outdent</b>(n)
1560
1560
  </div>
1561
1561
  <div class="description">
1562
1562
  <p>
@@ -1567,8 +1567,8 @@ CREDIT: Noah Gibbs
1567
1567
  </p>
1568
1568
  </div>
1569
1569
  <div class="sourcecode">
1570
- <p class="source-link">[ <a href="javascript:toggleSource('M000304_source')" id="l_M000304_source">+</a> ]</p>
1571
- <div id="M000304_source" class="dyn-source">
1570
+ <p class="source-link">[ <a href="javascript:toggleSource('M000310_source')" id="l_M000310_source">+</a> ]</p>
1571
+ <div id="M000310_source" class="dyn-source">
1572
1572
  <pre>
1573
1573
  <span class="ruby-comment cmt"># File lib/core/facets/string/indent.rb, line 20</span>
1574
1574
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">outdent</span>(<span class="ruby-identifier">n</span>)
@@ -1580,7 +1580,7 @@ CREDIT: Noah Gibbs
1580
1580
  </div>
1581
1581
  <div class="method">
1582
1582
  <div class="title">
1583
- <a name="M000302"></a><b>pathize</b>()
1583
+ <a name="M000308"></a><b>pathize</b>()
1584
1584
  </div>
1585
1585
  <div class="description">
1586
1586
  <p>
@@ -1591,8 +1591,8 @@ Converts a (class or module) name to a unix path.
1591
1591
  </pre>
1592
1592
  </div>
1593
1593
  <div class="sourcecode">
1594
- <p class="source-link">[ <a href="javascript:toggleSource('M000302_source')" id="l_M000302_source">+</a> ]</p>
1595
- <div id="M000302_source" class="dyn-source">
1594
+ <p class="source-link">[ <a href="javascript:toggleSource('M000308_source')" id="l_M000308_source">+</a> ]</p>
1595
+ <div id="M000308_source" class="dyn-source">
1596
1596
  <pre>
1597
1597
  <span class="ruby-comment cmt"># File lib/core/facets/string/pathize.rb, line 7</span>
1598
1598
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathize</span>
@@ -1608,7 +1608,7 @@ Converts a (class or module) name to a unix path.
1608
1608
  </div>
1609
1609
  <div class="method">
1610
1610
  <div class="title">
1611
- <a name="M000315"></a><b>quote</b>(type=:s)
1611
+ <a name="M000321"></a><b>quote</b>(type=:s)
1612
1612
  </div>
1613
1613
  <div class="description">
1614
1614
  <p>
@@ -1624,8 +1624,8 @@ CREDIT: Trans
1624
1624
  </p>
1625
1625
  </div>
1626
1626
  <div class="sourcecode">
1627
- <p class="source-link">[ <a href="javascript:toggleSource('M000315_source')" id="l_M000315_source">+</a> ]</p>
1628
- <div id="M000315_source" class="dyn-source">
1627
+ <p class="source-link">[ <a href="javascript:toggleSource('M000321_source')" id="l_M000321_source">+</a> ]</p>
1628
+ <div id="M000321_source" class="dyn-source">
1629
1629
  <pre>
1630
1630
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 69</span>
1631
1631
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quote</span>(<span class="ruby-identifier">type</span>=<span class="ruby-identifier">:s</span>)
@@ -1646,7 +1646,7 @@ CREDIT: Trans
1646
1646
  </div>
1647
1647
  <div class="method">
1648
1648
  <div class="title">
1649
- <a name="M000285"></a><b>range</b>(s, offset=0)
1649
+ <a name="M000291"></a><b>range</b>(s, offset=0)
1650
1650
  </div>
1651
1651
  <div class="description">
1652
1652
  <p>
@@ -1660,8 +1660,8 @@ CREDIT: Trans
1660
1660
  </p>
1661
1661
  </div>
1662
1662
  <div class="sourcecode">
1663
- <p class="source-link">[ <a href="javascript:toggleSource('M000285_source')" id="l_M000285_source">+</a> ]</p>
1664
- <div id="M000285_source" class="dyn-source">
1663
+ <p class="source-link">[ <a href="javascript:toggleSource('M000291_source')" id="l_M000291_source">+</a> ]</p>
1664
+ <div id="M000291_source" class="dyn-source">
1665
1665
  <pre>
1666
1666
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 9</span>
1667
1667
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">offset</span>=<span class="ruby-value">0</span>)
@@ -1676,11 +1676,11 @@ CREDIT: Trans
1676
1676
  </div>
1677
1677
  <div class="method">
1678
1678
  <div class="title">
1679
- <a name="M000286"></a><b>range_all</b>(s, reuse=false)
1679
+ <a name="M000292"></a><b>range_all</b>(s, reuse=false)
1680
1680
  </div>
1681
1681
  <div class="description">
1682
1682
  <p>
1683
- Like <a href="String.html#M000288">index_all</a> but returns an array of
1683
+ Like <a href="String.html#M000294">index_all</a> but returns an array of
1684
1684
  Ranges.
1685
1685
  </p>
1686
1686
  <pre>
@@ -1693,8 +1693,8 @@ CREDIT: Trans
1693
1693
  </p>
1694
1694
  </div>
1695
1695
  <div class="sourcecode">
1696
- <p class="source-link">[ <a href="javascript:toggleSource('M000286_source')" id="l_M000286_source">+</a> ]</p>
1697
- <div id="M000286_source" class="dyn-source">
1696
+ <p class="source-link">[ <a href="javascript:toggleSource('M000292_source')" id="l_M000292_source">+</a> ]</p>
1697
+ <div id="M000292_source" class="dyn-source">
1698
1698
  <pre>
1699
1699
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 24</span>
1700
1700
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_all</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">reuse</span>=<span class="ruby-keyword kw">false</span>)
@@ -1716,7 +1716,7 @@ CREDIT: Trans
1716
1716
  </div>
1717
1717
  <div class="method">
1718
1718
  <div class="title">
1719
- <a name="M000287"></a><b>range_of_line</b>()
1719
+ <a name="M000293"></a><b>range_of_line</b>()
1720
1720
  </div>
1721
1721
  <div class="description">
1722
1722
  <p>
@@ -1731,8 +1731,8 @@ CREDIT: Trans
1731
1731
  </p>
1732
1732
  </div>
1733
1733
  <div class="sourcecode">
1734
- <p class="source-link">[ <a href="javascript:toggleSource('M000287_source')" id="l_M000287_source">+</a> ]</p>
1735
- <div id="M000287_source" class="dyn-source">
1734
+ <p class="source-link">[ <a href="javascript:toggleSource('M000293_source')" id="l_M000293_source">+</a> ]</p>
1735
+ <div id="M000293_source" class="dyn-source">
1736
1736
  <pre>
1737
1737
  <span class="ruby-comment cmt"># File lib/core/facets/string/range.rb, line 46</span>
1738
1738
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">range_of_line</span>
@@ -1749,7 +1749,7 @@ CREDIT: Trans
1749
1749
  </div>
1750
1750
  <div class="method">
1751
1751
  <div class="title">
1752
- <a name="M000321"></a><b>rewrite</b>(rules)
1752
+ <a name="M000327"></a><b>rewrite</b>(rules)
1753
1753
  </div>
1754
1754
  <div class="description">
1755
1755
  <p>
@@ -1773,8 +1773,8 @@ CREDIT: George Moschovitis
1773
1773
  </p>
1774
1774
  </div>
1775
1775
  <div class="sourcecode">
1776
- <p class="source-link">[ <a href="javascript:toggleSource('M000321_source')" id="l_M000321_source">+</a> ]</p>
1777
- <div id="M000321_source" class="dyn-source">
1776
+ <p class="source-link">[ <a href="javascript:toggleSource('M000327_source')" id="l_M000327_source">+</a> ]</p>
1777
+ <div id="M000327_source" class="dyn-source">
1778
1778
  <pre>
1779
1779
  <span class="ruby-comment cmt"># File lib/core/facets/string/rewrite.rb, line 18</span>
1780
1780
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rewrite</span>(<span class="ruby-identifier">rules</span>)
@@ -1791,7 +1791,7 @@ CREDIT: George Moschovitis
1791
1791
  </div>
1792
1792
  <div class="method">
1793
1793
  <div class="title">
1794
- <a name="M000265"></a><b>shatter</b>( re )
1794
+ <a name="M000271"></a><b>shatter</b>( re )
1795
1795
  </div>
1796
1796
  <div class="description">
1797
1797
  <p>
@@ -1813,8 +1813,8 @@ CREDIT: Trans
1813
1813
  </p>
1814
1814
  </div>
1815
1815
  <div class="sourcecode">
1816
- <p class="source-link">[ <a href="javascript:toggleSource('M000265_source')" id="l_M000265_source">+</a> ]</p>
1817
- <div id="M000265_source" class="dyn-source">
1816
+ <p class="source-link">[ <a href="javascript:toggleSource('M000271_source')" id="l_M000271_source">+</a> ]</p>
1817
+ <div id="M000271_source" class="dyn-source">
1818
1818
  <pre>
1819
1819
  <span class="ruby-comment cmt"># File lib/core/facets/string/shatter.rb, line 15</span>
1820
1820
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">shatter</span>( <span class="ruby-identifier">re</span> )
@@ -1829,12 +1829,12 @@ CREDIT: Trans
1829
1829
  </div>
1830
1830
  <div class="method">
1831
1831
  <div class="title">
1832
- <a name="M000289"></a><b>snakecase</b>()
1832
+ <a name="M000295"></a><b>snakecase</b>()
1833
1833
  </div>
1834
1834
  <div class="description">
1835
1835
  <p>
1836
- The reverse of <tt><a href="String.html#M000272">camelcase</a></tt>. Makes
1837
- an underscored of a <a href="String.html#M000272">camelcase</a> string.
1836
+ The reverse of <tt><a href="String.html#M000278">camelcase</a></tt>. Makes
1837
+ an underscored of a <a href="String.html#M000278">camelcase</a> string.
1838
1838
  </p>
1839
1839
  <p>
1840
1840
  Changes &#8217;::&#8217; to &#8217;/&#8217; to convert namespaces to paths.
@@ -1849,8 +1849,8 @@ Examples
1849
1849
  </pre>
1850
1850
  </div>
1851
1851
  <div class="sourcecode">
1852
- <p class="source-link">[ <a href="javascript:toggleSource('M000289_source')" id="l_M000289_source">+</a> ]</p>
1853
- <div id="M000289_source" class="dyn-source">
1852
+ <p class="source-link">[ <a href="javascript:toggleSource('M000295_source')" id="l_M000295_source">+</a> ]</p>
1853
+ <div id="M000295_source" class="dyn-source">
1854
1854
  <pre>
1855
1855
  <span class="ruby-comment cmt"># File lib/core/facets/string/snakecase.rb, line 12</span>
1856
1856
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snakecase</span>
@@ -1866,7 +1866,7 @@ Examples
1866
1866
  </div>
1867
1867
  <div class="method">
1868
1868
  <div class="title">
1869
- <a name="M000320"></a><b>splice</b>(idx, sub=nil)
1869
+ <a name="M000326"></a><b>splice</b>(idx, sub=nil)
1870
1870
  </div>
1871
1871
  <div class="description">
1872
1872
  <p>
@@ -1890,8 +1890,8 @@ CREDIT: Trans
1890
1890
  </p>
1891
1891
  </div>
1892
1892
  <div class="sourcecode">
1893
- <p class="source-link">[ <a href="javascript:toggleSource('M000320_source')" id="l_M000320_source">+</a> ]</p>
1894
- <div id="M000320_source" class="dyn-source">
1893
+ <p class="source-link">[ <a href="javascript:toggleSource('M000326_source')" id="l_M000326_source">+</a> ]</p>
1894
+ <div id="M000326_source" class="dyn-source">
1895
1895
  <pre>
1896
1896
  <span class="ruby-comment cmt"># File lib/core/facets/string/splice.rb, line 20</span>
1897
1897
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">splice</span>(<span class="ruby-identifier">idx</span>, <span class="ruby-identifier">sub</span>=<span class="ruby-keyword kw">nil</span>)
@@ -1912,7 +1912,7 @@ CREDIT: Trans
1912
1912
  </div>
1913
1913
  <div class="method">
1914
1914
  <div class="title">
1915
- <a name="M000270"></a><b>start_with?</b>(prefix)
1915
+ <a name="M000276"></a><b>start_with?</b>(prefix)
1916
1916
  </div>
1917
1917
  <div class="description">
1918
1918
  <p>
@@ -1927,8 +1927,8 @@ CREDIT: Lucas Carlson, Blaine Cook
1927
1927
  </p>
1928
1928
  </div>
1929
1929
  <div class="sourcecode">
1930
- <p class="source-link">[ <a href="javascript:toggleSource('M000270_source')" id="l_M000270_source">+</a> ]</p>
1931
- <div id="M000270_source" class="dyn-source">
1930
+ <p class="source-link">[ <a href="javascript:toggleSource('M000276_source')" id="l_M000276_source">+</a> ]</p>
1931
+ <div id="M000276_source" class="dyn-source">
1932
1932
  <pre>
1933
1933
  <span class="ruby-comment cmt"># File lib/core/facets/string/start_with.rb, line 12</span>
1934
1934
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_with?</span>(<span class="ruby-identifier">prefix</span>)
@@ -1940,7 +1940,7 @@ CREDIT: Lucas Carlson, Blaine Cook
1940
1940
  </div>
1941
1941
  <div class="method">
1942
1942
  <div class="title">
1943
- <a name="M000281"></a><b>tab</b>(n)
1943
+ <a name="M000287"></a><b>tab</b>(n)
1944
1944
  </div>
1945
1945
  <div class="description">
1946
1946
  <p>
@@ -1951,8 +1951,8 @@ CREDIT: Gavin Sinclair
1951
1951
  </p>
1952
1952
  </div>
1953
1953
  <div class="sourcecode">
1954
- <p class="source-link">[ <a href="javascript:toggleSource('M000281_source')" id="l_M000281_source">+</a> ]</p>
1955
- <div id="M000281_source" class="dyn-source">
1954
+ <p class="source-link">[ <a href="javascript:toggleSource('M000287_source')" id="l_M000287_source">+</a> ]</p>
1955
+ <div id="M000287_source" class="dyn-source">
1956
1956
  <pre>
1957
1957
  <span class="ruby-comment cmt"># File lib/core/facets/string/tab.rb, line 12</span>
1958
1958
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tab</span>(<span class="ruby-identifier">n</span>)
@@ -1964,7 +1964,7 @@ CREDIT: Gavin Sinclair
1964
1964
  </div>
1965
1965
  <div class="method">
1966
1966
  <div class="title">
1967
- <a name="M000306"></a><b>tabto</b>(n)
1967
+ <a name="M000312"></a><b>tabto</b>(n)
1968
1968
  </div>
1969
1969
  <div class="description">
1970
1970
  <p>
@@ -1976,8 +1976,8 @@ CREDIT: Gavin Sinclair
1976
1976
  </p>
1977
1977
  </div>
1978
1978
  <div class="sourcecode">
1979
- <p class="source-link">[ <a href="javascript:toggleSource('M000306_source')" id="l_M000306_source">+</a> ]</p>
1980
- <div id="M000306_source" class="dyn-source">
1979
+ <p class="source-link">[ <a href="javascript:toggleSource('M000312_source')" id="l_M000312_source">+</a> ]</p>
1980
+ <div id="M000312_source" class="dyn-source">
1981
1981
  <pre>
1982
1982
  <span class="ruby-comment cmt"># File lib/core/facets/string/tabto.rb, line 10</span>
1983
1983
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tabto</span>(<span class="ruby-identifier">n</span>)
@@ -1993,7 +1993,7 @@ CREDIT: Gavin Sinclair
1993
1993
  </div>
1994
1994
  <div class="method">
1995
1995
  <div class="title">
1996
- <a name="M000305"></a><b>titlecase</b>()
1996
+ <a name="M000311"></a><b>titlecase</b>()
1997
1997
  </div>
1998
1998
  <div class="description">
1999
1999
  <p>
@@ -2008,8 +2008,8 @@ CREDIT: Eliazar Parra
2008
2008
  </p>
2009
2009
  </div>
2010
2010
  <div class="sourcecode">
2011
- <p class="source-link">[ <a href="javascript:toggleSource('M000305_source')" id="l_M000305_source">+</a> ]</p>
2012
- <div id="M000305_source" class="dyn-source">
2011
+ <p class="source-link">[ <a href="javascript:toggleSource('M000311_source')" id="l_M000311_source">+</a> ]</p>
2012
+ <div id="M000311_source" class="dyn-source">
2013
2013
  <pre>
2014
2014
  <span class="ruby-comment cmt"># File lib/core/facets/string/titlecase.rb, line 10</span>
2015
2015
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">titlecase</span>
@@ -2021,7 +2021,7 @@ CREDIT: Eliazar Parra
2021
2021
  </div>
2022
2022
  <div class="method">
2023
2023
  <div class="title">
2024
- <a name="M000263"></a><b>to_b</b>()
2024
+ <a name="M000269"></a><b>to_b</b>()
2025
2025
  </div>
2026
2026
  <div class="description">
2027
2027
  <p>
@@ -2043,8 +2043,8 @@ Examples:
2043
2043
  </pre>
2044
2044
  </div>
2045
2045
  <div class="sourcecode">
2046
- <p class="source-link">[ <a href="javascript:toggleSource('M000263_source')" id="l_M000263_source">+</a> ]</p>
2047
- <div id="M000263_source" class="dyn-source">
2046
+ <p class="source-link">[ <a href="javascript:toggleSource('M000269_source')" id="l_M000269_source">+</a> ]</p>
2047
+ <div id="M000269_source" class="dyn-source">
2048
2048
  <pre>
2049
2049
  <span class="ruby-comment cmt"># File lib/core/facets/boolean.rb, line 43</span>
2050
2050
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_b</span>
@@ -2063,7 +2063,7 @@ Examples:
2063
2063
  </div>
2064
2064
  <div class="method">
2065
2065
  <div class="title">
2066
- <a name="M000267"></a><b>to_re</b>(esc=false)
2066
+ <a name="M000273"></a><b>to_re</b>(esc=false)
2067
2067
  </div>
2068
2068
  <div class="description">
2069
2069
  <p>
@@ -2077,8 +2077,8 @@ CREDIT: Trans
2077
2077
  </p>
2078
2078
  </div>
2079
2079
  <div class="sourcecode">
2080
- <p class="source-link">[ <a href="javascript:toggleSource('M000267_source')" id="l_M000267_source">+</a> ]</p>
2081
- <div id="M000267_source" class="dyn-source">
2080
+ <p class="source-link">[ <a href="javascript:toggleSource('M000273_source')" id="l_M000273_source">+</a> ]</p>
2081
+ <div id="M000273_source" class="dyn-source">
2082
2082
  <pre>
2083
2083
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 9</span>
2084
2084
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_re</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">false</span>)
@@ -2090,7 +2090,7 @@ CREDIT: Trans
2090
2090
  </div>
2091
2091
  <div class="method">
2092
2092
  <div class="title">
2093
- <a name="M000268"></a><b>to_rx</b>(esc=true)
2093
+ <a name="M000274"></a><b>to_rx</b>(esc=true)
2094
2094
  </div>
2095
2095
  <div class="description">
2096
2096
  <p>
@@ -2105,8 +2105,8 @@ CREDIT: Trans
2105
2105
  </p>
2106
2106
  </div>
2107
2107
  <div class="sourcecode">
2108
- <p class="source-link">[ <a href="javascript:toggleSource('M000268_source')" id="l_M000268_source">+</a> ]</p>
2109
- <div id="M000268_source" class="dyn-source">
2108
+ <p class="source-link">[ <a href="javascript:toggleSource('M000274_source')" id="l_M000274_source">+</a> ]</p>
2109
+ <div id="M000274_source" class="dyn-source">
2110
2110
  <pre>
2111
2111
  <span class="ruby-comment cmt"># File lib/core/facets/string/to_re.rb, line 21</span>
2112
2112
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rx</span>(<span class="ruby-identifier">esc</span>=<span class="ruby-keyword kw">true</span>)
@@ -2118,12 +2118,12 @@ CREDIT: Trans
2118
2118
  </div>
2119
2119
  <div class="method">
2120
2120
  <div class="title">
2121
- <a name="M000313"></a><b>unbracket</b>(bra=nil, ket=nil)
2121
+ <a name="M000319"></a><b>unbracket</b>(bra=nil, ket=nil)
2122
2122
  </div>
2123
2123
  <div class="description">
2124
2124
  <p>
2125
2125
  Return a new string embraced by given brakets. If only one <a
2126
- href="String.html#M000311">bracket</a> char is given it will be placed on
2126
+ href="String.html#M000317">bracket</a> char is given it will be placed on
2127
2127
  either side.
2128
2128
  </p>
2129
2129
  <pre>
@@ -2135,8 +2135,8 @@ CREDIT: Trans
2135
2135
  </p>
2136
2136
  </div>
2137
2137
  <div class="sourcecode">
2138
- <p class="source-link">[ <a href="javascript:toggleSource('M000313_source')" id="l_M000313_source">+</a> ]</p>
2139
- <div id="M000313_source" class="dyn-source">
2138
+ <p class="source-link">[ <a href="javascript:toggleSource('M000319_source')" id="l_M000319_source">+</a> ]</p>
2139
+ <div id="M000319_source" class="dyn-source">
2140
2140
  <pre>
2141
2141
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 37</span>
2142
2142
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -2160,7 +2160,7 @@ CREDIT: Trans
2160
2160
  </div>
2161
2161
  <div class="method">
2162
2162
  <div class="title">
2163
- <a name="M000314"></a><b>unbracket!</b>(bra=nil, ket=nil)
2163
+ <a name="M000320"></a><b>unbracket!</b>(bra=nil, ket=nil)
2164
2164
  </div>
2165
2165
  <div class="description">
2166
2166
  <p>
@@ -2171,8 +2171,8 @@ CREDIT: Trans
2171
2171
  </p>
2172
2172
  </div>
2173
2173
  <div class="sourcecode">
2174
- <p class="source-link">[ <a href="javascript:toggleSource('M000314_source')" id="l_M000314_source">+</a> ]</p>
2175
- <div id="M000314_source" class="dyn-source">
2174
+ <p class="source-link">[ <a href="javascript:toggleSource('M000320_source')" id="l_M000320_source">+</a> ]</p>
2175
+ <div id="M000320_source" class="dyn-source">
2176
2176
  <pre>
2177
2177
  <span class="ruby-comment cmt"># File lib/core/facets/string/bracket.rb, line 57</span>
2178
2178
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbracket!</span>(<span class="ruby-identifier">bra</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">ket</span>=<span class="ruby-keyword kw">nil</span>)
@@ -2184,7 +2184,7 @@ CREDIT: Trans
2184
2184
  </div>
2185
2185
  <div class="method">
2186
2186
  <div class="title">
2187
- <a name="M000296"></a><b>upcase?</b>()
2187
+ <a name="M000302"></a><b>upcase?</b>()
2188
2188
  </div>
2189
2189
  <div class="description">
2190
2190
  <p>
@@ -2200,8 +2200,8 @@ CREDIT: Phil Tomson
2200
2200
  </p>
2201
2201
  </div>
2202
2202
  <div class="sourcecode">
2203
- <p class="source-link">[ <a href="javascript:toggleSource('M000296_source')" id="l_M000296_source">+</a> ]</p>
2204
- <div id="M000296_source" class="dyn-source">
2203
+ <p class="source-link">[ <a href="javascript:toggleSource('M000302_source')" id="l_M000302_source">+</a> ]</p>
2204
+ <div id="M000302_source" class="dyn-source">
2205
2205
  <pre>
2206
2206
  <span class="ruby-comment cmt"># File lib/core/facets/string/capitalized.rb, line 38</span>
2207
2207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upcase?</span>
@@ -2213,7 +2213,7 @@ CREDIT: Phil Tomson
2213
2213
  </div>
2214
2214
  <div class="method">
2215
2215
  <div class="title">
2216
- <a name="M000300"></a><b>variablize</b>()
2216
+ <a name="M000306"></a><b>variablize</b>()
2217
2217
  </div>
2218
2218
  <div class="description">
2219
2219
  <p>
@@ -2222,8 +2222,8 @@ variable name. This also replaces non-valid characters with underscores.
2222
2222
  </p>
2223
2223
  </div>
2224
2224
  <div class="sourcecode">
2225
- <p class="source-link">[ <a href="javascript:toggleSource('M000300_source')" id="l_M000300_source">+</a> ]</p>
2226
- <div id="M000300_source" class="dyn-source">
2225
+ <p class="source-link">[ <a href="javascript:toggleSource('M000306_source')" id="l_M000306_source">+</a> ]</p>
2226
+ <div id="M000306_source" class="dyn-source">
2227
2227
  <pre>
2228
2228
  <span class="ruby-comment cmt"># File lib/core/facets/string/variablize.rb, line 7</span>
2229
2229
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">variablize</span>
@@ -2236,7 +2236,7 @@ variable name. This also replaces non-valid characters with underscores.
2236
2236
  </div>
2237
2237
  <div class="method">
2238
2238
  <div class="title">
2239
- <a name="M000275"></a><b>word_wrap</b>( col_width=80 )
2239
+ <a name="M000281"></a><b>word_wrap</b>( col_width=80 )
2240
2240
  </div>
2241
2241
  <div class="description">
2242
2242
  <p>
@@ -2262,8 +2262,8 @@ CREDIT: Gavin Kistner, Dayne Broderson
2262
2262
  </p>
2263
2263
  </div>
2264
2264
  <div class="sourcecode">
2265
- <p class="source-link">[ <a href="javascript:toggleSource('M000275_source')" id="l_M000275_source">+</a> ]</p>
2266
- <div id="M000275_source" class="dyn-source">
2265
+ <p class="source-link">[ <a href="javascript:toggleSource('M000281_source')" id="l_M000281_source">+</a> ]</p>
2266
+ <div id="M000281_source" class="dyn-source">
2267
2267
  <pre>
2268
2268
  <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 18</span>
2269
2269
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
@@ -2275,11 +2275,11 @@ CREDIT: Gavin Kistner, Dayne Broderson
2275
2275
  </div>
2276
2276
  <div class="method">
2277
2277
  <div class="title">
2278
- <a name="M000276"></a><b>word_wrap!</b>( col_width=80 )
2278
+ <a name="M000282"></a><b>word_wrap!</b>( col_width=80 )
2279
2279
  </div>
2280
2280
  <div class="description">
2281
2281
  <p>
2282
- As with <a href="String.html#M000275">word_wrap</a>, but modifies the
2282
+ As with <a href="String.html#M000281">word_wrap</a>, but modifies the
2283
2283
  string in place.
2284
2284
  </p>
2285
2285
  <p>
@@ -2287,8 +2287,8 @@ CREDIT: Gavin Kistner, Dayne Broderson
2287
2287
  </p>
2288
2288
  </div>
2289
2289
  <div class="sourcecode">
2290
- <p class="source-link">[ <a href="javascript:toggleSource('M000276_source')" id="l_M000276_source">+</a> ]</p>
2291
- <div id="M000276_source" class="dyn-source">
2290
+ <p class="source-link">[ <a href="javascript:toggleSource('M000282_source')" id="l_M000282_source">+</a> ]</p>
2291
+ <div id="M000282_source" class="dyn-source">
2292
2292
  <pre>
2293
2293
  <span class="ruby-comment cmt"># File lib/core/facets/string/word_wrap.rb, line 26</span>
2294
2294
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">word_wrap!</span>( <span class="ruby-identifier">col_width</span>=<span class="ruby-value">80</span> )
@@ -2302,7 +2302,7 @@ CREDIT: Gavin Kistner, Dayne Broderson
2302
2302
  </div>
2303
2303
  <div class="method">
2304
2304
  <div class="title">
2305
- <a name="M000307"></a><b>words</b>()
2305
+ <a name="M000313"></a><b>words</b>()
2306
2306
  </div>
2307
2307
  <div class="description">
2308
2308
  <p>
@@ -2313,8 +2313,8 @@ Returns an array of characters.
2313
2313
  </pre>
2314
2314
  </div>
2315
2315
  <div class="sourcecode">
2316
- <p class="source-link">[ <a href="javascript:toggleSource('M000307_source')" id="l_M000307_source">+</a> ]</p>
2317
- <div id="M000307_source" class="dyn-source">
2316
+ <p class="source-link">[ <a href="javascript:toggleSource('M000313_source')" id="l_M000313_source">+</a> ]</p>
2317
+ <div id="M000313_source" class="dyn-source">
2318
2318
  <pre>
2319
2319
  <span class="ruby-comment cmt"># File lib/core/facets/string/words.rb, line 7</span>
2320
2320
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">words</span>