table_setter 0.1.10 → 0.1.11

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.
@@ -2,7 +2,7 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=UTF-8" />
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>Class: TableSetter::App</title>
7
7
  <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
8
  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
@@ -24,7 +24,7 @@
24
24
  <div id="menu">
25
25
 
26
26
  <a href="../_index.html">Index (A)</a> &raquo;
27
- <span class='title'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span>
27
+ <span class='title'><span class='object_link'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span></span>
28
28
  &raquo;
29
29
  <span class="title">App</span>
30
30
 
@@ -43,7 +43,8 @@
43
43
 
44
44
  <iframe id="search_frame"></iframe>
45
45
 
46
- <div id="content"><h1>Class: TableSetter::App
46
+ <div id="content"><h1>Class: TableSetter::App
47
+
47
48
 
48
49
 
49
50
  </h1>
@@ -73,6 +74,7 @@
73
74
 
74
75
 
75
76
 
77
+
76
78
  <dt class="r2 last">Defined in:</dt>
77
79
  <dd class="r2 last">lib/table_setter/app.rb</dd>
78
80
 
@@ -82,7 +84,7 @@
82
84
 
83
85
 
84
86
 
85
- <h2>Class Attribute Summary</h2>
87
+ <h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
86
88
  <ul class="summary">
87
89
 
88
90
  <li class="public ">
@@ -101,12 +103,13 @@
101
103
 
102
104
 
103
105
 
106
+
104
107
 
105
108
 
106
- <span class="summary_desc">
109
+ <span class="summary_desc"><div class='inline'><p>
107
110
  Returns the value of attribute cache_timeout.
108
-
109
- </span>
111
+ </p>
112
+ </div></span>
110
113
 
111
114
  </li>
112
115
 
@@ -114,6 +117,7 @@ Returns the value of attribute cache_timeout.
114
117
  </ul>
115
118
 
116
119
 
120
+
117
121
 
118
122
  <div id="class_attr_details" class="attr_details">
119
123
  <h2>Class Attribute Details</h2>
@@ -167,9 +171,9 @@ Returns the value of attribute cache_timeout
167
171
  </div>
168
172
 
169
173
  <div id="footer">
170
- Generated on Tue Mar 9 17:18:08 2010 by
171
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
172
- 0.5.3 (ruby-1.8.7).
174
+ Generated on Thu Nov 4 18:34:16 2010 by
175
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
176
+ 0.6.1 (ruby-1.8.7).
173
177
  </div>
174
178
 
175
179
  </body>
@@ -2,7 +2,7 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=UTF-8" />
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>Class: TableSetter::Command</title>
7
7
  <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
8
  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
@@ -24,7 +24,7 @@
24
24
  <div id="menu">
25
25
 
26
26
  <a href="../_index.html">Index (C)</a> &raquo;
27
- <span class='title'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span>
27
+ <span class='title'><span class='object_link'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span></span>
28
28
  &raquo;
29
29
  <span class="title">Command</span>
30
30
 
@@ -43,7 +43,8 @@
43
43
 
44
44
  <iframe id="search_frame"></iframe>
45
45
 
46
- <div id="content"><h1>Class: TableSetter::Command
46
+ <div id="content"><h1>Class: TableSetter::Command
47
+
47
48
 
48
49
 
49
50
  </h1>
@@ -71,6 +72,7 @@
71
72
 
72
73
 
73
74
 
75
+
74
76
  <dt class="r2 last">Defined in:</dt>
75
77
  <dd class="r2 last">lib/table_setter/command.rb</dd>
76
78
 
@@ -83,9 +85,9 @@
83
85
  <dl class="constants">
84
86
 
85
87
  <dt id="BANNER-constant" class="">BANNER =
86
- <span class="summary_desc"></span>
88
+
87
89
  </dt>
