mack-facets 0.6.1.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,15 +88,15 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000012">count</a>&nbsp;&nbsp;
92
- <a href="#M000013">invert</a>&nbsp;&nbsp;
93
- <a href="#M000005">parse_splat_args</a>&nbsp;&nbsp;
94
- <a href="#M000008">pick_random</a>&nbsp;&nbsp;
95
- <a href="#M000009">random_each</a>&nbsp;&nbsp;
96
- <a href="#M000006">randomize</a>&nbsp;&nbsp;
97
- <a href="#M000007">randomize!</a>&nbsp;&nbsp;
98
- <a href="#M000010">subset?</a>&nbsp;&nbsp;
99
- <a href="#M000011">superset?</a>&nbsp;&nbsp;
91
+ <a href="#M000014">count</a>&nbsp;&nbsp;
92
+ <a href="#M000015">invert</a>&nbsp;&nbsp;
93
+ <a href="#M000007">parse_splat_args</a>&nbsp;&nbsp;
94
+ <a href="#M000010">pick_random</a>&nbsp;&nbsp;
95
+ <a href="#M000011">random_each</a>&nbsp;&nbsp;
96
+ <a href="#M000008">randomize</a>&nbsp;&nbsp;
97
+ <a href="#M000009">randomize!</a>&nbsp;&nbsp;
98
+ <a href="#M000012">subset?</a>&nbsp;&nbsp;
99
+ <a href="#M000013">superset?</a>&nbsp;&nbsp;
100
100
  </div>
101
101
  </div>
102
102
 
@@ -118,26 +118,26 @@
118
118
  <div id="methods">
119
119
  <h3 class="section-bar">Public Instance methods</h3>
120
120
 
121
- <div id="method-M000012" class="method-detail">
122
- <a name="M000012"></a>
121
+ <div id="method-M000014" class="method-detail">
122
+ <a name="M000014"></a>
123
123
 
124
124
  <div class="method-heading">
125
- <a href="#M000012" class="method-signature">
125
+ <a href="#M000014" class="method-signature">
126
126
  <span class="method-name">count</span><span class="method-args">()</span>
127
127
  </a>
128
128
  </div>
129
129
 
130
130
  <div class="method-description">
131
131
  <p>
132
- This will give you a <a href="Array.html#M000012">count</a>, as a <a
132
+ This will give you a <a href="Array.html#M000014">count</a>, as a <a
133
133
  href="Hash.html">Hash</a>, of all the values in the <a
134
134
  href="Array.html">Array</a>. %w{spam spam eggs ham eggs spam}.<a
135
- href="Array.html#M000012">count</a> # =&gt; {&quot;eggs&quot; =&gt; 2,
135
+ href="Array.html#M000014">count</a> # =&gt; {&quot;eggs&quot; =&gt; 2,
136
136
  &quot;ham&quot; =&gt; 1, &quot;spam&quot; =&gt; 3}
137
137
  </p>
138
138
  <p><a class="source-toggle" href="#"
139
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
140
- <div class="method-source-code" id="M000012-source">
139
+ onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
140
+ <div class="method-source-code" id="M000014-source">
141
141
  <pre>
142
142
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 76</span>
143
143
  76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>
@@ -150,25 +150,25 @@ href="Array.html#M000012">count</a> # =&gt; {&quot;eggs&quot; =&gt; 2,
150
150
  </div>
151
151
  </div>
152
152
 
153
- <div id="method-M000013" class="method-detail">
154
- <a name="M000013"></a>
153
+ <div id="method-M000015" class="method-detail">
154
+ <a name="M000015"></a>
155
155
 
156
156
  <div class="method-heading">
157
- <a href="#M000013" class="method-signature">
157
+ <a href="#M000015" class="method-signature">
158
158
  <span class="method-name">invert</span><span class="method-args">()</span>
159
159
  </a>
160
160
  </div>
161
161
 
162
162
  <div class="method-description">
163
163
  <p>
