Capcode 0.9.7 → 0.9.8

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.
@@ -86,10 +86,10 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000025">get</a>&nbsp;&nbsp;
90
- <a href="#M000026">options</a>&nbsp;&nbsp;
91
- <a href="#M000023">print_debug</a>&nbsp;&nbsp;
92
- <a href="#M000024">set</a>&nbsp;&nbsp;
89
+ <a href="#M000027">get</a>&nbsp;&nbsp;
90
+ <a href="#M000028">options</a>&nbsp;&nbsp;
91
+ <a href="#M000025">print_debug</a>&nbsp;&nbsp;
92
+ <a href="#M000026">set</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -111,19 +111,19 @@
111
111
  <div id="methods">
112
112
  <h3 class="section-bar">Public Class methods</h3>
113
113
 
114
- <div id="method-M000025" class="method-detail">
115
- <a name="M000025"></a>
114
+ <div id="method-M000027" class="method-detail">
115
+ <a name="M000027"></a>
116
116
 
117
117
  <div class="method-heading">
118
- <a href="#M000025" class="method-signature">
118
+ <a href="#M000027" class="method-signature">
119
119
  <span class="method-name">get</span><span class="method-args">( key = nil )</span>
120
120
  </a>
121
121
  </div>
122
122
 
123
123
  <div class="method-description">
124
124
  <p><a class="source-toggle" href="#"
125
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
126
- <div class="method-source-code" id="M000025-source">
125
+ onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
126
+ <div class="method-source-code" id="M000027-source">
127
127
  <pre>
128
128
  <span class="ruby-comment cmt"># File lib/capcode/configuration.rb, line 67</span>
129
129
  67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>( <span class="ruby-identifier">key</span> = <span class="ruby-keyword kw">nil</span> )
@@ -138,19 +138,19 @@
138
138
  </div>
139
139
  </div>
140
140
 
141
- <div id="method-M000026" class="method-detail">
142
- <a name="M000026"></a>
141
+ <div id="method-M000028" class="method-detail">
142
+ <a name="M000028"></a>
143
143
 
144
144
  <div class="method-heading">
145
- <a href="#M000026" class="method-signature">
145
+ <a href="#M000028" class="method-signature">
146
146
  <span class="method-name">options</span><span class="method-args">()</span>
147
147
  </a>
148
148
  </div>
149
149
 
150
150
  <div class="method-description">
151
151
  <p><a class="source-toggle" href="#"
152
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
153
- <div class="method-source-code" id="M000026-source">
152
+ onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
153
+ <div class="method-source-code" id="M000028-source">
154
154
  <pre>
155
155
  <span class="ruby-comment cmt"># File lib/capcode/configuration.rb, line 75</span>
156
156
  75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">options</span>
@@ -161,19 +161,19 @@
161
161
  </div>
162
162
  </div>
163
163
 
164
- <div id="method-M000023" class="method-detail">
165
- <a name="M000023"></a>
164
+ <div id="method-M000025" class="method-detail">
165
+ <a name="M000025"></a>
166
166
 
167
167
  <div class="method-heading">
168
- <a href="#M000023" class="method-signature">
168
+ <a href="#M000025" class="method-signature">
169
169
  <span class="method-name">print_debug</span><span class="method-args">()</span>
170
170
  </a>
171
171
  </div>
172
172
 
173
173
  <div class="method-description">
174
174
  <p><a class="source-toggle" href="#"
175
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
176
- <div class="method-source-code" id="M000023-source">
175
+ onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
176
+ <div class="method-source-code" id="M000025-source">
177
177
  <pre>
178
178
  <span class="ruby-comment cmt"># File lib/capcode/configuration.rb, line 28</span>
179
179
  28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">print_debug</span>
@@ -186,18 +186,18 @@
186
186
  </div>
187
187
  </div>
188
188
 
189
- <div id="method-M000024" class="method-detail">
190
- <a name="M000024"></a>
189
+ <div id="method-M000026" class="method-detail">
190
+ <a name="M000026"></a>
191
191
 
192
192
  <div class="method-heading">
193
- <a href="#M000024" class="method-signature">
193
+ <a href="#M000026" class="method-signature">
194
194
  <span class="method-name">set</span><span class="method-args">( key, value, opts = {} )</span>
195
195
  </a>