88
- <dd><pre class="code"><span class='string val'>&quot;table-setter is a Sinatra application for rendering and processing CSVs from google docs into HTML.\n\nUsage:\ntable-setter COMMAND path/to/table-setter/assets OPTIONS\n\ncommands:\nstart run the development server, for deployment use config.ru\ninstall copy the table-setter assets into the the directory\nexport statically build tables in the ./out/\n\noptions:\n&quot;</span>
90
+ <dd><pre class="code"><span class='string val'>&quot;table-setter is a Sinatra application for rendering and processing CSVs from google docs into HTML.\n\nUsage:\ntable-setter COMMAND path/to/table-setter/assets OPTIONS\n\ncommands:\nstart run the development server, for deployment use config.ru\ninstall copy the table-setter assets into the the directory\nbuild statically build tables in the ./out/ directory\n\noptions:\n&quot;</span>
89
91
  </pre></dd>
90
92
 
91
93
  </dl>
@@ -93,11 +95,15 @@
93
95
 
94
96
 
95
97
 
96
- <h2>Instance Method Summary</h2>
98
+
99
+ <h2>
100
+ Instance Method Summary
101
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
102
+ </h2>
97
103
 
98
- <ul class="summary">
99
-
100
- <li class="public ">
104
+ <ul class="summary">
105
+
106
+ <li class="public ">
101
107
  <span class="summary_signature">
102
108
 
103
109
  <a href="#build_out-instance_method" title="#build_out (instance method)">- (Object) <strong>build_out</strong> </a>
@@ -110,14 +116,15 @@
110
116
 
111
117
 
112
118
 
119
+
113
120
 
114
121
 
115
- <span class="summary_desc"></span>
122
+ <span class="summary_desc"><div class='inline'></div></span>
116
123
 
117
124
  </li>
118
125
 
119
-
120
- <li class="public ">
126
+
127
+ <li class="public ">
121
128
  <span class="summary_signature">
122
129
 
123
130
  <a href="#initialize-instance_method" title="#initialize (instance method)">- (Command) <strong>initialize</strong> </a>
@@ -132,17 +139,18 @@
132
139
 
133
140
 
134
141
 
142
+
135
143
 
136
144
 
137
- <span class="summary_desc">
145
+ <span class="summary_desc"><div class='inline'><p>
138
146
  A new instance of Command.
139
-
140
- </span>
147
+ </p>
148
+ </div></span>
141
149
 
142
150
  </li>
143
151
 
144
-
145
- <li class="public ">
152
+
153
+ <li class="public ">
146
154
  <span class="summary_signature">
147
155
 
148
156
  <a href="#install_assets-instance_method" title="#install_assets (instance method)">- (Object) <strong>install_assets</strong> </a>
@@ -155,14 +163,15 @@ A new instance of Command.
155
163
 
156
164
 
157
165
 
166
+
158
167
 
159
168
 
160
- <span class="summary_desc"></span>
169
+ <span class="summary_desc"><div class='inline'></div></span>
161
170
 
162
171
  </li>
163
172
 
164
-
165
- <li class="public ">
173
+
174
+ <li class="public ">
166
175
  <span class="summary_signature">
167
176
 
168
177
  <a href="#start_server-instance_method" title="#start_server (instance method)">- (Object) <strong>start_server</strong> </a>
@@ -175,21 +184,24 @@ A new instance of Command.
175
184
 
176
185
 
177
186
 
187
+
178
188
 
179
189
 
180
- <span class="summary_desc"></span>
190
+ <span class="summary_desc"><div class='inline'></div></span>
181
191
 
182
192
  </li>
183
193
 
184
-
185
- </ul>
194
+
195
+ </ul>
196
+
197
+
186
198
  <div id="constructor_details" class="method_details_list">
187
199
  <h2>Constructor Details</h2>
188
200
 
189
201
  <div class="method_details first">
190
202
  <p class="signature first" id="initialize-instance_method">
191
203
 
192
- - (<tt><a href="" title="TableSetter::Command (class)">Command</a></tt>) <strong>initialize</strong>
204
+ - (<tt><span class='object_link'><a href="" title="TableSetter::Command (class)">Command</a></span></tt>) <strong>initialize</strong>
193
205
 
194
206
 
195
207
 
@@ -367,9 +379,9 @@ A new instance of Command
367
379
  </div>
368
380
 
369
381
  <div id="footer">