164
- This will <a href="Array.html#M000013">invert</a> the index and the values
164
+ This will <a href="Array.html#M000015">invert</a> the index and the values
165
165
  and return a <a href="Hash.html">Hash</a> of the results. %w{red yellow
166
- orange}.<a href="Array.html#M000013">invert</a> # =&gt; {&quot;red&quot;
166
+ orange}.<a href="Array.html#M000015">invert</a> # =&gt; {&quot;red&quot;
167
167
  =&gt; 0, &quot;orange&quot; =&gt; 2, &quot;yellow&quot; =&gt; 1}
168
168
  </p>
169
169
  <p><a class="source-toggle" href="#"
170
- onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
171
- <div class="method-source-code" id="M000013-source">
170
+ onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
171
+ <div class="method-source-code" id="M000015-source">
172
172
  <pre>
173
173
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 84</span>
174
174
  84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">invert</span>
@@ -181,11 +181,11 @@ orange}.<a href="Array.html#M000013">invert</a> # =&gt; {&quot;red&quot;
181
181
  </div>
182
182
  </div>
183
183
 
184
- <div id="method-M000005" class="method-detail">
185
- <a name="M000005"></a>
184
+ <div id="method-M000007" class="method-detail">
185
+ <a name="M000007"></a>
186
186
 
187
187
  <div class="method-heading">
188
- <a href="#M000005" class="method-signature">
188
+ <a href="#M000007" class="method-signature">
189
189
  <span class="method-name">parse_splat_args</span><span class="method-args">()</span>
190
190
  </a>
191
191
  </div>
@@ -202,15 +202,15 @@ foo(*args)
202
202
  end The problem is when you use the * like that everything that comes in is
203
203
  an array. Here are a few problems with this: foo([1,2,3]) When you pass an
204
204
  array into this type of method you get the following nested array:
205
- [[1,2,3]] The <a href="Array.html#M000005">parse_splat_args</a> method, if
205
+ [[1,2,3]] The <a href="Array.html#M000007">parse_splat_args</a> method, if
206
206
  called, would do this: args.parse_splat_args # =&gt; [1,2,3] Now say you
207
207
  called this method like such: foo(1) args would be [1]
208
208
  args.parse_splat_args # =&gt; 1 Finally foo args.parse_splat_args # =&gt;
209
209
  nil
210
210
  </p>
211
211
  <p><a class="source-toggle" href="#"
212
- onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
213
- <div class="method-source-code" id="M000005-source">
212
+ onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
213
+ <div class="method-source-code" id="M000007-source">
214
214
  <pre>
215
215
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 21</span>
216
216
  21: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_splat_args</span>
@@ -231,11 +231,11 @@ nil
231
231
  </div>
232
232
  </div>
233
233
 
234
- <div id="method-M000008" class="method-detail">
235
- <a name="M000008"></a>
234
+ <div id="method-M000010" class="method-detail">
235
+ <a name="M000010"></a>
236
236
 
237
237
  <div class="method-heading">
238
- <a href="#M000008" class="method-signature">
238
+ <a href="#M000010" class="method-signature">
239
239
  <span class="method-name">pick_random</span><span class="method-args">()</span>
240
240
  </a>
241
241
  </div>
@@ -245,8 +245,8 @@ nil
245
245
  This will pick a random value from the array
246
246
  </p>
247
247
  <p><a class="source-toggle" href="#"
248
- onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
249
- <div class="method-source-code" id="M000008-source">
248
+ onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
249
+ <div class="method-source-code" id="M000010-source">
250
250
  <pre>
251
251
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 54</span>
252
252
  54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pick_random</span>
@@ -257,11 +257,11 @@ This will pick a random value from the array
257
257
  </div>
258
258
  </div>
259
259
 
260
- <div id="method-M000009" class="method-detail">
261
- <a name="M000009"></a>
260
+ <div id="method-M000011" class="method-detail">
261
+ <a name="M000011"></a>
262
262
 
263
263
  <div class="method-heading">
264
- <a href="#M000009" class="method-signature">
264
+ <a href="#M000011" class="method-signature">
265
265
  <span class="method-name">random_each</span><span class="method-args">() {|x| ...}</span>
266
266
  </a>
267
267
  </div>
@@ -271,8 +271,8 @@ This will pick a random value from the array
271
271
  This allows you to easily recurse of the array randomly.