196
196
  </div>
197
197
 
198
198
  <div class="method-description">
199
199
  <p>
200
- Set global configuration <a href="Configuration.html#M000026">options</a>
200
+ Set global configuration <a href="Configuration.html#M000028">options</a>
201
201
  </p>
202
202
  <p>
203
203
  Options :
@@ -209,7 +209,7 @@ Options :
209
209
  <li><tt>:host</tt> = Listen host (default: 0.0.0.0)
210
210
 
211
211
  </li>
212
- <li><tt>:server</tt> = Server type (webrick, mongrel or thin)
212
+ <li><tt>:server</tt> = Server type (webrick, mongrel, thin, unicorn or rainbow)
213
213
 
214
214
  </li>
215
215
  <li><tt>:log</tt> = Output logfile (default: STDOUT)
@@ -239,12 +239,12 @@ This is also the working directory !
239
239
 
240
240
  </li>
241
241
  <li><tt>:auth</tt> = HTTP Basic Authentication <a
242
- href="Configuration.html#M000026">options</a>
242
+ href="Configuration.html#M000028">options</a>
243
243
 
244
244
  </li>
245
245
  </ul>
246
246
  <p>
247
- It can exist specifics <a href="Configuration.html#M000026">options</a>
247
+ It can exist specifics <a href="Configuration.html#M000028">options</a>
248
248
  depending on a renderer, a helper, &#8230;
249
249
  </p>
250
250
  <p>
@@ -257,8 +257,8 @@ Example :
257
257
  end
258
258
  </pre>
259
259
  <p><a class="source-toggle" href="#"
260
- onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
261
- <div class="method-source-code" id="M000024-source">
260
+ onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
261
+ <div class="method-source-code" id="M000026-source">
262
262
  <pre>
263
263
  <span class="ruby-comment cmt"># File lib/capcode/configuration.rb, line 58</span>