370
- Generated on Tue Mar 9 17:18:08 2010 by
371
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
372
- 0.5.3 (ruby-1.8.7).
382
+ Generated on Thu Nov 4 18:34:16 2010 by
383
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
384
+ 0.6.1 (ruby-1.8.7).
373
385
  </div>
374
386
 
375
387
  </body>
@@ -2,7 +2,7 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=UTF-8" />
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>Class: TableSetter::Table</title>
7
7
  <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
8
  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
@@ -24,7 +24,7 @@
24
24
  <div id="menu">
25
25
 
26
26
  <a href="../_index.html">Index (T)</a> &raquo;
27
- <span class='title'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span>
27
+ <span class='title'><span class='object_link'><a href="../TableSetter.html" title="TableSetter (module)">TableSetter</a></span></span>
28
28
  &raquo;
29
29
  <span class="title">Table</span>
30
30
 
@@ -43,7 +43,8 @@
43
43
 
44
44
  <iframe id="search_frame"></iframe>
45
45
 
46
- <div id="content"><h1>Class: TableSetter::Table
46
+ <div id="content"><h1>Class: TableSetter::Table
47
+
47
48
 
48
49
 
49
50
  </h1>
@@ -71,6 +72,7 @@
71
72
 
72
73
 
73
74
 
75
+
74
76
  <dt class="r2 last">Defined in:</dt>
75
77
  <dd class="r2 last">lib/table_setter/table.rb</dd>
76
78
 
@@ -79,7 +81,7 @@
79
81
 
80
82
 
81
83
 
82
- <h2>Instance Attribute Summary</h2>
84
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
83
85
  <ul class="summary">
84
86
 
85
87
  <li class="public ">
@@ -98,13 +100,14 @@
98
100
 
99
101
 
100
102
 
103
+
101
104
 
102
105
 
103
- <span class="summary_desc">
106
+ <span class="summary_desc"><div class='inline'><p>
104
107
  The <tt>Table</tt> class handles processing the yaml processing and csv
105
108
  loading, through table fu.
106
-
107
- </span>
109
+ </p>
110
+ </div></span>
108
111
 
109
112
  </li>
110
113
 
@@ -125,13 +128,14 @@ loading, through table fu.
125
128
 
126
129
 
127
130
 
131
+
128
132
 
129
133
 
130
- <span class="summary_desc">
134
+ <span class="summary_desc"><div class='inline'><p>
131
135
  The <tt>Table</tt> class handles processing the yaml processing and csv
132
136
  loading, through table fu.
133
-
134
- </span>
137
+ </p>
138
+ </div></span>
135
139
 
136
140
  </li>
137
141
 
@@ -152,13 +156,14 @@ loading, through table fu.
152
156
 
153
157
 
154
158
 
159
+
155
160
 
156
161
 
157
- <span class="summary_desc">
162
+ <span class="summary_desc"><div class='inline'><p>
158
163
  The <tt>Table</tt> class handles processing the yaml processing and csv
159
164
  loading, through table fu.
160
-
161
- </span>
165
+ </p>
166
+ </div></span>
162
167
 
163
168
  </li>
164
169
 
@@ -179,13 +184,14 @@ loading, through table fu.
179
184
 
180
185
 
181
186
 
187
+
182
188
 
183
189
 
184
- <span class="summary_desc">
190
+ <span class="summary_desc"><div class='inline'><p>
185
191
  The <tt>Table</tt> class handles processing the yaml processing and csv
186
192
  loading, through table fu.
187
-
188
- </span>
193
+ </p>
194
+ </div></span>
189
195
 
190
196
  </li>
191
197
 
@@ -206,13 +212,14 @@ loading, through table fu.
206
212
 
207
213
 
208
214
 
215
+
209
216
 
210
217
 
211
- <span class="summary_desc">
218
+ <span class="summary_desc"><div class='inline'><p>
212
219
  The <tt>Table</tt> class handles processing the yaml processing and csv
213
220
  loading, through table fu.
214
-
215
- </span>
221
+ </p>
222
+ </div></span>
216
223
 
217
224
  </li>
218
225
 
@@ -233,13 +240,14 @@ loading, through table fu.
233
240
 
234
241
 
235
242
 
243
+
236
244
 
237
245
 