272
272
  </p>
273
273
  <p><a class="source-toggle" href="#"
274
- onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
275
- <div class="method-source-code" id="M000009-source">
274
+ onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
275
+ <div class="method-source-code" id="M000011-source">
276
276
  <pre>
277
277
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 59</span>
278
278
  59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">random_each</span>
@@ -283,11 +283,11 @@ This allows you to easily recurse of the array randomly.
283
283
  </div>
284
284
  </div>
285
285
 
286
- <div id="method-M000006" class="method-detail">
287
- <a name="M000006"></a>
286
+ <div id="method-M000008" class="method-detail">
287
+ <a name="M000008"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="#M000006" class="method-signature">
290
+ <a href="#M000008" class="method-signature">
291
291
  <span class="method-name">randomize</span><span class="method-args">() {|x, y| ...}</span>
292
292
  </a>
293
293
  </div>
@@ -297,8 +297,8 @@ This allows you to easily recurse of the array randomly.
297
297
  This will return a new instance of the array sorted randomly.
298
298
  </p>
299
299
  <p><a class="source-toggle" href="#"
300
- onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
301
- <div class="method-source-code" id="M000006-source">
300
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
301
+ <div class="method-source-code" id="M000008-source">
302
302
  <pre>
303
303
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 36</span>
304
304
  36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">randomize</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -313,23 +313,23 @@ This will return a new instance of the array sorted randomly.
313
313
  </div>
314
314
  </div>
315
315
 
316
- <div id="method-M000007" class="method-detail">
317
- <a name="M000007"></a>
316
+ <div id="method-M000009" class="method-detail">
317
+ <a name="M000009"></a>
318
318
 
319
319
  <div class="method-heading">
320
- <a href="#M000007" class="method-signature">
320
+ <a href="#M000009" class="method-signature">
321
321
  <span class="method-name">randomize!</span><span class="method-args">(&amp;block)</span>
322
322
  </a>
323
323
  </div>
324
324
 
325
325
  <div class="method-description">
326
326
  <p>
327
- This calls the <a href="Array.html#M000006">randomize</a> method, but will
327
+ This calls the <a href="Array.html#M000008">randomize</a> method, but will
328
328
  permantly replace the existing array.
329
329
  </p>
330
330
  <p><a class="source-toggle" href="#"
331
- onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
332
- <div class="method-source-code" id="M000007-source">
331
+ onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
332
+ <div class="method-source-code" id="M000009-source">
333
333
  <pre>
334
334
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 45</span>
335
335
  45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">randomize!</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -344,19 +344,19 @@ permantly replace the existing array.
344
344
  </div>
345
345
  </div>
346
346
 
347
- <div id="method-M000010" class="method-detail">
348
- <a name="M000010"></a>
347
+ <div id="method-M000012" class="method-detail">
348
+ <a name="M000012"></a>
349
349
 
350
350
  <div class="method-heading">
351
- <a href="#M000010" class="method-signature">
351
+ <a href="#M000012" class="method-signature">
352
352
  <span class="method-name">subset?</span><span class="method-args">(other)</span>
353
353
  </a>
354
354
  </div>
355
355
 
356
356
  <div class="method-description">
357
357
  <p><a class="source-toggle" href="#"
358
- onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
359
- <div class="method-source-code" id="M000010-source">
358
+ onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
359
+ <div class="method-source-code" id="M000012-source">
360
360
  <pre>
361
361
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 63</span>
362
362
  63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subset?</span>(<span class="ruby-identifier">other</span>)
@@ -370,19 +370,19 @@ permantly replace the existing array.
370
370
  </div>
371
371
  </div>
372
372
 
373
- <div id="method-M000011" class="method-detail">
374
- <a name="M000011"></a>
373
+ <div id="method-M000013" class="method-detail">
374
+ <a name="M000013"></a>
375
375
 
376
376
  <div class="method-heading">
377
- <a href="#M000011" class="method-signature">
377
+ <a href="#M000013" class="method-signature">
378
378
  <span class="method-name">superset?</span><span class="method-args">(other)</span>
379
379
  </a>
380
380
  </div>
381
381
 
382
382
  <div class="method-description">