264
264
  58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</span>( <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">opts</span> = {} )
@@ -95,14 +95,15 @@ controllers
95
95
  <h3 class="section-bar">Methods</h3>
96
96
 
97
97
  <div class="name-list">
98
- <a href="#M000019">URL</a>&nbsp;&nbsp;
99
- <a href="#M000014">args</a>&nbsp;&nbsp;
100
- <a href="#M000015">args=</a>&nbsp;&nbsp;
101
- <a href="#M000020">content_for</a>&nbsp;&nbsp;
102
- <a href="#M000017">json</a>&nbsp;&nbsp;
103
- <a href="#M000018">redirect</a>&nbsp;&nbsp;
104
- <a href="#M000016">render</a>&nbsp;&nbsp;
105
- <a href="#M000021">static</a>&nbsp;&nbsp;
98
+ <a href="#M000020">URL</a>&nbsp;&nbsp;
99
+ <a href="#M000015">args</a>&nbsp;&nbsp;
100
+ <a href="#M000016">args=</a>&nbsp;&nbsp;
101
+ <a href="#M000021">content_for</a>&nbsp;&nbsp;
102
+ <a href="#M000018">json</a>&nbsp;&nbsp;
103
+ <a href="#M000023">log</a>&nbsp;&nbsp;
104
+ <a href="#M000019">redirect</a>&nbsp;&nbsp;
105
+ <a href="#M000017">render</a>&nbsp;&nbsp;
106
+ <a href="#M000022">static</a>&nbsp;&nbsp;
106
107
  </div>
107
108
  </div>
108
109
 
@@ -137,19 +138,19 @@ controllers
137
138
  <div id="methods">
138
139
  <h3 class="section-bar">Public Class methods</h3>
139
140
 
140
- <div id="method-M000014" class="method-detail">
141
- <a name="M000014"></a>
141
+ <div id="method-M000015" class="method-detail">
142
+ <a name="M000015"></a>
142
143
 
143
144
  <div class="method-heading">
144
- <a href="#M000014" class="method-signature">
145
+ <a href="#M000015" class="method-signature">
145
146
  <span class="method-name">args</span><span class="method-args">()</span>
146
147
  </a>
147
148
  </div>
148
149
 
149
150
  <div class="method-description">
150
151
  <p><a class="source-toggle" href="#"
151
- onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000014-source">
152
+ onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
153
+ <div class="method-source-code" id="M000015-source">
153
154
  <pre>
154
155
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 37</span>
155
156
  37: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">args</span>
@@ -160,19 +161,19 @@ controllers
160
161
  </div>
161
162
  </div>
162
163
 
163
- <div id="method-M000015" class="method-detail">
164
- <a name="M000015"></a>
164
+ <div id="method-M000016" class="method-detail">
165
+ <a name="M000016"></a>
165
166
 
166
167
  <div class="method-heading">
167
- <a href="#M000015" class="method-signature">
168
+ <a href="#M000016" class="method-signature">
168
169
  <span class="method-name">args=</span><span class="method-args">(x)</span>
169
170
  </a>
170
171
  </div>
171
172
 
172
173
  <div class="method-description">
173
174
  <p><a class="source-toggle" href="#"
174
- onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
175
- <div class="method-source-code" id="M000015-source">
175
+ onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
176
+ <div class="method-source-code" id="M000016-source">
176
177
  <pre>
177
178
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 40</span>
178
179
  40: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">args=</span>(<span class="ruby-identifier">x</span>)
@@ -185,18 +186,18 @@ controllers
185
186
 
186
187
  <h3 class="section-bar">Public Instance methods</h3>
187
188
 
188
- <div id="method-M000019" class="method-detail">
189
- <a name="M000019"></a>
189
+ <div id="method-M000020" class="method-detail">
190
+ <a name="M000020"></a>
190
191
 
191
192
  <div class="method-heading">
192
- <a href="#M000019" class="method-signature">
193
+ <a href="#M000020" class="method-signature">
193
194
  <span class="method-name">URL</span><span class="method-args">( klass, *a )</span>
194
195
  </a>
195
196
  </div>
196
197
 
197
198
  <div class="method-description">
198
199
  <p>
199
- Builds an <a href="Helpers.html#M000019">URL</a> route to a controller or a
200
+ Builds an <a href="Helpers.html#M000020">URL</a> route to a controller or a
200
201
  path
201
202
  </p>
202
203
  <p>
@@ -216,8 +217,8 @@ then
216
217
  URL( Capcode::Hello, &quot;you&quot; ) # =&gt; /hello/you
217
218
  </pre>
218
219
  <p><a class="source-toggle" href="#"
219
- onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
220
- <div class="method-source-code" id="M000019-source">
220
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
221
+ <div class="method-source-code" id="M000020-source">
221
222
  <pre>
222
223
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 204</span>
223
224
  204: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">URL</span>( <span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span> )
@@ -259,18 +260,18 @@ then
259
260
  </div>
260
261
  </div>
261
262
 
262
- <div id="method-M000020" class="method-detail">
263
- <a name="M000020"></a>
263
+ <div id="method-M000021" class="method-detail">
264
+ <a name="M000021"></a>
264
265
 
265
266
  <div class="method-heading">
266
- <a href="#M000020" class="method-signature">
267
+ <a href="#M000021" class="method-signature">
267
268
  <span class="method-name">content_for</span><span class="method-args">( x ) {|| ...}</span>
268
269
  </a>
269
270
  </div>
270
271
 
271
272
  <div class="method-description">
272
273
  <p>
273
- Calling <a href="Helpers.html#M000020">content_for</a> stores a block of
274
+ Calling <a href="Helpers.html#M000021">content_for</a> stores a block of
274
275
  markup in an identifier.
275
276
  </p>
276
277
  <pre>
@@ -306,8 +307,8 @@ markup in an identifier.
306
307
  end
307
308
  </pre>
308
309
  <p><a class="source-toggle" href="#"
309
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
310
- <div class="method-source-code" id="M000020-source">
310
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
311
+ <div class="method-source-code" id="M000021-source">
311
312
  <pre>
312
313
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 271</span>
313
314
  271: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">content_for</span>( <span class="ruby-identifier">x</span> )
@@ -320,11 +321,11 @@ markup in an identifier.
320
321
  </div>
321
322
  </div>
322
323
 
323
- <div id="method-M000017" class="method-detail">
324
- <a name="M000017"></a>
324
+ <div id="method-M000018" class="method-detail">
325
+ <a name="M000018"></a>
325
326
 
326
327
  <div class="method-heading">
327
- <a href="#M000017" class="method-signature">
328
+ <a href="#M000018" class="method-signature">
328
329
  <span class="method-name">json</span><span class="method-args">( d )</span>
329
330
  </a>
330
331
  </div>
@@ -344,12 +345,12 @@ Help you to return a JSON response
344
345
  </pre>
345
346
  <p>
346
347
  <b>DEPRECATED</b>, please use <tt><a
347
- href="Helpers.html#M000016">render</a>( :<a
348
- href="Helpers.html#M000017">json</a> =&gt; o )</tt>
348
+ href="Helpers.html#M000017">render</a>( :<a
349
+ href="Helpers.html#M000018">json</a> =&gt; o )</tt>
349
350
  </p>
350
351
  <p><a class="source-toggle" href="#"
351
- onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
352
- <div class="method-source-code" id="M000017-source">
352
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
353
+ <div class="method-source-code" id="M000018-source">
353
354
  <pre>
354
355
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 148</span>
355
356
  148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">json</span>( <span class="ruby-identifier">d</span> ) <span class="ruby-comment cmt">## DELETE THIS IN 1.0.0</span>
@@ -361,18 +362,47 @@ href="Helpers.html#M000017">json</a> =&gt; o )</tt>
361
362
  </div>