238
- <span class="summary_desc">
246
+ <span class="summary_desc"><div class='inline'><p>
239
247
  The <tt>Table</tt> class handles processing the yaml processing and csv
240
248
  loading, through table fu.
241
-
242
- </span>
249
+ </p>
250
+ </div></span>
243
251
 
244
252
  </li>
245
253
 
@@ -247,11 +255,15 @@ loading, through table fu.
247
255
  </ul>
248
256
 
249
257
 
250
- <h2>Class Method Summary</h2>
258
+
259
+ <h2>
260
+ Class Method Summary
261
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
262
+ </h2>
251
263
 
252
- <ul class="summary">
253
-
254
- <li class="public ">
264
+ <ul class="summary">
265
+
266
+ <li class="public ">
255
267
  <span class="summary_signature">
256
268
 
257
269
  <a href="#all-class_method" title="all (class method)">+ (Object) <strong>all</strong> </a>
@@ -264,17 +276,18 @@ loading, through table fu.
264
276
 
265
277
 
266
278
 
279
+
267
280
 
268
281
 
269
- <span class="summary_desc">
282
+ <span class="summary_desc"><div class='inline'><p>
270
283
  Returns all the tables in the table directory.
271
-
272
- </span>
284
+ </p>
285
+ </div></span>
273
286
 
274
287
  </li>
275
288
 
276
-
277
- <li class="public ">
289
+
290
+ <li class="public ">
278
291
  <span class="summary_signature">
279
292
 
280
293
  <a href="#exists%3F-class_method" title="exists? (class method)">+ (Boolean) <strong>exists?</strong>(slug) </a>
@@ -287,17 +300,18 @@ Returns all the tables in the table directory.
287
300
 
288
301
 
289
302
 
303
+
290
304
 
291
305
 
292
- <span class="summary_desc">
306
+ <span class="summary_desc"><div class='inline'><p>
293
307
  Does a table with this slug exist?.
294
-
295
- </span>
308
+ </p>
309
+ </div></span>
296
310
 
297
311
  </li>
298
312
 
299
-
300
- <li class="public ">
313
+
314
+ <li class="public ">
301
315
  <span class="summary_signature">
302
316
 
303
317
  <a href="#fresh_yaml_time-class_method" title="fresh_yaml_time (class method)">+ (Object) <strong>fresh_yaml_time</strong> </a>
@@ -310,19 +324,20 @@ Does a table with this slug exist?.
310
324
 
311
325
 
312
326
 
327
+
313
328
 
314
329
 
315
- <span class="summary_desc">
330
+ <span class="summary_desc"><div class='inline'><p>
316
331
  <tt>fresh_yaml_time</tt> checks each file in the tables directory and
317
332
  returns the newest file&#8217;s modification time &#8212; there&#8217;s
318
333
  probably a more unix-y way to do this but for now this is plenty speedy.
319
-
320
- </span>
334
+ </p>
335
+ </div></span>
321
336
 
322
337
  </li>
323
338
 
324
-
325
- <li class="public ">
339
+
340
+ <li class="public ">
326
341
  <span class="summary_signature">
327
342
 
328
343
  <a href="#table_path-class_method" title="table_path (class method)">+ (Object) <strong>table_path</strong>(slug) </a>
@@ -335,23 +350,27 @@ probably a more unix-y way to do this but for now this is plenty speedy.
335
350
 
336
351
 
337
352
 
353
+
338
354
 
339
355
 
340
- <span class="summary_desc">
356
+ <span class="summary_desc"><div class='inline'><p>
341
357
  Convenience method for looking up by slug.
342
-
343
- </span>
358
+ </p>
359
+ </div></span>
344
360
 
345
361
  </li>
346
362
 
347
-
348
- </ul>
349
-
350
- <h2>Instance Method Summary</h2>
363
+
364
+ </ul>
365
+
366
+ <h2>
367
+ Instance Method Summary
368
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
369
+ </h2>
351
370
 
352
- <ul class="summary">
353
-
354
- <li class="public ">
371
+ <ul class="summary">
372
+
373
+ <li class="public ">
355
374
  <span class="summary_signature">
356
375
 