383
383
  <p><a class="source-toggle" href="#"
384
- onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
385
- <div class="method-source-code" id="M000011-source">
384
+ onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
385
+ <div class="method-source-code" id="M000013-source">
386
386
  <pre>
387
387
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/array.rb, line 70</span>
388
388
  70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">superset?</span>(<span class="ruby-identifier">other</span>)
@@ -88,9 +88,9 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000017">class_is_a?</a>&nbsp;&nbsp;
92
- <a href="#M000016">new_instance_of</a>&nbsp;&nbsp;
93
- <a href="#M000018">parents</a>&nbsp;&nbsp;
91
+ <a href="#M000019">class_is_a?</a>&nbsp;&nbsp;
92
+ <a href="#M000018">new_instance_of</a>&nbsp;&nbsp;
93
+ <a href="#M000020">parents</a>&nbsp;&nbsp;
94
94
  </div>
95
95
  </div>
96
96
 
@@ -112,11 +112,11 @@
112
112
  <div id="methods">
113
113
  <h3 class="section-bar">Public Class methods</h3>
114
114
 
115
- <div id="method-M000016" class="method-detail">
116
- <a name="M000016"></a>
115
+ <div id="method-M000018" class="method-detail">
116
+ <a name="M000018"></a>
117
117
 
118
118
  <div class="method-heading">
119
- <a href="#M000016" class="method-signature">
119
+ <a href="#M000018" class="method-signature">
120
120
  <span class="method-name">new_instance_of</span><span class="method-args">(klass_name)</span>
121
121
  </a>
122
122
  </div>
@@ -134,8 +134,8 @@ Examples:
134
134
  Class.new_instance_of(&quot;Animals::Dog&quot;) =&gt; #&lt;Animals::Dog:0x376a2c&gt;
135
135
  </pre>
136
136
  <p><a class="source-toggle" href="#"
137
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
138
- <div class="method-source-code" id="M000016-source">
137
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
138
+ <div class="method-source-code" id="M000018-source">
139
139
  <pre>
140
140
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/class.rb, line 8</span>
141
141
  8: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new_instance_of</span>(<span class="ruby-identifier">klass_name</span>)
@@ -148,11 +148,11 @@ Examples:
148
148
 
149
149
  <h3 class="section-bar">Public Instance methods</h3>
150
150
 
151
- <div id="method-M000017" class="method-detail">
152
- <a name="M000017"></a>
151
+ <div id="method-M000019" class="method-detail">
152
+ <a name="M000019"></a>
153
153
 
154
154
  <div class="method-heading">
155
- <a href="#M000017" class="method-signature">
155
+ <a href="#M000019" class="method-signature">
156
156
  <span class="method-name">class_is_a?</span><span class="method-args">(klass_name)</span>
157
157
  </a>
158
158
  </div>
@@ -163,8 +163,8 @@ This will through the ancestor tree of object and tell you if that object
163
163
  is of the specified type.
164
164
  </p>
165
165
  <p><a class="source-toggle" href="#"
166
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
167
- <div class="method-source-code" id="M000017-source">
166
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
167
+ <div class="method-source-code" id="M000019-source">
168
168
  <pre>
169
169
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/class.rb, line 14</span>
170
170
  14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_is_a?</span>(<span class="ruby-identifier">klass_name</span>)
@@ -180,11 +180,11 @@ is of the specified type.
180
180
  </div>
181
181
  </div>
182
182
 
183
- <div id="method-M000018" class="method-detail">
184
- <a name="M000018"></a>
183
+ <div id="method-M000020" class="method-detail">
184
+ <a name="M000020"></a>
185
185
 
186
186
  <div class="method-heading">
187
- <a href="#M000018" class="method-signature">
187
+ <a href="#M000020" class="method-signature">
188
188
  <span class="method-name">parents</span><span class="method-args">()</span>
189
189
  </a>
190
190
  </div>
@@ -202,8 +202,8 @@ Examples:
202
202
  Fruit.parents # =&gt; [Object]
203
203
  </pre>
204
204
  <p><a class="source-toggle" href="#"