362
363
  </div>
363
364
 
364
- <div id="method-M000018" class="method-detail">
365
- <a name="M000018"></a>
365
+ <div id="method-M000023" class="method-detail">
366
+ <a name="M000023"></a>
366
367
 
367
368
  <div class="method-heading">
368
- <a href="#M000018" class="method-signature">
369
+ <a href="#M000023" class="method-signature">
370
+ <span class="method-name">log</span><span class="method-args">()</span>
371
+ </a>
372
+ </div>
373
+
374
+ <div class="method-description">
375
+ <p>
376
+ Use the Rack logger
377
+ </p>
378
+ <pre>
379
+ log.write( &quot;This is a log !&quot; )
380
+ </pre>
381
+ <p><a class="source-toggle" href="#"
382
+ onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
383
+ <div class="method-source-code" id="M000023-source">
384
+ <pre>
385
+ <span class="ruby-comment cmt"># File lib/capcode.rb, line 291</span>
386
+ 291: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log</span>
387
+ 292: <span class="ruby-constant">Capcode</span>.<span class="ruby-identifier">logger</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">env</span>[<span class="ruby-value str">'rack.errors'</span>]
388
+ 293: <span class="ruby-keyword kw">end</span>
389
+ </pre>
390
+ </div>
391
+ </div>
392
+ </div>
393
+
394
+ <div id="method-M000019" class="method-detail">
395
+ <a name="M000019"></a>
396
+
397
+ <div class="method-heading">
398
+ <a href="#M000019" class="method-signature">
369
399
  <span class="method-name">redirect</span><span class="method-args">( klass, *a )</span>
370
400
  </a>
371
401
  </div>
372
402
 
373
403
  <div class="method-description">
374
404
  <p>
375
- Send a <a href="Helpers.html#M000018">redirect</a> response
405
+ Send a <a href="Helpers.html#M000019">redirect</a> response
376
406
  </p>
377
407
  <pre>
378
408
  module Capcode
@@ -401,7 +431,7 @@ it can be a string path
401
431
  </pre>
402
432
  <p>
403
433
  it can be an http status code (by default <tt><a
404
- href="Helpers.html#M000018">redirect</a></tt> use the http status code 302)
434
+ href="Helpers.html#M000019">redirect</a></tt> use the http status code 302)
405
435
  </p>
406
436
  <pre>
407
437
  redirect( 304, MyController )
@@ -411,8 +441,8 @@ For more informations about HTTP status, see <a
411
441
  href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection">en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection</a>
412
442
  </p>
413
443
  <p><a class="source-toggle" href="#"
414
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
415
- <div class="method-source-code" id="M000018-source">
444
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
445
+ <div class="method-source-code" id="M000019-source">
416
446
  <pre>
417
447
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 180</span>
418
448
  180: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redirect</span>( <span class="ruby-identifier">klass</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span> )
@@ -430,11 +460,11 @@ href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection">en
430
460
  </div>
431
461
  </div>
432
462
 
433
- <div id="method-M000016" class="method-detail">
434
- <a name="M000016"></a>
463
+ <div id="method-M000017" class="method-detail">
464
+ <a name="M000017"></a>
435
465
 