357
376
  <a href="#csv_data-instance_method" title="#csv_data (instance method)">- (Object) <strong>csv_data</strong> </a>
@@ -364,19 +383,20 @@ Convenience method for looking up by slug.
364
383
 
365
384
 
366
385
 
386
+
367
387
 
368
388
 
369
- <span class="summary_desc">
389
+ <span class="summary_desc"><div class='inline'><p>
370
390
  The csv_data for the table fu instance is loaded either from the remote
371
391
  source or from a local file, depending on the keys present in the yaml
372
392
  file.
373
-
374
- </span>
393
+ </p>
394
+ </div></span>
375
395
 
376
396
  </li>
377
397
 
378
-
379
- <li class="public ">
398
+
399
+ <li class="public ">
380
400
  <span class="summary_signature">
381
401
 
382
402
  <a href="#faceted%3F-instance_method" title="#faceted? (instance method)">- (Boolean) <strong>faceted?</strong> </a>
@@ -389,14 +409,15 @@ file.
389
409
 
390
410
 
391
411
 
412
+
392
413
 
393
414
 
394
- <span class="summary_desc"></span>
415
+ <span class="summary_desc"><div class='inline'></div></span>
395
416
 
396
417
  </li>
397
418
 
398
-
399
- <li class="public ">
419
+
420
+ <li class="public ">
400
421
  <span class="summary_signature">
401
422
 
402
423
  <a href="#hard_paginate%3F-instance_method" title="#hard_paginate? (instance method)">- (Boolean) <strong>hard_paginate?</strong> </a>
@@ -409,17 +430,18 @@ file.
409
430
 
410
431
 
411
432
 
433
+
412
434
 
413
435
 
414
- <span class="summary_desc">
436
+ <span class="summary_desc"><div class='inline'><p>
415
437
  hard_paginate instructs the app to render batches of a table.
416
-
417
- </span>
438
+ </p>
439
+ </div></span>
418
440
 
419
441
  </li>
420
442
 
421
-
422
- <li class="public ">
443
+
444
+ <li class="public ">
423
445
  <span class="summary_signature">
424
446
 
425
447
  <a href="#initialize-instance_method" title="#initialize (instance method)">- (Table) <strong>initialize</strong>(slug, opts = {:defer =&gt; false}) </a>
@@ -434,19 +456,20 @@ hard_paginate instructs the app to render batches of a table.
434
456
 
435
457
 
436
458
 
459
+
437
460
 
438
461
 
439
- <span class="summary_desc">
462
+ <span class="summary_desc"><div class='inline'><p>
440
463
  A new Table should accept a slug, mapped to a yaml in the tables directory,
441
464
  optionally you can defer loading of the table until you&#8217;re ready to
442
465
  render it.
443
-
444
- </span>
466
+ </p>
467
+ </div></span>
445
468
 
446
469
  </li>
447
470
 
448
-
449
- <li class="public ">
471
+
472
+ <li class="public ">
450
473
  <span class="summary_signature">
451
474
 
452
475
  <a href="#load-instance_method" title="#load (instance method)">- (Object) <strong>load</strong> </a>
@@ -459,18 +482,19 @@ render it.
459
482
 
460
483
 
461
484
 
485
+
462
486
 
463
487
 
464
- <span class="summary_desc">
488
+ <span class="summary_desc"><div class='inline'><p>
465
489
  The load method handles the actual request either to the file system or
466
490
  remote url.
467
-
468
- </span>
491
+ </p>
492
+ </div></span>
469
493
 
470
494
  </li>
471
495
 
472
-
473
- <li class="public ">
496
+
497
+ <li class="public ">
474
498
  <span class="summary_signature">
475
499
 
476
500
  <a href="#method_missing-instance_method" title="#method_missing (instance method)">- (Object) <strong>method_missing</strong>(method) </a>
@@ -483,18 +507,19 @@ remote url.
483
507
 
484
508
 
485
509
 
510
+
486
511
 
487
512
 
488
- <span class="summary_desc">
513
+ <span class="summary_desc"><div class='inline'><p>
489
514
  We magically need access to the top level keys like google_key, or uri for
490
515
  the other methods.