205
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
206
- <div class="method-source-code" id="M000018-source">
205
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
206
+ <div class="method-source-code" id="M000020-source">
207
207
  <pre>
208
208
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/class.rb, line 29</span>
209
209
  29: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parents</span>
@@ -88,9 +88,9 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000003">-</a>&nbsp;&nbsp;
92
- <a href="#M000002">join</a>&nbsp;&nbsp;
93
- <a href="#M000004">to_params</a>&nbsp;&nbsp;
91
+ <a href="#M000005">-</a>&nbsp;&nbsp;
92
+ <a href="#M000004">join</a>&nbsp;&nbsp;
93
+ <a href="#M000006">to_params</a>&nbsp;&nbsp;
94
94
  </div>
95
95
  </div>
96
96
 
@@ -112,11 +112,11 @@
112
112
  <div id="methods">
113
113
  <h3 class="section-bar">Public Instance methods</h3>
114
114
 
115
- <div id="method-M000003" class="method-detail">
116
- <a name="M000003"></a>
115
+ <div id="method-M000005" class="method-detail">
116
+ <a name="M000005"></a>
117
117
 
118
118
  <div class="method-heading">
119
- <a href="#M000003" class="method-signature">
119
+ <a href="#M000005" class="method-signature">
120
120
  <span class="method-name">-</span><span class="method-args">(ars)</span>
121
121
  </a>
122
122
  </div>
@@ -126,8 +126,8 @@
126
126
  Deletes the key(s) passed in from the hash.
127
127
  </p>
128
128
  <p><a class="source-toggle" href="#"
129
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
130
- <div class="method-source-code" id="M000003-source">
129
+ onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
130
+ <div class="method-source-code" id="M000005-source">
131
131
  <pre>
132
132
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/hash.rb, line 14</span>
133
133
  14: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">-</span>(<span class="ruby-identifier">ars</span>)
@@ -139,19 +139,19 @@ Deletes the key(s) passed in from the hash.
139
139
  </div>
140
140
  </div>
141
141
 
142
- <div id="method-M000002" class="method-detail">
143
- <a name="M000002"></a>
142
+ <div id="method-M000004" class="method-detail">
143
+ <a name="M000004"></a>
144
144
 
145
145
  <div class="method-heading">
146
- <a href="#M000002" class="method-signature">
146
+ <a href="#M000004" class="method-signature">
147
147
  <span class="method-name">join</span><span class="method-args">(pair_string, join_string)</span>
148
148
  </a>
149
149
  </div>
150
150
 
151
151
  <div class="method-description">
152
152
  <p><a class="source-toggle" href="#"
153
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
154
- <div class="method-source-code" id="M000002-source">
153
+ onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
154
+ <div class="method-source-code" id="M000004-source">
155
155
  <pre>
156
156
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/hash.rb, line 4</span>
157
157
  4: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">join</span>(<span class="ruby-identifier">pair_string</span>, <span class="ruby-identifier">join_string</span>)
@@ -167,11 +167,11 @@ Deletes the key(s) passed in from the hash.
167
167
  </div>
168
168
  </div>
169
169
 
170
- <div id="method-M000004" class="method-detail">
171
- <a name="M000004"></a>
170
+ <div id="method-M000006" class="method-detail">
171
+ <a name="M000006"></a>
172
172
 
173
173
  <div class="method-heading">
174
- <a href="#M000004" class="method-signature">
174
+ <a href="#M000006" class="method-signature">
175
175
  <span class="method-name">to_params</span><span class="method-args">(escape = true)</span>
176
176
  </a>
177
177
  </div>
@@ -182,8 +182,8 @@ Converts a hash to query string parameters. An optional boolean escapes the
182
182
  values if true, which is the default.
183
183
  </p>
184
184
  <p><a class="source-toggle" href="#"
185
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
186
- <div class="method-source-code" id="M000004-source">
185
+ onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
186
+ <div class="method-source-code" id="M000006-source">
187
187
  <pre>
188
188
  <span class="ruby-comment cmt"># File lib/mack-facets/extensions/hash.rb, line 21</span>
189
189
  21: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_params</span>(<span class="ruby-identifier">escape</span> = <span class="ruby-keyword kw">true</span>)