436
466
  <div class="method-heading">
437
- <a href="#M000016" class="method-signature">
467
+ <a href="#M000017" class="method-signature">
438
468
  <span class="method-name">render</span><span class="method-args">( hash )</span>
439
469
  </a>
440
470
  </div>
@@ -444,7 +474,7 @@ href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection">en
444
474
  Render a view
445
475
  </p>
446
476
  <p>
447
- <a href="Helpers.html#M000016">render</a>&#8216;s parameter can be a Hash
477
+ <a href="Helpers.html#M000017">render</a>&#8216;s parameter can be a Hash
448
478
  or a string. Passing a string is equivalent to do
449
479
  </p>
450
480
  <pre>
@@ -473,13 +503,13 @@ exist in sass_path
473
503
  <li>:text =&gt; &quot;my text&quot;
474
504
 
475
505
  </li>
476
- <li>:<a href="Helpers.html#M000017">json</a> =&gt; MyObject : this suppose
506
+ <li>:<a href="Helpers.html#M000018">json</a> =&gt; MyObject : this suppose
477
507
  that&#8216;s MyObject respond to .to_json
478
508
 
479
509
  </li>
480
- <li>:<a href="Helpers.html#M000021">static</a> =&gt; &quot;my_file.xxx&quot; :
510
+ <li>:<a href="Helpers.html#M000022">static</a> =&gt; &quot;my_file.xxx&quot; :
481
511
  this suppose that&#8216;s my_file.xxx exist in the <a
482
- href="Helpers.html#M000021">static</a> directory
512
+ href="Helpers.html#M000022">static</a> directory
483
513
 
484
514
  </li>
485
515
  <li>:xml =&gt; :my_func : :my_func must be defined in <a
@@ -518,8 +548,8 @@ If you use the WebDav renderer, you can use the option
518
548
  :resource_class (see http://github.com/georgi/rack_dav for more informations)
519
549
  </pre>
520
550
  <p><a class="source-toggle" href="#"
521
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
522
- <div class="method-source-code" id="M000016-source">
551
+ onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
552
+ <div class="method-source-code" id="M000017-source">
523
553
  <pre>
524
554
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 74</span>
525
555
  74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render</span>( <span class="ruby-identifier">hash</span> )
@@ -589,33 +619,33 @@ If you use the WebDav renderer, you can use the option
589
619
  </div>
590
620
  </div>
591
621
 
592
- <div id="method-M000021" class="method-detail">
593
- <a name="M000021"></a>
622
+ <div id="method-M000022" class="method-detail">
623
+ <a name="M000022"></a>
594
624
 
595
625
  <div class="method-heading">
596
- <a href="#M000021" class="method-signature">
626
+ <a href="#M000022" class="method-signature">
597
627
  <span class="method-name">static</span><span class="method-args">()</span>
598
628
  </a>
599
629
  </div>
600
630
 
601
631
  <div class="method-description">
602
632
  <p>
603
- Return information about the <a href="Helpers.html#M000021">static</a>
633
+ Return information about the <a href="Helpers.html#M000022">static</a>
604
634
  directory
605
635
  </p>
606
636
  <ul>
607
- <li><tt><a href="Helpers.html#M000021">static</a>[:uri]</tt> give the <a
608
- href="Helpers.html#M000021">static</a> URI
637
+ <li><tt><a href="Helpers.html#M000022">static</a>[:uri]</tt> give the <a
638
+ href="Helpers.html#M000022">static</a> URI
609
639
 
610
640
  </li>
611
- <li><tt><a href="Helpers.html#M000021">static</a>[:path]</tt> give the path to
612
- the <a href="Helpers.html#M000021">static</a> directory on the server
641
+ <li><tt><a href="Helpers.html#M000022">static</a>[:path]</tt> give the path to
642
+ the <a href="Helpers.html#M000022">static</a> directory on the server
613
643
 
614
644
  </li>
615
645
  </ul>
616
646
  <p><a class="source-toggle" href="#"
617
- onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
618
- <div class="method-source-code" id="M000021-source">
647
+ onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
648
+ <div class="method-source-code" id="M000022-source">
619
649
  <pre>
620
650
  <span class="ruby-comment cmt"># File lib/capcode.rb, line 281</span>
621
651
  281: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">static</span>