491
-
492
- </span>
516
+ </p>
517
+ </div></span>
493
518
 
494
519
  </li>
495
520
 
496
-
497
- <li class="public ">
521
+
522
+ <li class="public ">
498
523
  <span class="summary_signature">
499
524
 
500
525
  <a href="#paginate%21-instance_method" title="#paginate! (instance method)">- (Object) <strong>paginate!</strong>(curr_page) </a>
@@ -507,17 +532,18 @@ the other methods.
507
532
 
508
533
 
509
534
 
535
+
510
536
 
511
537
 
512
- <span class="summary_desc">
538
+ <span class="summary_desc"><div class='inline'><p>
513
539
  paginate uses TableFu&#8217;s only! method to batch the table.
514
-
515
- </span>
540
+ </p>
541
+ </div></span>
516
542
 
517
543
  </li>
518
544
 
519
-
520
- <li class="public ">
545
+
546
+ <li class="public ">
521
547
  <span class="summary_signature">
522
548
 
523
549
  <a href="#per_page-instance_method" title="#per_page (instance method)">- (Object) <strong>per_page</strong> </a>
@@ -530,17 +556,18 @@ paginate uses TableFu&#8217;s only! method to batch the table.
530
556
 
531
557
 
532
558
 
559
+
533
560
 
534
561
 
535
- <span class="summary_desc">
562
+ <span class="summary_desc"><div class='inline'><p>
536
563
  The number of rows per page.
537
-
538
- </span>
564
+ </p>
565
+ </div></span>
539
566
 
540
567
  </li>
541
568
 
542
-
543
- <li class="public ">
569
+
570
+ <li class="public ">
544
571
  <span class="summary_signature">
545
572
 
546
573
  <a href="#sort_array-instance_method" title="#sort_array (instance method)">- (Object) <strong>sort_array</strong> </a>
@@ -553,17 +580,18 @@ The number of rows per page.
553
580
 
554
581
 
555
582
 
583
+
556
584
 
557
585
 
558
- <span class="summary_desc">
586
+ <span class="summary_desc"><div class='inline'><p>
559
587
  A convienence method to return the sort array for table setter.
560
-
561
- </span>
588
+ </p>
589
+ </div></span>
562
590
 
563
591
  </li>
564
592
 
565
-
566
- <li class="public ">
593
+
594
+ <li class="public ">
567
595
  <span class="summary_signature">
568
596
 
569
597
  <a href="#sortable%3F-instance_method" title="#sortable? (instance method)">- (Boolean) <strong>sortable?</strong> </a>
@@ -576,18 +604,19 @@ A convienence method to return the sort array for table setter.
576
604
 
577
605
 
578
606
 
607
+
579
608
 
580
609
 
581
- <span class="summary_desc">
610
+ <span class="summary_desc"><div class='inline'><p>
582
611
  A table isn&#8217;t sortable by tablesorter if it&#8217;s either faceted or
583
612
  multi-page paginated.
584
-
585
- </span>
613
+ </p>
614
+ </div></span>
586
615
 
587
616
  </li>
588
617
 
589
-
590
- <li class="public ">
618
+
619
+ <li class="public ">
591
620
  <span class="summary_signature">
592
621
 
593
622
  <a href="#total_pages-instance_method" title="#total_pages (instance method)">- (Object) <strong>total_pages</strong> </a>
@@ -600,17 +629,18 @@ multi-page paginated.
600
629
 
601
630
 
602
631
 
632
+
603
633
 
604
634
 
605
- <span class="summary_desc">
635
+ <span class="summary_desc"><div class='inline'><p>
606
636
  The total pages we&#8217;ll have.
607
-
608
- </span>
637
+ </p>
638
+ </div></span>
609
639
 
610
640
  </li>
611
641
 
612
-
613
- <li class="public ">
642
+
643
+ <li class="public ">
614
644
  <span class="summary_signature">
615
645
 
616
646
  <a href="#updated_at-instance_method" title="#updated_at (instance method)">- (Object) <strong>updated_at</strong> </a>
@@ -623,18 +653,19 @@ The total pages we&#8217;ll have.
623
653
 
624
654
 
625
655
 
