time_span 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/doc/TimeSpan.html +2 -2
- data/doc/TimeSpan/RelativeTime.html +178 -34
- data/doc/TimeSpan/TimeLine.html +289 -106
- data/doc/TimeSpan/TimeSpan.html +241 -144
- data/doc/_index.html +1 -1
- data/doc/file.README.html +3 -1
- data/doc/index.html +3 -1
- data/doc/method_list.html +68 -28
- data/doc/top-level-namespace.html +1 -1
- data/lib/time_span.rb +49 -22
- data/lib/time_span/version.rb +1 -1
- data/spec/time_span/time_span_spec.rb +36 -1
- data/time_span.gemspec +1 -1
- metadata +5 -5
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -17,4 +17,5 @@ Comparisons of any kind only make sense within a given TimeLine.
|
|
17
17
|
|
18
18
|
*TimeLine*s are the only structure with even a moderate data complexity. There is is a hash which keeps the relative position for each RelativeTime. This structure allows more than one RelativeTime to be equal compared to other RelativeTimes.
|
19
19
|
|
20
|
+
For now, clone is disallowed, it could create an object not obeying the rules, such as a RelativeTime pointing to TimeLine not its own.
|
20
21
|
|
data/doc/TimeSpan.html
CHANGED
@@ -122,7 +122,7 @@
|
|
122
122
|
<dt id="VERSION-constant" class="">VERSION =
|
123
123
|
|
124
124
|
</dt>
|
125
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
125
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.2</span><span class='tstring_end'>"</span></span></pre></dd>
|
126
126
|
|
127
127
|
</dl>
|
128
128
|
|
@@ -138,7 +138,7 @@
|
|
138
138
|
</div>
|
139
139
|
|
140
140
|
<div id="footer">
|
141
|
-
Generated on
|
141
|
+
Generated on Mon Mar 5 16:04:11 2012 by
|
142
142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
143
143
|
0.7.5 (ruby-1.9.3).
|
144
144
|
</div>
|
@@ -153,6 +153,32 @@ colinear_with?(RelativeTime.new)
|
|
153
153
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
154
154
|
<ul class="summary">
|
155
155
|
|
156
|
+
<li class="public ">
|
157
|
+
<span class="summary_signature">
|
158
|
+
|
159
|
+
<a href="#reference_to-instance_method" title="#reference_to (instance method)">- (Object) <strong>reference_to</strong> </a>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</span>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<span class="summary_desc"><div class='inline'>
|
176
|
+
<p>Object (PORO) reference_to should respond_to? :to_s.</p>
|
177
|
+
</div></span>
|
178
|
+
|
179
|
+
</li>
|
180
|
+
|
181
|
+
|
156
182
|
<li class="public ">
|
157
183
|
<span class="summary_signature">
|
158
184
|
|
@@ -173,7 +199,7 @@ colinear_with?(RelativeTime.new)
|
|
173
199
|
|
174
200
|
|
175
201
|
<span class="summary_desc"><div class='inline'>
|
176
|
-
<p>
|
202
|
+
<p>TimeLine on which this RelativeTime is placed.</p>
|
177
203
|
</div></span>
|
178
204
|
|
179
205
|
</li>
|
@@ -195,6 +221,27 @@ colinear_with?(RelativeTime.new)
|
|
195
221
|
<li class="public ">
|
196
222
|
<span class="summary_signature">
|
197
223
|
|
224
|
+
<a href="#clone-instance_method" title="#clone (instance method)">- (Object) <strong>clone</strong> </a>
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
</span>
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
238
|
+
|
239
|
+
</li>
|
240
|
+
|
241
|
+
|
242
|
+
<li class="public ">
|
243
|
+
<span class="summary_signature">
|
244
|
+
|
198
245
|
<a href="#colinear_with%3F-instance_method" title="#colinear_with? (instance method)">- (Boolean) <strong>colinear_with?</strong>(other_relative_time) </a>
|
199
246
|
|
200
247
|
|
@@ -376,13 +423,13 @@ the list below.</p>
|
|
376
423
|
<pre class="lines">
|
377
424
|
|
378
425
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
426
|
+
421
|
427
|
+
422
|
428
|
+
423
|
429
|
+
424</pre>
|
383
430
|
</td>
|
384
431
|
<td>
|
385
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
432
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 421</span>
|
386
433
|
|
387
434
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_tline'>tline</span><span class='comma'>,</span> <span class='id identifier rubyid_ref'>ref</span>
|
388
435
|
<span class='ivar'>@time_line</span><span class='op'>=</span> <span class='id identifier rubyid_tline'>tline</span>
|
@@ -399,10 +446,52 @@ the list below.</p>
|
|
399
446
|
<h2>Instance Attribute Details</h2>
|
400
447
|
|
401
448
|
|
449
|
+
<span id="reference_to=-instance_method"></span>
|
450
|
+
<span id="reference_to-instance_method"></span>
|
451
|
+
<div class="method_details first">
|
452
|
+
<p class="signature first" id="reference_to-instance_method">
|
453
|
+
|
454
|
+
- (<tt>Object</tt>) <strong>reference_to</strong>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
</p><div class="docstring">
|
459
|
+
<div class="discussion">
|
460
|
+
|
461
|
+
<p>Object (PORO) reference_to should respond_to? :to_s</p>
|
462
|
+
|
463
|
+
|
464
|
+
</div>
|
465
|
+
</div>
|
466
|
+
<div class="tags">
|
467
|
+
|
468
|
+
|
469
|
+
</div><table class="source_code">
|
470
|
+
<tr>
|
471
|
+
<td>
|
472
|
+
<pre class="lines">
|
473
|
+
|
474
|
+
|
475
|
+
415
|
476
|
+
416
|
477
|
+
417</pre>
|
478
|
+
</td>
|
479
|
+
<td>
|
480
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 415</span>
|
481
|
+
|
482
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_reference_to'>reference_to</span>
|
483
|
+
<span class='ivar'>@reference_to</span>
|
484
|
+
<span class='kw'>end</span></pre>
|
485
|
+
</td>
|
486
|
+
</tr>
|
487
|
+
</table>
|
488
|
+
</div>
|
489
|
+
|
490
|
+
|
402
491
|
<span id="time_line=-instance_method"></span>
|
403
492
|
<span id="time_line-instance_method"></span>
|
404
|
-
<div class="method_details
|
405
|
-
<p class="signature
|
493
|
+
<div class="method_details ">
|
494
|
+
<p class="signature " id="time_line-instance_method">
|
406
495
|
|
407
496
|
- (<tt>Object</tt>) <strong>time_line</strong>
|
408
497
|
|
@@ -411,7 +500,7 @@ the list below.</p>
|
|
411
500
|
</p><div class="docstring">
|
412
501
|
<div class="discussion">
|
413
502
|
|
414
|
-
<p>
|
503
|
+
<p>TimeLine on which this RelativeTime is placed</p>
|
415
504
|
|
416
505
|
|
417
506
|
</div>
|
@@ -425,12 +514,12 @@ the list below.</p>
|
|
425
514
|
<pre class="lines">
|
426
515
|
|
427
516
|
|
428
|
-
|
429
|
-
|
430
|
-
|
517
|
+
414
|
518
|
+
415
|
519
|
+
416</pre>
|
431
520
|
</td>
|
432
521
|
<td>
|
433
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
522
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 414</span>
|
434
523
|
|
435
524
|
<span class='kw'>def</span> <span class='id identifier rubyid_time_line'>time_line</span>
|
436
525
|
<span class='ivar'>@time_line</span>
|
@@ -448,7 +537,62 @@ the list below.</p>
|
|
448
537
|
|
449
538
|
|
450
539
|
<div class="method_details first">
|
451
|
-
<p class="signature first" id="
|
540
|
+
<p class="signature first" id="clone-instance_method">
|
541
|
+
|
542
|
+
- (<tt>Object</tt>) <strong>clone</strong>
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
</p><div class="docstring">
|
547
|
+
<div class="discussion">
|
548
|
+
|
549
|
+
|
550
|
+
</div>
|
551
|
+
</div>
|
552
|
+
<div class="tags">
|
553
|
+
|
554
|
+
<h3>Raises:</h3>
|
555
|
+
<ul class="raise">
|
556
|
+
|
557
|
+
<li>
|
558
|
+
|
559
|
+
|
560
|
+
<span class='type'>(<tt>NotImplementedError</tt>)</span>
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
—
|
565
|
+
<div class='inline'>
|
566
|
+
<p>cannot do without much more work</p>
|
567
|
+
</div>
|
568
|
+
|
569
|
+
</li>
|
570
|
+
|
571
|
+
</ul>
|
572
|
+
|
573
|
+
</div><table class="source_code">
|
574
|
+
<tr>
|
575
|
+
<td>
|
576
|
+
<pre class="lines">
|
577
|
+
|
578
|
+
|
579
|
+
427
|
580
|
+
428
|
581
|
+
429</pre>
|
582
|
+
</td>
|
583
|
+
<td>
|
584
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 427</span>
|
585
|
+
|
586
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
|
587
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Cannot use base Ruby clone which can create illegal objects by gem rules.</span><span class='tstring_end'>"</span></span>
|
588
|
+
<span class='kw'>end</span></pre>
|
589
|
+
</td>
|
590
|
+
</tr>
|
591
|
+
</table>
|
592
|
+
</div>
|
593
|
+
|
594
|
+
<div class="method_details ">
|
595
|
+
<p class="signature " id="colinear_with?-instance_method">
|
452
596
|
|
453
597
|
- (<tt>Boolean</tt>) <strong>colinear_with?</strong>(other_relative_time)
|
454
598
|
|
@@ -509,12 +653,12 @@ the list below.</p>
|
|
509
653
|
<pre class="lines">
|
510
654
|
|
511
655
|
|
512
|
-
|
513
|
-
|
514
|
-
|
656
|
+
456
|
657
|
+
457
|
658
|
+
458</pre>
|
515
659
|
</td>
|
516
660
|
<td>
|
517
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
661
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 456</span>
|
518
662
|
|
519
663
|
<span class='kw'>def</span> <span class='id identifier rubyid_colinear_with?'>colinear_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_relative_time'>other_relative_time</span><span class='rparen'>)</span>
|
520
664
|
<span class='id identifier rubyid_other_relative_time'>other_relative_time</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_other_relative_time'>other_relative_time</span><span class='period'>.</span><span class='id identifier rubyid_positioned?'>positioned?</span> <span class='op'>&&</span> <span class='id identifier rubyid_positioned?'>positioned?</span> <span class='op'>&&</span> <span class='id identifier rubyid_time_line'>time_line</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_relative_time'>other_relative_time</span><span class='period'>.</span><span class='id identifier rubyid_time_line'>time_line</span><span class='rparen'>)</span>
|
@@ -587,15 +731,15 @@ the list below</p>
|
|
587
731
|
<pre class="lines">
|
588
732
|
|
589
733
|
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
734
|
+
442
|
735
|
+
443
|
736
|
+
444
|
737
|
+
445
|
738
|
+
446
|
739
|
+
447</pre>
|
596
740
|
</td>
|
597
741
|
<td>
|
598
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
742
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 442</span>
|
599
743
|
|
600
744
|
<span class='qwords_beg'>%w{</span><span class='tstring_content'><</span><span class='words_sep'> </span><span class='tstring_content'><=</span><span class='words_sep'> </span><span class='tstring_content'>==</span><span class='words_sep'> </span><span class='tstring_content'>!=</span><span class='words_sep'> </span><span class='tstring_content'>>=</span><span class='words_sep'> </span><span class='tstring_content'>></span><span class='words_sep'>}</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_meth'>meth</span><span class='op'>|</span>
|
601
745
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:define_method</span><span class='comma'>,</span> <span class='id identifier rubyid_meth'>meth</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_other_relative_time'>other_relative_time</span><span class='op'>|</span>
|
@@ -650,12 +794,12 @@ the list below</p>
|
|
650
794
|
<pre class="lines">
|
651
795
|
|
652
796
|
|
653
|
-
|
654
|
-
|
655
|
-
|
797
|
+
450
|
798
|
+
451
|
799
|
+
452</pre>
|
656
800
|
</td>
|
657
801
|
<td>
|
658
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
802
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 450</span>
|
659
803
|
|
660
804
|
<span class='kw'>def</span> <span class='id identifier rubyid_positioned?'>positioned?</span>
|
661
805
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_time_line'>time_line</span> <span class='op'>&&</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_time_line'>time_line</span><span class='period'>.</span><span class='id identifier rubyid_indices_of'>indices_of</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
|
@@ -707,12 +851,12 @@ the list below</p>
|
|
707
851
|
<pre class="lines">
|
708
852
|
|
709
853
|
|
710
|
-
|
711
|
-
|
712
|
-
|
854
|
+
434
|
855
|
+
435
|
856
|
+
436</pre>
|
713
857
|
</td>
|
714
858
|
<td>
|
715
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
859
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 434</span>
|
716
860
|
|
717
861
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
718
862
|
<span class='ivar'>@reference_to</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -727,7 +871,7 @@ the list below</p>
|
|
727
871
|
</div>
|
728
872
|
|
729
873
|
<div id="footer">
|
730
|
-
Generated on
|
874
|
+
Generated on Mon Mar 5 16:04:12 2012 by
|
731
875
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
732
876
|
0.7.5 (ruby-1.9.3).
|
733
877
|
</div>
|
data/doc/TimeSpan/TimeLine.html
CHANGED
@@ -266,6 +266,29 @@ instance methods:
|
|
266
266
|
<li class="public ">
|
267
267
|
<span class="summary_signature">
|
268
268
|
|
269
|
+
<a href="#%3D%3D-instance_method" title="#== (instance method)">- (Boolean) <strong>==</strong>(other_timeline) </a>
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
</span>
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
<span class="summary_desc"><div class='inline'>
|
283
|
+
<p>test for value equality.</p>
|
284
|
+
</div></span>
|
285
|
+
|
286
|
+
</li>
|
287
|
+
|
288
|
+
|
289
|
+
<li class="public ">
|
290
|
+
<span class="summary_signature">
|
291
|
+
|
269
292
|
<a href="#all_endpoint_statuses-instance_method" title="#all_endpoint_statuses (instance method)">- (Array) <strong>all_endpoint_statuses</strong> </a>
|
270
293
|
|
271
294
|
|
@@ -352,6 +375,27 @@ instance methods:
|
|
352
375
|
<p>inserts to the end of the relative object's time, becoming equal with it.</p>
|
353
376
|
</div></span>
|
354
377
|
|
378
|
+
</li>
|
379
|
+
|
380
|
+
|
381
|
+
<li class="public ">
|
382
|
+
<span class="summary_signature">
|
383
|
+
|
384
|
+
<a href="#clone-instance_method" title="#clone (instance method)">- (Object) <strong>clone</strong> </a>
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
</span>
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
398
|
+
|
355
399
|
</li>
|
356
400
|
|
357
401
|
|
@@ -620,15 +664,15 @@ the extra []s.</p>
|
|
620
664
|
<pre class="lines">
|
621
665
|
|
622
666
|
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
667
|
+
246
|
668
|
+
247
|
669
|
+
248
|
670
|
+
249
|
671
|
+
250
|
672
|
+
251</pre>
|
629
673
|
</td>
|
630
674
|
<td>
|
631
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
675
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 246</span>
|
632
676
|
|
633
677
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
634
678
|
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
@@ -673,12 +717,12 @@ the extra []s.</p>
|
|
673
717
|
<pre class="lines">
|
674
718
|
|
675
719
|
|
676
|
-
|
677
|
-
|
678
|
-
|
720
|
+
243
|
721
|
+
244
|
722
|
+
245</pre>
|
679
723
|
</td>
|
680
724
|
<td>
|
681
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
725
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 243</span>
|
682
726
|
|
683
727
|
<span class='kw'>def</span> <span class='id identifier rubyid_indices_of'>indices_of</span>
|
684
728
|
<span class='ivar'>@indices_of</span>
|
@@ -715,12 +759,12 @@ the extra []s.</p>
|
|
715
759
|
<pre class="lines">
|
716
760
|
|
717
761
|
|
718
|
-
|
719
|
-
|
720
|
-
|
762
|
+
243
|
763
|
+
244
|
764
|
+
245</pre>
|
721
765
|
</td>
|
722
766
|
<td>
|
723
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
767
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 243</span>
|
724
768
|
|
725
769
|
<span class='kw'>def</span> <span class='id identifier rubyid_line'>line</span>
|
726
770
|
<span class='ivar'>@line</span>
|
@@ -757,12 +801,12 @@ the extra []s.</p>
|
|
757
801
|
<pre class="lines">
|
758
802
|
|
759
803
|
|
760
|
-
|
761
|
-
|
762
|
-
|
804
|
+
243
|
805
|
+
244
|
806
|
+
245</pre>
|
763
807
|
</td>
|
764
808
|
<td>
|
765
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
809
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 243</span>
|
766
810
|
|
767
811
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
768
812
|
<span class='ivar'>@name</span>
|
@@ -799,12 +843,12 @@ the extra []s.</p>
|
|
799
843
|
<pre class="lines">
|
800
844
|
|
801
845
|
|
802
|
-
|
803
|
-
|
804
|
-
|
846
|
+
243
|
847
|
+
244
|
848
|
+
245</pre>
|
805
849
|
</td>
|
806
850
|
<td>
|
807
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
851
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 243</span>
|
808
852
|
|
809
853
|
<span class='kw'>def</span> <span class='id identifier rubyid_spans'>spans</span>
|
810
854
|
<span class='ivar'>@spans</span>
|
@@ -822,7 +866,91 @@ the extra []s.</p>
|
|
822
866
|
|
823
867
|
|
824
868
|
<div class="method_details first">
|
825
|
-
<p class="signature first" id="
|
869
|
+
<p class="signature first" id="==-instance_method">
|
870
|
+
|
871
|
+
- (<tt>Boolean</tt>) <strong>==</strong>(other_timeline)
|
872
|
+
|
873
|
+
|
874
|
+
|
875
|
+
</p><div class="docstring">
|
876
|
+
<div class="discussion">
|
877
|
+
|
878
|
+
<p>test for value equality. Checking span trait is redundant -- can't have
|
879
|
+
spans without times'</p>
|
880
|
+
|
881
|
+
|
882
|
+
</div>
|
883
|
+
</div>
|
884
|
+
<div class="tags">
|
885
|
+
<h3>Parameters:</h3>
|
886
|
+
<ul class="param">
|
887
|
+
|
888
|
+
<li>
|
889
|
+
|
890
|
+
<span class='name'>TimeLine</span>
|
891
|
+
|
892
|
+
|
893
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="TimeSpan::TimeLine (class)">TimeSpan::TimeLine</a></span></tt>)</span>
|
894
|
+
|
895
|
+
|
896
|
+
|
897
|
+
—
|
898
|
+
<div class='inline'>
|
899
|
+
<p>being compared to</p>
|
900
|
+
</div>
|
901
|
+
|
902
|
+
</li>
|
903
|
+
|
904
|
+
</ul>
|
905
|
+
|
906
|
+
<h3>Returns:</h3>
|
907
|
+
<ul class="return">
|
908
|
+
|
909
|
+
<li>
|
910
|
+
|
911
|
+
|
912
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
913
|
+
|
914
|
+
|
915
|
+
|
916
|
+
—
|
917
|
+
<div class='inline'>
|
918
|
+
<p>true if name is equal and all other attributes are empty.</p>
|
919
|
+
</div>
|
920
|
+
|
921
|
+
</li>
|
922
|
+
|
923
|
+
</ul>
|
924
|
+
|
925
|
+
</div><table class="source_code">
|
926
|
+
<tr>
|
927
|
+
<td>
|
928
|
+
<pre class="lines">
|
929
|
+
|
930
|
+
|
931
|
+
261
|
932
|
+
262
|
933
|
+
263
|
934
|
+
264
|
935
|
+
265
|
936
|
+
266</pre>
|
937
|
+
</td>
|
938
|
+
<td>
|
939
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 261</span>
|
940
|
+
|
941
|
+
<span class='kw'>def</span> <span class='op'>==</span> <span class='lparen'>(</span><span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='rparen'>)</span>
|
942
|
+
<span class='lparen'>(</span><span class='id identifier rubyid_object_id'>object_id</span> <span class='op'>==</span> <span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='period'>.</span><span class='id identifier rubyid_object_id'>object_id</span><span class='rparen'>)</span> <span class='op'>||</span>
|
943
|
+
<span class='lparen'>(</span><span class='ivar'>@name</span> <span class='op'>==</span> <span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='op'>&&</span>
|
944
|
+
<span class='lparen'>(</span><span class='ivar'>@line</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>&&</span> <span class='ivar'>@indices_of</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>&&</span> <span class='ivar'>@spans</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span><span class='rparen'>)</span> <span class='op'>&&</span>
|
945
|
+
<span class='lparen'>(</span><span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='period'>.</span><span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>&&</span> <span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='period'>.</span><span class='id identifier rubyid_indices_of'>indices_of</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>&&</span> <span class='id identifier rubyid_other_timeline'>other_timeline</span><span class='period'>.</span><span class='id identifier rubyid_spans'>spans</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span><span class='rparen'>)</span>
|
946
|
+
<span class='kw'>end</span></pre>
|
947
|
+
</td>
|
948
|
+
</tr>
|
949
|
+
</table>
|
950
|
+
</div>
|
951
|
+
|
952
|
+
<div class="method_details ">
|
953
|
+
<p class="signature " id="all_endpoint_statuses-instance_method">
|
826
954
|
|
827
955
|
- (<tt>Array</tt>) <strong>all_endpoint_statuses</strong>
|
828
956
|
|
@@ -863,12 +991,12 @@ the extra []s.</p>
|
|
863
991
|
<pre class="lines">
|
864
992
|
|
865
993
|
|
866
|
-
|
867
|
-
|
868
|
-
|
994
|
+
281
|
995
|
+
282
|
996
|
+
283</pre>
|
869
997
|
</td>
|
870
998
|
<td>
|
871
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
999
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 281</span>
|
872
1000
|
|
873
1001
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_endpoint_statuses'>all_endpoint_statuses</span>
|
874
1002
|
<span class='id identifier rubyid_spans'>spans</span><span class='period'>.</span><span class='id identifier rubyid_inject'>inject</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_acc'>acc</span><span class='comma'>,</span> <span class='id identifier rubyid_span'>span</span><span class='op'>|</span> <span class='id identifier rubyid_acc'>acc</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='id identifier rubyid_span'>span</span><span class='period'>.</span><span class='id identifier rubyid_endpoint_statuses'>endpoint_statuses</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
@@ -920,12 +1048,12 @@ the extra []s.</p>
|
|
920
1048
|
<pre class="lines">
|
921
1049
|
|
922
1050
|
|
923
|
-
|
924
|
-
|
925
|
-
|
1051
|
+
293
|
1052
|
+
294
|
1053
|
+
295</pre>
|
926
1054
|
</td>
|
927
1055
|
<td>
|
928
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1056
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 293</span>
|
929
1057
|
|
930
1058
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_relative_time_statuses'>all_relative_time_statuses</span>
|
931
1059
|
<span class='id identifier rubyid_relative_times'>relative_times</span><span class='period'>.</span><span class='id identifier rubyid_inject'>inject</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_acc'>acc</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_acc'>acc</span> <span class='op'><<</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_reference_to'>reference_to</span> <span class='rbrace'>}</span>
|
@@ -997,12 +1125,12 @@ the extra []s.</p>
|
|
997
1125
|
<pre class="lines">
|
998
1126
|
|
999
1127
|
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1128
|
+
318
|
1129
|
+
319
|
1130
|
+
320</pre>
|
1003
1131
|
</td>
|
1004
1132
|
<td>
|
1005
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1133
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 318</span>
|
1006
1134
|
|
1007
1135
|
<span class='kw'>def</span> <span class='id identifier rubyid_append'>append</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1008
1136
|
<span class='id identifier rubyid_insert_at'>insert_at</span><span class='lparen'>(</span><span class='ivar'>@line</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
@@ -1090,12 +1218,12 @@ the extra []s.</p>
|
|
1090
1218
|
<pre class="lines">
|
1091
1219
|
|
1092
1220
|
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1221
|
+
326
|
1222
|
+
327
|
1223
|
+
328</pre>
|
1096
1224
|
</td>
|
1097
1225
|
<td>
|
1098
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1226
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 326</span>
|
1099
1227
|
|
1100
1228
|
<span class='kw'>def</span> <span class='id identifier rubyid_append_to_next'>append_to_next</span><span class='lparen'>(</span><span class='id identifier rubyid_relative_obj'>relative_obj</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='comma'>,</span> <span class='id identifier rubyid_relative'>relative</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span>
|
1101
1229
|
<span class='id identifier rubyid_insert_at'>insert_at</span><span class='lparen'>(</span><span class='id identifier rubyid_position_of'>position_of</span><span class='lparen'>(</span><span class='id identifier rubyid_relative_obj'>relative_obj</span><span class='rparen'>)</span><span class='op'>+</span><span class='id identifier rubyid_relative'>relative</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
@@ -1103,6 +1231,61 @@ the extra []s.</p>
|
|
1103
1231
|
</td>
|
1104
1232
|
</tr>
|
1105
1233
|
</table>
|
1234
|
+
</div>
|
1235
|
+
|
1236
|
+
<div class="method_details ">
|
1237
|
+
<p class="signature " id="clone-instance_method">
|
1238
|
+
|
1239
|
+
- (<tt>Object</tt>) <strong>clone</strong>
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
</p><div class="docstring">
|
1244
|
+
<div class="discussion">
|
1245
|
+
|
1246
|
+
|
1247
|
+
</div>
|
1248
|
+
</div>
|
1249
|
+
<div class="tags">
|
1250
|
+
|
1251
|
+
<h3>Raises:</h3>
|
1252
|
+
<ul class="raise">
|
1253
|
+
|
1254
|
+
<li>
|
1255
|
+
|
1256
|
+
|
1257
|
+
<span class='type'>(<tt>NotImplementedError</tt>)</span>
|
1258
|
+
|
1259
|
+
|
1260
|
+
|
1261
|
+
—
|
1262
|
+
<div class='inline'>
|
1263
|
+
<p>Cannot use base Ruby clone which can create illegal objects by gem rules.</p>
|
1264
|
+
</div>
|
1265
|
+
|
1266
|
+
</li>
|
1267
|
+
|
1268
|
+
</ul>
|
1269
|
+
|
1270
|
+
</div><table class="source_code">
|
1271
|
+
<tr>
|
1272
|
+
<td>
|
1273
|
+
<pre class="lines">
|
1274
|
+
|
1275
|
+
|
1276
|
+
254
|
1277
|
+
255
|
1278
|
+
256</pre>
|
1279
|
+
</td>
|
1280
|
+
<td>
|
1281
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 254</span>
|
1282
|
+
|
1283
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
|
1284
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Cannot use base Ruby clone which can create illegal objects by gem rules.</span><span class='tstring_end'>"</span></span>
|
1285
|
+
<span class='kw'>end</span></pre>
|
1286
|
+
</td>
|
1287
|
+
</tr>
|
1288
|
+
</table>
|
1106
1289
|
</div>
|
1107
1290
|
|
1108
1291
|
<div class="method_details ">
|
@@ -1149,24 +1332,24 @@ the extra []s.</p>
|
|
1149
1332
|
<pre class="lines">
|
1150
1333
|
|
1151
1334
|
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1335
|
+
373
|
1336
|
+
374
|
1337
|
+
375
|
1338
|
+
376
|
1339
|
+
377
|
1340
|
+
378
|
1341
|
+
379
|
1342
|
+
380
|
1343
|
+
381
|
1344
|
+
382
|
1345
|
+
383
|
1346
|
+
384
|
1347
|
+
385
|
1348
|
+
386
|
1349
|
+
387</pre>
|
1167
1350
|
</td>
|
1168
1351
|
<td>
|
1169
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1352
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 373</span>
|
1170
1353
|
|
1171
1354
|
<span class='kw'>def</span> <span class='id identifier rubyid_compress!'>compress!</span>
|
1172
1355
|
<span class='id identifier rubyid_mod_level'>mod_level</span> <span class='op'>=</span> <span class='int'>0</span>
|
@@ -1230,14 +1413,14 @@ the extra []s.</p>
|
|
1230
1413
|
<pre class="lines">
|
1231
1414
|
|
1232
1415
|
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1416
|
+
307
|
1417
|
+
308
|
1418
|
+
309
|
1419
|
+
310
|
1420
|
+
311</pre>
|
1238
1421
|
</td>
|
1239
1422
|
<td>
|
1240
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1423
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 307</span>
|
1241
1424
|
|
1242
1425
|
<span class='kw'>def</span> <span class='id identifier rubyid_increase_after'>increase_after</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_by'>by</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span>
|
1243
1426
|
<span class='ivar'>@indices_of</span><span class='period'>.</span><span class='id identifier rubyid_each_key'>each_key</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='op'>|</span>
|
@@ -1340,20 +1523,20 @@ the extra []s.</p>
|
|
1340
1523
|
<pre class="lines">
|
1341
1524
|
|
1342
1525
|
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1526
|
+
346
|
1527
|
+
347
|
1528
|
+
348
|
1529
|
+
349
|
1530
|
+
350
|
1531
|
+
351
|
1532
|
+
352
|
1533
|
+
353
|
1534
|
+
354
|
1535
|
+
355
|
1536
|
+
356</pre>
|
1354
1537
|
</td>
|
1355
1538
|
<td>
|
1356
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1539
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 346</span>
|
1357
1540
|
|
1358
1541
|
<span class='kw'>def</span> <span class='id identifier rubyid_insert_at'>insert_at</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1359
1542
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>can only add a time to its own time_line</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_time_line'>time_line</span><span class='period'>.</span><span class='id identifier rubyid_equal?'>equal?</span> <span class='kw'>self</span>
|
@@ -1450,15 +1633,15 @@ inserts obj before relative_obj by offset</p>
|
|
1450
1633
|
<pre class="lines">
|
1451
1634
|
|
1452
1635
|
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1636
|
+
335
|
1637
|
+
336
|
1638
|
+
337
|
1639
|
+
338
|
1640
|
+
339
|
1641
|
+
340</pre>
|
1459
1642
|
</td>
|
1460
1643
|
<td>
|
1461
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1644
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 335</span>
|
1462
1645
|
|
1463
1646
|
<span class='kw'>def</span> <span class='id identifier rubyid_insert_before_next'>insert_before_next</span><span class='lparen'>(</span><span class='id identifier rubyid_relative_obj'>relative_obj</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='comma'>,</span> <span class='id identifier rubyid_relative_offset'>relative_offset</span><span class='op'>=</span><span class='int'>1</span><span class='rparen'>)</span>
|
1464
1647
|
<span class='id identifier rubyid_relative_position'>relative_position</span> <span class='op'>=</span> <span class='id identifier rubyid_position_of'>position_of</span><span class='lparen'>(</span><span class='id identifier rubyid_relative_obj'>relative_obj</span><span class='rparen'>)</span>
|
@@ -1513,12 +1696,12 @@ inserts obj before relative_obj by offset</p>
|
|
1513
1696
|
<pre class="lines">
|
1514
1697
|
|
1515
1698
|
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1699
|
+
276
|
1700
|
+
277
|
1701
|
+
278</pre>
|
1519
1702
|
</td>
|
1520
1703
|
<td>
|
1521
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1704
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 276</span>
|
1522
1705
|
|
1523
1706
|
<span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
|
1524
1707
|
<span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span> <span class='op'>+</span> <span class='id identifier rubyid_name'>name</span>
|
@@ -1570,12 +1753,12 @@ inserts obj before relative_obj by offset</p>
|
|
1570
1753
|
<pre class="lines">
|
1571
1754
|
|
1572
1755
|
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1756
|
+
301
|
1757
|
+
302
|
1758
|
+
303</pre>
|
1576
1759
|
</td>
|
1577
1760
|
<td>
|
1578
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1761
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 301</span>
|
1579
1762
|
|
1580
1763
|
<span class='kw'>def</span> <span class='id identifier rubyid_position_of'>position_of</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1581
1764
|
<span class='ivar'>@indices_of</span><span class='lbracket'>[</span><span class='id identifier rubyid_obj'>obj</span><span class='rbracket'>]</span>
|
@@ -1627,12 +1810,12 @@ inserts obj before relative_obj by offset</p>
|
|
1627
1810
|
<pre class="lines">
|
1628
1811
|
|
1629
1812
|
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1813
|
+
287
|
1814
|
+
288
|
1815
|
+
289</pre>
|
1633
1816
|
</td>
|
1634
1817
|
<td>
|
1635
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1818
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 287</span>
|
1636
1819
|
|
1637
1820
|
<span class='kw'>def</span> <span class='id identifier rubyid_relative_times'>relative_times</span>
|
1638
1821
|
<span class='id identifier rubyid_indices_of'>indices_of</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
|
@@ -1707,16 +1890,16 @@ the extra []s</p>
|
|
1707
1890
|
<pre class="lines">
|
1708
1891
|
|
1709
1892
|
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1893
|
+
362
|
1894
|
+
363
|
1895
|
+
364
|
1896
|
+
365
|
1897
|
+
366
|
1898
|
+
367
|
1899
|
+
368</pre>
|
1717
1900
|
</td>
|
1718
1901
|
<td>
|
1719
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1902
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 362</span>
|
1720
1903
|
|
1721
1904
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1722
1905
|
<span class='id identifier rubyid_pos'>pos</span> <span class='op'>=</span> <span class='id identifier rubyid_position_of'>position_of</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
@@ -1772,12 +1955,12 @@ the extra []s</p>
|
|
1772
1955
|
<pre class="lines">
|
1773
1956
|
|
1774
1957
|
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1958
|
+
270
|
1959
|
+
271
|
1960
|
+
272</pre>
|
1778
1961
|
</td>
|
1779
1962
|
<td>
|
1780
|
-
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line
|
1963
|
+
<pre class="code"><span class="info file"># File 'lib/time_span.rb', line 270</span>
|
1781
1964
|
|
1782
1965
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1783
1966
|
<span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -1792,7 +1975,7 @@ the extra []s</p>
|
|
1792
1975
|
</div>
|
1793
1976
|
|
1794
1977
|
<div id="footer">
|
1795
|
-
Generated on
|
1978
|
+
Generated on Mon Mar 5 16:04:12 2012 by
|
1796
1979
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1797
1980
|
0.7.5 (ruby-1.9.3).
|
1798
1981
|
</div>
|