timeline_setter 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +11 -2
- data/config/assets.yml +9 -0
- data/doc/doc.markdown +65 -17
- data/doc/templates.html +3 -0
- data/doc/timeline-setter.html +327 -238
- data/doc/timeline-setter.min.html +3 -0
- data/documentation/TimelineSetter/CLI.html +77 -52
- data/documentation/TimelineSetter/Parser.html +40 -39
- data/documentation/TimelineSetter/Timeline.html +132 -83
- data/documentation/TimelineSetter.html +27 -12
- data/documentation/_index.html +23 -12
- data/documentation/class_list.html +20 -9
- data/documentation/css/style.css +7 -5
- data/documentation/file.README.html +33 -23
- data/documentation/file_list.html +20 -9
- data/documentation/frames.html +1 -1
- data/documentation/index.html +33 -23
- data/documentation/js/app.js +16 -14
- data/documentation/js/full_list.js +7 -6
- data/documentation/js/jquery.js +3 -3
- data/documentation/method_list.html +42 -23
- data/documentation/top-level-namespace.html +26 -11
- data/index.html +100 -19
- data/lib/timeline_setter/cli.rb +2 -0
- data/lib/timeline_setter/timeline.rb +6 -3
- data/lib/timeline_setter/version.rb +1 -1
- data/lib/timeline_setter.rb +0 -7
- data/public/javascripts/templates/card.jst +21 -0
- data/public/javascripts/templates/notch.jst +1 -0
- data/public/javascripts/templates/series_legend.jst +3 -0
- data/public/javascripts/templates/timeline.jst +20 -0
- data/public/javascripts/templates/year_notch.jst +3 -0
- data/public/javascripts/templates.js +1 -0
- data/public/javascripts/timeline-setter.js +303 -167
- data/public/javascripts/timeline-setter.min.js +1 -0
- data/public/stylesheets/timeline-setter.css +5 -5
- data/spec/timeline_setter_spec.rb +2 -2
- data/templates/timeline-markup.erb +5 -59
- data/timeline_setter.gemspec +15 -5
- metadata +15 -5
@@ -3,16 +3,26 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
|
8
|
-
|
6
|
+
<title>
|
7
|
+
Class: TimelineSetter::CLI
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
16
|
|
10
17
|
<script type="text/javascript" charset="utf-8">
|
11
18
|
relpath = '..';
|
12
19
|
if (relpath != '') relpath += '/';
|
13
20
|
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
+
|
16
26
|
|
17
27
|
</head>
|
18
28
|
<body>
|
@@ -33,11 +43,14 @@
|
|
33
43
|
</div>
|
34
44
|
|
35
45
|
<div id="search">
|
36
|
-
|
37
|
-
|
38
|
-
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
39
53
|
</div>
|
40
|
-
|
41
54
|
<div class="clear"></div>
|
42
55
|
</div>
|
43
56
|
|
@@ -82,6 +95,8 @@
|
|
82
95
|
|
83
96
|
|
84
97
|
|
98
|
+
|
99
|
+
|
85
100
|
|
86
101
|
<h2>
|
87
102
|
Instance Method Summary
|
@@ -171,10 +186,7 @@
|
|
171
186
|
|
172
187
|
|
173
188
|
|
174
|
-
<span class="summary_desc"><div class='inline'
|
175
|
-
A new instance of CLI.
|
176
|
-
</p>
|
177
|
-
</div></span>
|
189
|
+
<span class="summary_desc"><div class='inline'>A new instance of CLI.</div></span>
|
178
190
|
|
179
191
|
</li>
|
180
192
|
|
@@ -278,10 +290,7 @@ A new instance of CLI.
|
|
278
290
|
|
279
291
|
</p><div class="docstring">
|
280
292
|
<div class="discussion">
|
281
|
-
|
282
|
-
A new instance of CLI
|
283
|
-
</p>
|
284
|
-
|
293
|
+
A new instance of CLI
|
285
294
|
|
286
295
|
</div>
|
287
296
|
</div>
|
@@ -329,12 +338,6 @@ A new instance of CLI
|
|
329
338
|
<pre class="lines">
|
330
339
|
|
331
340
|
|
332
|
-
72
|
333
|
-
73
|
334
|
-
74
|
335
|
-
75
|
336
|
-
76
|
337
|
-
77
|
338
341
|
78
|
339
342
|
79
|
340
343
|
80
|
@@ -344,14 +347,24 @@ A new instance of CLI
|
|
344
347
|
84
|
345
348
|
85
|
346
349
|
86
|
347
|
-
87
|
350
|
+
87
|
351
|
+
88
|
352
|
+
89
|
353
|
+
90
|
354
|
+
91
|
355
|
+
92
|
356
|
+
93
|
357
|
+
94
|
358
|
+
95</pre>
|
348
359
|
</td>
|
349
360
|
<td>
|
350
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
361
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 78</span>
|
351
362
|
|
352
363
|
<span class='def def kw'>def</span> <span class='compile! fid id'>compile!</span>
|
353
|
-
<span class='if if kw'>if</span> <span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:
|
364
|
+
<span class='if if kw'>if</span> <span class='notop op'>!</span><span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:no_assets</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='notop op'>!</span><span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:min</span><span class='rbrack token'>]</span>
|
354
365
|
<span class='FileUtils constant id'>FileUtils</span><span class='dot token'>.</span><span class='cp_r identifier id'>cp_r</span><span class='lparen token'>(</span><span class='Dir constant id'>Dir</span><span class='dot token'>.</span><span class='glob identifier id'>glob</span><span class='lparen token'>(</span><span class='dstring node'>"#{TimelineSetter::ROOT}/public/*"</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='outdir identifier id'>outdir</span><span class='rparen token'>)</span>
|
366
|
+
<span class='comment val'># Concatenate JSTs to timeline-setter.js and remove templates.js</span>
|
367
|
+
<span class='dxstring node'>`cat #{outdir}/javascripts/templates.js >> #{outdir}/javascripts/timeline-setter.js && rm -rf #{outdir}/javascripts/templates*`</span>
|
355
368
|
<span class='end end kw'>end</span>
|
356
369
|
|
357
370
|
<span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='timeline_page_path identifier id'>timeline_page_path</span><span class='comma token'>,</span> <span class='string val'>'w+'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='doc identifier id'>doc</span><span class='bitor op'>|</span>
|
@@ -384,12 +397,12 @@ A new instance of CLI
|
|
384
397
|
<pre class="lines">
|
385
398
|
|
386
399
|
|
387
|
-
|
388
|
-
|
389
|
-
|
400
|
+
59
|
401
|
+
60
|
402
|
+
61</pre>
|
390
403
|
</td>
|
391
404
|
<td>
|
392
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
405
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 59</span>
|
393
406
|
|
394
407
|
<span class='def def kw'>def</span> <span class='events identifier id'>events</span>
|
395
408
|
<span class='TimelineSetter constant id'>TimelineSetter</span><span class='colon2 op'>::</span><span class='Parser constant id'>Parser</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='sheet identifier id'>sheet</span>
|
@@ -413,15 +426,21 @@ A new instance of CLI
|
|
413
426
|
<pre class="lines">
|
414
427
|
|
415
428
|
|
416
|
-
|
417
|
-
|
418
|
-
|
429
|
+
63
|
430
|
+
64
|
431
|
+
65
|
432
|
+
66
|
433
|
+
67
|
434
|
+
68</pre>
|
419
435
|
</td>
|
420
436
|
<td>
|
421
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
437
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 63</span>
|
422
438
|
|
423
439
|
<span class='def def kw'>def</span> <span class='html identifier id'>html</span>
|
424
|
-
<span class='TimelineSetter constant id'>TimelineSetter</span><span class='colon2 op'>::</span><span class='Timeline constant id'>Timeline</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='
|
440
|
+
<span class='TimelineSetter constant id'>TimelineSetter</span><span class='colon2 op'>::</span><span class='Timeline constant id'>Timeline</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='lbrace token'>{</span>
|
441
|
+
<span class='symbol val'>:events</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='events identifier id'>events</span><span class='dot token'>.</span><span class='events identifier id'>events</span><span class='comma token'>,</span>
|
442
|
+
<span class='symbol val'>:interval</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:interval</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='string val'>''</span>
|
443
|
+
<span class='rbrace token'>}</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:min</span><span class='rbrack token'>]</span> <span class='question op'>?</span> <span class='symbol val'>:timeline_min</span> <span class='colon op'>:</span> <span class='symbol val'>:timeline</span><span class='rparen token'>)</span>
|
425
444
|
<span class='end end kw'>end</span>
|
426
445
|
</pre>
|
427
446
|
</td>
|
@@ -442,12 +461,12 @@ A new instance of CLI
|
|
442
461
|
<pre class="lines">
|
443
462
|
|
444
463
|
|
445
|
-
|
446
|
-
|
447
|
-
|
464
|
+
70
|
465
|
+
71
|
466
|
+
72</pre>
|
448
467
|
</td>
|
449
468
|
<td>
|
450
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
469
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 70</span>
|
451
470
|
|
452
471
|
<span class='def def kw'>def</span> <span class='outdir identifier id'>outdir</span>
|
453
472
|
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:output</span><span class='rbrack token'>]</span> <span class='question op'>?</span> <span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:output</span><span class='rbrack token'>]</span> <span class='colon op'>:</span> <span class='dstring node'>"#{`pwd`.strip}/"</span>
|
@@ -506,7 +525,10 @@ A new instance of CLI
|
|
506
525
|
42
|
507
526
|
43
|
508
527
|
44
|
509
|
-
45
|
528
|
+
45
|
529
|
+
46
|
530
|
+
47
|
531
|
+
48</pre>
|
510
532
|
</td>
|
511
533
|
<td>
|
512
534
|
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 10</span>
|
@@ -522,8 +544,8 @@ A new instance of CLI
|
|
522
544
|
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-o'</span><span class='comma token'>,</span> <span class='string val'>'--output OUTPUT'</span><span class='comma token'>,</span> <span class='string val'>'Output directory to install timeline into.'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
|
523
545
|
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:output</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='o identifier id'>o</span>
|
524
546
|
<span class='end end kw'>end</span>
|
525
|
-
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-a'</span><span class='comma token'>,</span> <span class='string val'>'--
|
526
|
-
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:
|
547
|
+
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-a'</span><span class='comma token'>,</span> <span class='string val'>'--without-assets'</span><span class='comma token'>,</span> <span class='string val'>'Output timeline without supporting assets'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span>
|
548
|
+
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:no_assets</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='a identifier id'>a</span>
|
527
549
|
<span class='end end kw'>end</span>
|
528
550
|
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-O'</span><span class='comma token'>,</span> <span class='string val'>'--open'</span><span class='comma token'>,</span> <span class='string val'>'Open generated timeline in a browser'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
|
529
551
|
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:open</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='o identifier id'>o</span>
|
@@ -531,6 +553,9 @@ A new instance of CLI
|
|
531
553
|
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-m'</span><span class='comma token'>,</span> <span class='string val'>'--min'</span><span class='comma token'>,</span> <span class='string val'>'Create a minified one-page version of the timeline'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='m identifier id'>m</span><span class='bitor op'>|</span>
|
532
554
|
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:min</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='m identifier id'>m</span>
|
533
555
|
<span class='end end kw'>end</span>
|
556
|
+
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on identifier id'>on</span><span class='lparen token'>(</span><span class='string val'>'-i'</span><span class='comma token'>,</span> <span class='string val'>'--interval INTERVAL'</span><span class='comma token'>,</span> <span class='string val'>'Override automatic interval notches with a custom interval.'</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='i identifier id'>i</span><span class='bitor op'>|</span>
|
557
|
+
<span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:interval</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='i identifier id'>i</span>
|
558
|
+
<span class='end end kw'>end</span>
|
534
559
|
|
535
560
|
|
536
561
|
<span class='opts identifier id'>opts</span><span class='dot token'>.</span><span class='on_tail identifier id'>on_tail</span><span class='lparen token'>(</span><span class='string val'>"-h"</span><span class='comma token'>,</span> <span class='string val'>"--help"</span><span class='comma token'>,</span> <span class='string val'>"Show this message"</span><span class='rparen token'>)</span> <span class='do do kw'>do</span>
|
@@ -566,12 +591,12 @@ A new instance of CLI
|
|
566
591
|
<pre class="lines">
|
567
592
|
|
568
593
|
|
569
|
-
|
570
|
-
|
571
|
-
|
594
|
+
55
|
595
|
+
56
|
596
|
+
57</pre>
|
572
597
|
</td>
|
573
598
|
<td>
|
574
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
599
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 55</span>
|
575
600
|
|
576
601
|
<span class='def def kw'>def</span> <span class='sheet identifier id'>sheet</span>
|
577
602
|
<span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='@options ivar id'>@options</span><span class='lbrack token'>[</span><span class='symbol val'>:csv</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='read identifier id'>read</span>
|
@@ -595,12 +620,12 @@ A new instance of CLI
|
|
595
620
|
<pre class="lines">
|
596
621
|
|
597
622
|
|
598
|
-
|
599
|
-
|
600
|
-
|
623
|
+
74
|
624
|
+
75
|
625
|
+
76</pre>
|
601
626
|
</td>
|
602
627
|
<td>
|
603
|
-
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line
|
628
|
+
<pre class="code"><span class="info file"># File 'lib/timeline_setter/cli.rb', line 74</span>
|
604
629
|
|
605
630
|
<span class='def def kw'>def</span> <span class='timeline_page_path identifier id'>timeline_page_path</span>
|
606
631
|
<span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='outdir identifier id'>outdir</span><span class='comma token'>,</span> <span class='string val'>'timeline.html'</span><span class='rparen token'>)</span>
|
@@ -616,9 +641,9 @@ A new instance of CLI
|
|
616
641
|
</div>
|
617
642
|
|
618
643
|
<div id="footer">
|
619
|
-
Generated on
|
644
|
+
Generated on Wed Nov 2 15:20:08 2011 by
|
620
645
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
621
|
-
0.
|
646
|
+
0.7.2 (ruby-1.8.7).
|
622
647
|
</div>
|
623
648
|
|
624
649
|
</body>
|
@@ -3,16 +3,26 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
|
8
|
-
|
6
|
+
<title>
|
7
|
+
Class: TimelineSetter::Parser
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
16
|
|
10
17
|
<script type="text/javascript" charset="utf-8">
|
11
18
|
relpath = '..';
|
12
19
|
if (relpath != '') relpath += '/';
|
13
20
|
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
+
|
16
26
|
|
17
27
|
</head>
|
18
28
|
<body>
|
@@ -33,11 +43,14 @@
|
|
33
43
|
</div>
|
34
44
|
|
35
45
|
<div id="search">
|
36
|
-
|
37
|
-
|
38
|
-
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
39
53
|
</div>
|
40
|
-
|
41
54
|
<div class="clear"></div>
|
42
55
|
</div>
|
43
56
|
|
@@ -103,10 +116,7 @@
|
|
103
116
|
|
104
117
|
|
105
118
|
|
106
|
-
<span class="summary_desc"><div class='inline'
|
107
|
-
Returns the value of attribute events.
|
108
|
-
</p>
|
109
|
-
</div></span>
|
119
|
+
<span class="summary_desc"><div class='inline'>Returns the value of attribute events.</div></span>
|
110
120
|
|
111
121
|
</li>
|
112
122
|
|
@@ -114,6 +124,8 @@ Returns the value of attribute events.
|
|
114
124
|
</ul>
|
115
125
|
|
116
126
|
|
127
|
+
|
128
|
+
|
117
129
|
|
118
130
|
<h2>
|
119
131
|
Instance Method Summary
|
@@ -140,11 +152,8 @@ Returns the value of attribute events.
|
|
140
152
|
|
141
153
|
|
142
154
|
|
143
|
-
<span class="summary_desc"><div class='inline'
|
144
|
-
|
145
|
-
row (event) in the sheet to an events array.
|
146
|
-
</p>
|
147
|
-
</div></span>
|
155
|
+
<span class="summary_desc"><div class='inline'>Initialize a new timeline from a CSV file via TableFu,
|
156
|
+
add a hash for each row (event) in the sheet to an events array.</div></span>
|
148
157
|
|
149
158
|
</li>
|
150
159
|
|
@@ -164,21 +173,16 @@ row (event) in the sheet to an events array.
|
|
164
173
|
|
165
174
|
</p><div class="docstring">
|
166
175
|
<div class="discussion">
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
<span class='mult op'>*</span> <span class='thumbnail identifier id'>thumbnail</span>
|
178
|
-
<span class='mult op'>*</span> <span class='series identifier id'>series</span>
|
179
|
-
<span class='mult op'>*</span> <span class='html identifier id'>html</span>
|
180
|
-
</pre>
|
181
|
-
|
176
|
+
Initialize a new timeline from a CSV file via TableFu,
|
177
|
+
add a hash for each row (event) in the sheet to an events array.
|
178
|
+
Sheet should contain columns for
|
179
|
+
* date
|
180
|
+
* display_date
|
181
|
+
* description
|
182
|
+
* link
|
183
|
+
* thumbnail
|
184
|
+
* series
|
185
|
+
* html
|
182
186
|
|
183
187
|
</div>
|
184
188
|
</div>
|
@@ -239,10 +243,7 @@ for
|
|
239
243
|
|
240
244
|
</p><div class="docstring">
|
241
245
|
<div class="discussion">
|
242
|
-
|
243
|
-
Returns the value of attribute events
|
244
|
-
</p>
|
245
|
-
|
246
|
+
Returns the value of attribute events
|
246
247
|
|
247
248
|
</div>
|
248
249
|
</div>
|
@@ -276,9 +277,9 @@ Returns the value of attribute events
|
|
276
277
|
</div>
|
277
278
|
|
278
279
|
<div id="footer">
|
279
|
-
Generated on
|
280
|
+
Generated on Wed Nov 2 15:20:07 2011 by
|
280
281
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
281
|
-
0.
|
282
|
+
0.7.2 (ruby-1.8.7).
|
282
283
|
</div>
|
283
284
|
|
284
285
|
</body>
|