656
+
626
657
 
627
658
 
628
- <span class="summary_desc">
659
+ <span class="summary_desc"><div class='inline'><p>
629
660
  The real <tt>updated_at</tt> of a Table instance is the newer modification
630
661
  time of the csv file or the yaml file.
631
-
632
- </span>
662
+ </p>
663
+ </div></span>
633
664
 
634
665
  </li>
635
666
 
636
-
637
- <li class="public ">
667
+
668
+ <li class="public ">
638
669
  <span class="summary_signature">
639
670
 
640
671
  <a href="#uri-instance_method" title="#uri (instance method)">- (Object) <strong>uri</strong> </a>
@@ -647,24 +678,27 @@ time of the csv file or the yaml file.
647
678
 
648
679
 
649
680
 
681
+
650
682
 
651
683
 
652
- <span class="summary_desc">
684
+ <span class="summary_desc"><div class='inline'><p>
653
685
  Returns a usable uri based on what sort of input we have.
654
-
655
- </span>
686
+ </p>
687
+ </div></span>
656
688
 
657
689
  </li>
658
690
 
659
-
660
- </ul>
691
+
692
+ </ul>
693
+
694
+
661
695
  <div id="constructor_details" class="method_details_list">
662
696
  <h2>Constructor Details</h2>
663
697
 
664
698
  <div class="method_details first">
665
699
  <p class="signature first" id="initialize-instance_method">
666
700
 
667
- - (<tt><a href="" title="TableSetter::Table (class)">Table</a></tt>) <strong>initialize</strong>(slug, opts = {:defer =&gt; false})
701
+ - (<tt><span class='object_link'><a href="" title="TableSetter::Table (class)">Table</a></span></tt>) <strong>initialize</strong>(slug, opts = {:defer =&gt; false})
668
702
 
669
703
 
670
704
 
@@ -1603,7 +1637,7 @@ A convienence method to return the sort array for table setter.
1603
1637
 
1604
1638
  <span class='def def kw'>def</span> <span class='sort_array identifier id'>sort_array</span>
1605
1639
  <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='sorted_by identifier id'>sorted_by</span><span class='dot token'>.</span><span class='inject identifier id'>inject</span><span class='lparen token'>(</span><span class='lbrack token'>[</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='memo identifier id'>memo</span><span class='comma token'>,</span> <span class='lparen token'>(</span><span class='key identifier id'>key</span><span class='comma token'>,</span> <span class='value identifier id'>value</span><span class='rparen token'>)</span><span class='bitor op'>|</span>
1606
- <span class='memo identifier id'>memo</span> <span class='lshft op'>&lt;&lt;</span> <span class='lbrack token'>[</span><span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='columns identifier id'>columns</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='key identifier id'>key</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='value identifier id'>value</span> <span class='eq op'>==</span> <span class='string val'>'descending'</span> <span class='question op'>?</span> <span class='integer val'>0</span> <span class='colon op'>:</span> <span class='integer val'>1</span><span class='rbrack token'>]</span>
1640
+ <span class='memo identifier id'>memo</span> <span class='lshft op'>&lt;&lt;</span> <span class='lbrack token'>[</span><span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='columns identifier id'>columns</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='key identifier id'>key</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='value identifier id'>value</span> <span class='eq op'>==</span> <span class='string val'>'descending'</span> <span class='question op'>?</span> <span class='integer val'>1</span> <span class='colon op'>:</span> <span class='integer val'>0</span><span class='rbrack token'>]</span>
1607
1641
  <span class='end end kw'>end</span>
1608
1642
  <span class='end end kw'>end</span>
1609
1643
  </pre>
@@ -1804,9 +1838,9 @@ Returns a usable uri based on what sort of input we have.
1804
1838
  </div>
1805
1839
 
1806
1840
  <div id="footer">
1807
- Generated on Tue Mar 9 17:18:07 2010 by
1808
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
1809
- 0.5.3 (ruby-1.8.7).
1841
+ Generated on Thu Nov 4 18:34:17 2010 by
1842
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1843
+ 0.6.1 (ruby-1.8.7).
1810
1844
  </div>
1811
1845
 
1812
1846
  </body>