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.
@@ -263,7 +263,8 @@ compartors), and also range comparators</p>
263
263
 
264
264
 
265
265
  <span class="summary_desc"><div class='inline'>
266
- <p>tests if one TimeSpan is not the same as another (on the same TimeLine).</p>
266
+ <p>tests if one TimeSpan is not the same as another (on the same TimeLine --
267
+ delegated to RelativeTime).</p>
267
268
  </div></span>
268
269
 
269
270
  </li>
@@ -286,8 +287,8 @@ compartors), and also range comparators</p>
286
287
 
287
288
 
288
289
  <span class="summary_desc"><div class='inline'>
289
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine)
290
- alias for '#ends_before_other_starts'.</p>
290
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
291
+ delegated to RelativeTime) alias for '#ends_before_other_starts'.</p>
291
292
  </div></span>
292
293
 
293
294
  </li>
@@ -310,7 +311,8 @@ alias for '#ends_before_other_starts'.</p>
310
311
 
311
312
 
312
313
  <span class="summary_desc"><div class='inline'>
313
- <p>tests if one TimeSpan is the same as another (on the same TimeLine).</p>
314
+ <p>tests if one TimeSpan is the same as another (on the same TimeLine --
315
+ delegated to RelativeTime).</p>
314
316
  </div></span>
315
317
 
316
318
  </li>
@@ -333,10 +335,31 @@ alias for '#ends_before_other_starts'.</p>
333
335
 
334
336
 
335
337
  <span class="summary_desc"><div class='inline'>
336
- <p>tests if one TimeSpan starts after another ends (on the same TimeLine)
337
- alias for '#starts_after_other_ends'.</p>
338
+ <p>tests if one TimeSpan starts after another ends (on the same TimeLine --
339
+ delegated to RelativeTime) alias for '#starts_after_other_ends'.</p>
338
340
  </div></span>
339
341
 
342
+ </li>
343
+
344
+
345
+ <li class="public ">
346
+ <span class="summary_signature">
347
+
348
+ <a href="#clone-instance_method" title="#clone (instance method)">- (Object) <strong>clone</strong> </a>
349
+
350
+
351
+
352
+ </span>
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+ <span class="summary_desc"><div class='inline'></div></span>
362
+
340
363
  </li>
341
364
 
342
365
 
@@ -357,8 +380,8 @@ alias for '#starts_after_other_ends'.</p>
357
380
 
358
381
 
359
382
  <span class="summary_desc"><div class='inline'>
360
- <p>tests if one TimeSpan is contained within another (on the same
361
- TimeLine).</p>
383
+ <p>tests if one TimeSpan is contained within another (on the same TimeLine
384
+ -- delegated to RelativeTime).</p>
362
385
  </div></span>
363
386
 
364
387
  </li>
@@ -382,7 +405,7 @@ TimeLine).</p>
382
405
 
383
406
  <span class="summary_desc"><div class='inline'>
384
407
  <p>tests if one TimeSpan is contained within another, possibly begining as or
385
- ends as another (on the same TimeLine).</p>
408
+ ends as another (on the same TimeLine -- delegated to RelativeTime).</p>
386
409
  </div></span>
387
410
 
388
411
  </li>
@@ -405,7 +428,8 @@ ends as another (on the same TimeLine).</p>
405
428
 
406
429
 
407
430
  <span class="summary_desc"><div class='inline'>
408
- <p>tests if one TimeSpan contains within another (on the same TimeLine).</p>
431
+ <p>tests if one TimeSpan contains within another (on the same TimeLine --
432
+ delegated to RelativeTime).</p>
409
433
  </div></span>
410
434
 
411
435
  </li>
@@ -428,7 +452,8 @@ ends as another (on the same TimeLine).</p>
428
452
 
429
453
 
430
454
  <span class="summary_desc"><div class='inline'>
431
- <p>tests if one TimeSpan contains another (on the same TimeLine).</p>
455
+ <p>tests if one TimeSpan contains another (on the same TimeLine -- delegated
456
+ to RelativeTime).</p>
432
457
  </div></span>
433
458
 
434
459
  </li>
@@ -474,7 +499,8 @@ ends as another (on the same TimeLine).</p>
474
499
 
475
500
 
476
501
  <span class="summary_desc"><div class='inline'>
477
- <p>tests if one TimeSpan ends after another (on the same TimeLine).</p>
502
+ <p>tests if one TimeSpan ends after another (on the same TimeLine --
503
+ delegated to RelativeTime).</p>
478
504
  </div></span>
479
505
 
480
506
  </li>
@@ -498,7 +524,7 @@ ends as another (on the same TimeLine).</p>
498
524
 
499
525
  <span class="summary_desc"><div class='inline'>
500
526
  <p>tests if one TimeSpan ends at the same time as another starts (on the same
501
- TimeLine).</p>
527
+ TimeLine -- delegated to RelativeTime).</p>
502
528
  </div></span>
503
529
 
504
530
  </li>
@@ -521,7 +547,8 @@ TimeLine).</p>
521
547
 
522
548
 
523
549
  <span class="summary_desc"><div class='inline'>
524
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine).</p>
550
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
551
+ delegated to RelativeTime).</p>
525
552
  </div></span>
526
553
 
527
554
  </li>
@@ -544,7 +571,8 @@ TimeLine).</p>
544
571
 
545
572
 
546
573
  <span class="summary_desc"><div class='inline'>
547
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine).</p>
574
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
575
+ delegated to RelativeTime).</p>
548
576
  </div></span>
549
577
 
550
578
  </li>
@@ -568,7 +596,7 @@ TimeLine).</p>
568
596
 
569
597
  <span class="summary_desc"><div class='inline'>
570
598
  <p>tests if one TimeSpan ends after or at the same time as another (on the
571
- same TimeLine).</p>
599
+ same TimeLine -- delegated to RelativeTime).</p>
572
600
  </div></span>
573
601
 
574
602
  </li>
@@ -592,7 +620,7 @@ same TimeLine).</p>
592
620
 
593
621
  <span class="summary_desc"><div class='inline'>
594
622
  <p>tests if one TimeSpan end before or at the same time as another ends (on
595
- the same TimeLine).</p>
623
+ the same TimeLine -- delegated to RelativeTime).</p>
596
624
  </div></span>
597
625
 
598
626
  </li>
@@ -616,7 +644,7 @@ the same TimeLine).</p>
616
644
 
617
645
  <span class="summary_desc"><div class='inline'>
618
646
  <p>tests if one TimeSpan ends at the same time as another (on the same
619
- TimeLine).</p>
647
+ TimeLine -- delegated to RelativeTime).</p>
620
648
  </div></span>
621
649
 
622
650
  </li>
@@ -664,7 +692,8 @@ TimeLine).</p>
664
692
 
665
693
 
666
694
  <span class="summary_desc"><div class='inline'>
667
- <p>tests if one TimeSpan starts after another (on the same TimeLine).</p>
695
+ <p>tests if one TimeSpan starts after another (on the same TimeLine --
696
+ delegated to RelativeTime).</p>
668
697
  </div></span>
669
698
 
670
699
  </li>
@@ -688,7 +717,7 @@ TimeLine).</p>
688
717
 
689
718
  <span class="summary_desc"><div class='inline'>
690
719
  <p>tests if one TimeSpan ends at the same time as another (on the same
691
- TimeLine).</p>
720
+ TimeLine -- delegated to RelativeTime).</p>
692
721
  </div></span>
693
722
 
694
723
  </li>
@@ -712,7 +741,7 @@ TimeLine).</p>
712
741
 
713
742
  <span class="summary_desc"><div class='inline'>
714
743
  <p>tests if one TimeSpan starts at the same time as another ends (on the same
715
- TimeLine).</p>
744
+ TimeLine -- delegated to RelativeTime).</p>
716
745
  </div></span>
717
746
 
718
747
  </li>
@@ -735,7 +764,8 @@ TimeLine).</p>
735
764
 
736
765
 
737
766
  <span class="summary_desc"><div class='inline'>
738
- <p>tests if one TimeSpan starts before another (on the same TimeLine).</p>
767
+ <p>tests if one TimeSpan starts before another (on the same TimeLine --
768
+ delegated to RelativeTime).</p>
739
769
  </div></span>
740
770
 
741
771
  </li>
@@ -759,7 +789,7 @@ TimeLine).</p>
759
789
 
760
790
  <span class="summary_desc"><div class='inline'>
761
791
  <p>tests if one TimeSpan starts before or at the same time as another (on the
762
- same TimeLine).</p>
792
+ same TimeLine -- delegated to RelativeTime).</p>
763
793
  </div></span>
764
794
 
765
795
  </li>
@@ -782,7 +812,8 @@ same TimeLine).</p>
782
812
 
783
813
 
784
814
  <span class="summary_desc"><div class='inline'>
785
- <p>tests if one TimeSpan starts with or after another (on the same TimeLine).</p>
815
+ <p>tests if one TimeSpan starts with or after another (on the same TimeLine
816
+ -- delegated to RelativeTime).</p>
786
817
  </div></span>
787
818
 
788
819
  </li>
@@ -806,7 +837,7 @@ same TimeLine).</p>
806
837
 
807
838
  <span class="summary_desc"><div class='inline'>
808
839
  <p>tests if one TimeSpan starts at the same time as another (on the same
809
- TimeLine).</p>
840
+ TimeLine -- delegated to RelativeTime).</p>
810
841
  </div></span>
811
842
 
812
843
  </li>
@@ -1141,7 +1172,8 @@ TimeLine).</p>
1141
1172
  </p><div class="docstring">
1142
1173
  <div class="discussion">
1143
1174
 
1144
- <p>tests if one TimeSpan is not the same as another (on the same TimeLine)</p>
1175
+ <p>tests if one TimeSpan is not the same as another (on the same TimeLine --
1176
+ delegated to RelativeTime)</p>
1145
1177
 
1146
1178
 
1147
1179
  </div>
@@ -1193,12 +1225,12 @@ TimeLine).</p>
1193
1225
  <pre class="lines">
1194
1226
 
1195
1227
 
1196
- 165
1197
- 166
1198
- 167</pre>
1228
+ 170
1229
+ 171
1230
+ 172</pre>
1199
1231
  </td>
1200
1232
  <td>
1201
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 165</span>
1233
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 170</span>
1202
1234
 
1203
1235
  <span class='kw'>def</span> <span class='op'>!=</span> <span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1204
1236
  <span class='op'>!</span><span class='id identifier rubyid_end_with'>end_with</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='op'>!</span><span class='id identifier rubyid_starts_with'>starts_with</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1218,8 +1250,8 @@ TimeLine).</p>
1218
1250
  </p><div class="docstring">
1219
1251
  <div class="discussion">
1220
1252
 
1221
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine)
1222
- alias for '#ends_before_other_starts'</p>
1253
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
1254
+ delegated to RelativeTime) alias for '#ends_before_other_starts'</p>
1223
1255
 
1224
1256
 
1225
1257
  </div>
@@ -1271,12 +1303,12 @@ alias for '#ends_before_other_starts'</p>
1271
1303
  <pre class="lines">
1272
1304
 
1273
1305
 
1274
- 173
1275
- 174
1276
- 175</pre>
1306
+ 178
1307
+ 179
1308
+ 180</pre>
1277
1309
  </td>
1278
1310
  <td>
1279
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 173</span>
1311
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 178</span>
1280
1312
 
1281
1313
  <span class='kw'>def</span> <span class='op'>&lt;</span> <span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1282
1314
  <span class='id identifier rubyid_ends_before_other_starts?'>ends_before_other_starts?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1296,7 +1328,8 @@ alias for '#ends_before_other_starts'</p>
1296
1328
  </p><div class="docstring">
1297
1329
  <div class="discussion">
1298
1330
 
1299
- <p>tests if one TimeSpan is the same as another (on the same TimeLine)</p>
1331
+ <p>tests if one TimeSpan is the same as another (on the same TimeLine --
1332
+ delegated to RelativeTime)</p>
1300
1333
 
1301
1334
 
1302
1335
  </div>
@@ -1348,15 +1381,15 @@ alias for '#ends_before_other_starts'</p>
1348
1381
  <pre class="lines">
1349
1382
 
1350
1383
 
1351
- 158
1352
- 159
1353
- 160</pre>
1384
+ 163
1385
+ 164
1386
+ 165</pre>
1354
1387
  </td>
1355
1388
  <td>
1356
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 158</span>
1389
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 163</span>
1357
1390
 
1358
1391
  <span class='kw'>def</span> <span class='op'>==</span> <span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1359
- <span class='id identifier rubyid_ends_with?'>ends_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_b'>b</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_starts_with?'>starts_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1392
+ <span class='id identifier rubyid_ends_with?'>ends_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_starts_with?'>starts_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1360
1393
  <span class='kw'>end</span></pre>
1361
1394
  </td>
1362
1395
  </tr>
@@ -1373,8 +1406,8 @@ alias for '#ends_before_other_starts'</p>
1373
1406
  </p><div class="docstring">
1374
1407
  <div class="discussion">
1375
1408
 
1376
- <p>tests if one TimeSpan starts after another ends (on the same TimeLine)
1377
- alias for '#starts_after_other_ends'</p>
1409
+ <p>tests if one TimeSpan starts after another ends (on the same TimeLine --
1410
+ delegated to RelativeTime) alias for '#starts_after_other_ends'</p>
1378
1411
 
1379
1412
 
1380
1413
  </div>
@@ -1426,12 +1459,12 @@ alias for '#starts_after_other_ends'</p>
1426
1459
  <pre class="lines">
1427
1460
 
1428
1461
 
1429
- 181
1430
- 182
1431
- 183</pre>
1462
+ 186
1463
+ 187
1464
+ 188</pre>
1432
1465
  </td>
1433
1466
  <td>
1434
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 181</span>
1467
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 186</span>
1435
1468
 
1436
1469
  <span class='kw'>def</span> <span class='op'>&gt;</span> <span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1437
1470
  <span class='id identifier rubyid_starts_after_other_ends?'>starts_after_other_ends?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1439,6 +1472,61 @@ alias for '#starts_after_other_ends'</p>
1439
1472
  </td>
1440
1473
  </tr>
1441
1474
  </table>
1475
+ </div>
1476
+
1477
+ <div class="method_details ">
1478
+ <p class="signature " id="clone-instance_method">
1479
+
1480
+ - (<tt>Object</tt>) <strong>clone</strong>
1481
+
1482
+
1483
+
1484
+ </p><div class="docstring">
1485
+ <div class="discussion">
1486
+
1487
+
1488
+ </div>
1489
+ </div>
1490
+ <div class="tags">
1491
+
1492
+ <h3>Raises:</h3>
1493
+ <ul class="raise">
1494
+
1495
+ <li>
1496
+
1497
+
1498
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1499
+
1500
+
1501
+
1502
+ &mdash;
1503
+ <div class='inline'>
1504
+ <p>could create illegal objects by gem rules</p>
1505
+ </div>
1506
+
1507
+ </li>
1508
+
1509
+ </ul>
1510
+
1511
+ </div><table class="source_code">
1512
+ <tr>
1513
+ <td>
1514
+ <pre class="lines">
1515
+
1516
+
1517
+ 36
1518
+ 37
1519
+ 38</pre>
1520
+ </td>
1521
+ <td>
1522
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 36</span>
1523
+
1524
+ <span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
1525
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Cannot use base Ruby clone which can create illegal objects by gem rules.</span><span class='tstring_end'>&quot;</span></span>
1526
+ <span class='kw'>end</span></pre>
1527
+ </td>
1528
+ </tr>
1529
+ </table>
1442
1530
  </div>
1443
1531
 
1444
1532
  <div class="method_details ">
@@ -1451,7 +1539,8 @@ alias for '#starts_after_other_ends'</p>
1451
1539
  </p><div class="docstring">
1452
1540
  <div class="discussion">
1453
1541
 
1454
- <p>tests if one TimeSpan is contained within another (on the same TimeLine)</p>
1542
+ <p>tests if one TimeSpan is contained within another (on the same TimeLine
1543
+ -- delegated to RelativeTime)</p>
1455
1544
 
1456
1545
 
1457
1546
  </div>
@@ -1503,15 +1592,15 @@ alias for '#starts_after_other_ends'</p>
1503
1592
  <pre class="lines">
1504
1593
 
1505
1594
 
1506
- 188
1507
- 189
1508
- 190</pre>
1595
+ 193
1596
+ 194
1597
+ 195</pre>
1509
1598
  </td>
1510
1599
  <td>
1511
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 188</span>
1600
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 193</span>
1512
1601
 
1513
1602
  <span class='kw'>def</span> <span class='id identifier rubyid_contained_fully_inside?'>contained_fully_inside?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1514
- <span class='id identifier rubyid_starts_after?'>starts_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_b'>b</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_ends_before?'>ends_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1603
+ <span class='id identifier rubyid_starts_after?'>starts_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_ends_before?'>ends_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1515
1604
  <span class='kw'>end</span></pre>
1516
1605
  </td>
1517
1606
  </tr>
@@ -1529,7 +1618,7 @@ alias for '#starts_after_other_ends'</p>
1529
1618
  <div class="discussion">
1530
1619
 
1531
1620
  <p>tests if one TimeSpan is contained within another, possibly begining as or
1532
- ends as another (on the same TimeLine)</p>
1621
+ ends as another (on the same TimeLine -- delegated to RelativeTime)</p>
1533
1622
 
1534
1623
 
1535
1624
  </div>
@@ -1581,12 +1670,12 @@ ends as another (on the same TimeLine)</p>
1581
1670
  <pre class="lines">
1582
1671
 
1583
1672
 
1584
- 195
1585
- 196
1586
- 197</pre>
1673
+ 200
1674
+ 201
1675
+ 202</pre>
1587
1676
  </td>
1588
1677
  <td>
1589
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 195</span>
1678
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 200</span>
1590
1679
 
1591
1680
  <span class='kw'>def</span> <span class='id identifier rubyid_contained_inside?'>contained_inside?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1592
1681
  <span class='id identifier rubyid_starts_on_or_after?'>starts_on_or_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_ends_on_or_before?'>ends_on_or_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1606,7 +1695,8 @@ ends as another (on the same TimeLine)</p>
1606
1695
  </p><div class="docstring">
1607
1696
  <div class="discussion">
1608
1697
 
1609
- <p>tests if one TimeSpan contains within another (on the same TimeLine)</p>
1698
+ <p>tests if one TimeSpan contains within another (on the same TimeLine --
1699
+ delegated to RelativeTime)</p>
1610
1700
 
1611
1701
 
1612
1702
  </div>
@@ -1658,12 +1748,12 @@ ends as another (on the same TimeLine)</p>
1658
1748
  <pre class="lines">
1659
1749
 
1660
1750
 
1661
- 209
1662
- 210
1663
- 211</pre>
1751
+ 214
1752
+ 215
1753
+ 216</pre>
1664
1754
  </td>
1665
1755
  <td>
1666
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 209</span>
1756
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 214</span>
1667
1757
 
1668
1758
  <span class='kw'>def</span> <span class='id identifier rubyid_contains?'>contains?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1669
1759
  <span class='id identifier rubyid_starts_before_or_with?'>starts_before_or_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_ends_on_or_after?'>ends_on_or_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1683,7 +1773,8 @@ ends as another (on the same TimeLine)</p>
1683
1773
  </p><div class="docstring">
1684
1774
  <div class="discussion">
1685
1775
 
1686
- <p>tests if one TimeSpan contains another (on the same TimeLine)</p>
1776
+ <p>tests if one TimeSpan contains another (on the same TimeLine -- delegated
1777
+ to RelativeTime)</p>
1687
1778
 
1688
1779
 
1689
1780
  </div>
@@ -1735,12 +1826,12 @@ ends as another (on the same TimeLine)</p>
1735
1826
  <pre class="lines">
1736
1827
 
1737
1828
 
1738
- 202
1739
- 203
1740
- 204</pre>
1829
+ 207
1830
+ 208
1831
+ 209</pre>
1741
1832
  </td>
1742
1833
  <td>
1743
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 202</span>
1834
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 207</span>
1744
1835
 
1745
1836
  <span class='kw'>def</span> <span class='id identifier rubyid_contains_fully?'>contains_fully?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1746
1837
  <span class='id identifier rubyid_starts_before?'>starts_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_ends_after?'>ends_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
@@ -1792,12 +1883,12 @@ ends as another (on the same TimeLine)</p>
1792
1883
  <pre class="lines">
1793
1884
 
1794
1885
 
1795
- 37
1796
- 38
1797
- 39</pre>
1886
+ 42
1887
+ 43
1888
+ 44</pre>
1798
1889
  </td>
1799
1890
  <td>
1800
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 37</span>
1891
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 42</span>
1801
1892
 
1802
1893
  <span class='kw'>def</span> <span class='id identifier rubyid_endpoint_statuses'>endpoint_statuses</span>
1803
1894
  <span class='lbrace'>{</span><span class='kw'>self</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span><span class='period'>.</span><span class='id identifier rubyid_reference_to'>reference_to</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span><span class='period'>.</span><span class='id identifier rubyid_reference_to'>reference_to</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
@@ -1817,7 +1908,8 @@ ends as another (on the same TimeLine)</p>
1817
1908
  </p><div class="docstring">
1818
1909
  <div class="discussion">
1819
1910
 
1820
- <p>tests if one TimeSpan ends after another (on the same TimeLine)</p>
1911
+ <p>tests if one TimeSpan ends after another (on the same TimeLine --
1912
+ delegated to RelativeTime)</p>
1821
1913
 
1822
1914
 
1823
1915
  </div>
@@ -1869,12 +1961,12 @@ ends as another (on the same TimeLine)</p>
1869
1961
  <pre class="lines">
1870
1962
 
1871
1963
 
1872
- 106
1873
- 107
1874
- 108</pre>
1964
+ 111
1965
+ 112
1966
+ 113</pre>
1875
1967
  </td>
1876
1968
  <td>
1877
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 106</span>
1969
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 111</span>
1878
1970
 
1879
1971
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_after?'>ends_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1880
1972
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -1895,7 +1987,7 @@ ends as another (on the same TimeLine)</p>
1895
1987
  <div class="discussion">
1896
1988
 
1897
1989
  <p>tests if one TimeSpan ends at the same time as another starts (on the same
1898
- TimeLine)</p>
1990
+ TimeLine -- delegated to RelativeTime)</p>
1899
1991
 
1900
1992
 
1901
1993
  </div>
@@ -1947,12 +2039,12 @@ TimeLine)</p>
1947
2039
  <pre class="lines">
1948
2040
 
1949
2041
 
1950
- 127
1951
- 128
1952
- 129</pre>
2042
+ 132
2043
+ 133
2044
+ 134</pre>
1953
2045
  </td>
1954
2046
  <td>
1955
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 127</span>
2047
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 132</span>
1956
2048
 
1957
2049
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_as_other_starts?'>ends_as_other_starts?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
1958
2050
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>==</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -1972,7 +2064,8 @@ TimeLine)</p>
1972
2064
  </p><div class="docstring">
1973
2065
  <div class="discussion">
1974
2066
 
1975
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine)</p>
2067
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
2068
+ delegated to RelativeTime)</p>
1976
2069
 
1977
2070
 
1978
2071
  </div>
@@ -2024,12 +2117,12 @@ TimeLine)</p>
2024
2117
  <pre class="lines">
2025
2118
 
2026
2119
 
2027
- 85
2028
- 86
2029
- 87</pre>
2120
+ 90
2121
+ 91
2122
+ 92</pre>
2030
2123
  </td>
2031
2124
  <td>
2032
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 85</span>
2125
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 90</span>
2033
2126
 
2034
2127
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_before?'>ends_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2035
2128
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>&lt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2049,7 +2142,8 @@ TimeLine)</p>
2049
2142
  </p><div class="docstring">
2050
2143
  <div class="discussion">
2051
2144
 
2052
- <p>tests if one TimeSpan ends before another starts (on the same TimeLine)</p>
2145
+ <p>tests if one TimeSpan ends before another starts (on the same TimeLine --
2146
+ delegated to RelativeTime)</p>
2053
2147
 
2054
2148
 
2055
2149
  </div>
@@ -2101,12 +2195,12 @@ TimeLine)</p>
2101
2195
  <pre class="lines">
2102
2196
 
2103
2197
 
2104
- 120
2105
- 121
2106
- 122</pre>
2198
+ 125
2199
+ 126
2200
+ 127</pre>
2107
2201
  </td>
2108
2202
  <td>
2109
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 120</span>
2203
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 125</span>
2110
2204
 
2111
2205
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_before_other_starts?'>ends_before_other_starts?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2112
2206
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>&lt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2127,7 +2221,7 @@ TimeLine)</p>
2127
2221
  <div class="discussion">
2128
2222
 
2129
2223
  <p>tests if one TimeSpan ends after or at the same time as another (on the
2130
- same TimeLine)</p>
2224
+ same TimeLine -- delegated to RelativeTime)</p>
2131
2225
 
2132
2226
 
2133
2227
  </div>
@@ -2179,12 +2273,12 @@ same TimeLine)</p>
2179
2273
  <pre class="lines">
2180
2274
 
2181
2275
 
2182
- 99
2183
- 100
2184
- 101</pre>
2276
+ 104
2277
+ 105
2278
+ 106</pre>
2185
2279
  </td>
2186
2280
  <td>
2187
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 99</span>
2281
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 104</span>
2188
2282
 
2189
2283
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_on_or_after?'>ends_on_or_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2190
2284
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2205,7 +2299,7 @@ same TimeLine)</p>
2205
2299
  <div class="discussion">
2206
2300
 
2207
2301
  <p>tests if one TimeSpan end before or at the same time as another ends (on
2208
- the same TimeLine)</p>
2302
+ the same TimeLine -- delegated to RelativeTime)</p>
2209
2303
 
2210
2304
 
2211
2305
  </div>
@@ -2257,12 +2351,12 @@ the same TimeLine)</p>
2257
2351
  <pre class="lines">
2258
2352
 
2259
2353
 
2260
- 92
2261
- 93
2262
- 94</pre>
2354
+ 97
2355
+ 98
2356
+ 99</pre>
2263
2357
  </td>
2264
2358
  <td>
2265
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 92</span>
2359
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 97</span>
2266
2360
 
2267
2361
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_on_or_before?'>ends_on_or_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2268
2362
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>&lt;=</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2283,7 +2377,7 @@ the same TimeLine)</p>
2283
2377
  <div class="discussion">
2284
2378
 
2285
2379
  <p>tests if one TimeSpan ends at the same time as another (on the same
2286
- TimeLine)</p>
2380
+ TimeLine -- delegated to RelativeTime)</p>
2287
2381
 
2288
2382
 
2289
2383
  </div>
@@ -2335,12 +2429,12 @@ TimeLine)</p>
2335
2429
  <pre class="lines">
2336
2430
 
2337
2431
 
2338
- 113
2339
- 114
2340
- 115</pre>
2432
+ 118
2433
+ 119
2434
+ 120</pre>
2341
2435
  </td>
2342
2436
  <td>
2343
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 113</span>
2437
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 118</span>
2344
2438
 
2345
2439
  <span class='kw'>def</span> <span class='id identifier rubyid_ends_with?'>ends_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2346
2440
  <span class='id identifier rubyid_ends'>ends</span> <span class='op'>==</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2360,7 +2454,8 @@ TimeLine)</p>
2360
2454
  </p><div class="docstring">
2361
2455
  <div class="discussion">
2362
2456
 
2363
- <p>tests if one TimeSpan starts after another (on the same TimeLine)</p>
2457
+ <p>tests if one TimeSpan starts after another (on the same TimeLine --
2458
+ delegated to RelativeTime)</p>
2364
2459
 
2365
2460
 
2366
2461
  </div>
@@ -2412,12 +2507,12 @@ TimeLine)</p>
2412
2507
  <pre class="lines">
2413
2508
 
2414
2509
 
2415
- 57
2416
- 58
2417
- 59</pre>
2510
+ 62
2511
+ 63
2512
+ 64</pre>
2418
2513
  </td>
2419
2514
  <td>
2420
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 57</span>
2515
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 62</span>
2421
2516
 
2422
2517
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_after?'>starts_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2423
2518
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2438,7 +2533,7 @@ TimeLine)</p>
2438
2533
  <div class="discussion">
2439
2534
 
2440
2535
  <p>tests if one TimeSpan ends at the same time as another (on the same
2441
- TimeLine)</p>
2536
+ TimeLine -- delegated to RelativeTime)</p>
2442
2537
 
2443
2538
 
2444
2539
  </div>
@@ -2490,12 +2585,12 @@ TimeLine)</p>
2490
2585
  <pre class="lines">
2491
2586
 
2492
2587
 
2493
- 134
2494
- 135
2495
- 136</pre>
2588
+ 139
2589
+ 140
2590
+ 141</pre>
2496
2591
  </td>
2497
2592
  <td>
2498
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 134</span>
2593
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 139</span>
2499
2594
 
2500
2595
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_after_other_ends?'>starts_after_other_ends?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2501
2596
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2516,7 +2611,7 @@ TimeLine)</p>
2516
2611
  <div class="discussion">
2517
2612
 
2518
2613
  <p>tests if one TimeSpan starts at the same time as another ends (on the same
2519
- TimeLine)</p>
2614
+ TimeLine -- delegated to RelativeTime)</p>
2520
2615
 
2521
2616
 
2522
2617
  </div>
@@ -2568,12 +2663,12 @@ TimeLine)</p>
2568
2663
  <pre class="lines">
2569
2664
 
2570
2665
 
2571
- 141
2572
- 142
2573
- 143</pre>
2666
+ 146
2667
+ 147
2668
+ 148</pre>
2574
2669
  </td>
2575
2670
  <td>
2576
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 141</span>
2671
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 146</span>
2577
2672
 
2578
2673
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_as_other_ends?'>starts_as_other_ends?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2579
2674
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>==</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_ends'>ends</span>
@@ -2593,7 +2688,8 @@ TimeLine)</p>
2593
2688
  </p><div class="docstring">
2594
2689
  <div class="discussion">
2595
2690
 
2596
- <p>tests if one TimeSpan starts before another (on the same TimeLine)</p>
2691
+ <p>tests if one TimeSpan starts before another (on the same TimeLine --
2692
+ delegated to RelativeTime)</p>
2597
2693
 
2598
2694
 
2599
2695
  </div>
@@ -2645,12 +2741,12 @@ TimeLine)</p>
2645
2741
  <pre class="lines">
2646
2742
 
2647
2743
 
2648
- 50
2649
- 51
2650
- 52</pre>
2744
+ 55
2745
+ 56
2746
+ 57</pre>
2651
2747
  </td>
2652
2748
  <td>
2653
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 50</span>
2749
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 55</span>
2654
2750
 
2655
2751
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_before?'>starts_before?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2656
2752
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>&lt;</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2671,7 +2767,7 @@ TimeLine)</p>
2671
2767
  <div class="discussion">
2672
2768
 
2673
2769
  <p>tests if one TimeSpan starts before or at the same time as another (on the
2674
- same TimeLine)</p>
2770
+ same TimeLine -- delegated to RelativeTime)</p>
2675
2771
 
2676
2772
 
2677
2773
  </div>
@@ -2723,12 +2819,12 @@ same TimeLine)</p>
2723
2819
  <pre class="lines">
2724
2820
 
2725
2821
 
2726
- 78
2727
- 79
2728
- 80</pre>
2822
+ 83
2823
+ 84
2824
+ 85</pre>
2729
2825
  </td>
2730
2826
  <td>
2731
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 78</span>
2827
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 83</span>
2732
2828
 
2733
2829
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_before_or_with?'>starts_before_or_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2734
2830
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>&lt;=</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2748,7 +2844,8 @@ same TimeLine)</p>
2748
2844
  </p><div class="docstring">
2749
2845
  <div class="discussion">
2750
2846
 
2751
- <p>tests if one TimeSpan starts with or after another (on the same TimeLine)</p>
2847
+ <p>tests if one TimeSpan starts with or after another (on the same TimeLine
2848
+ -- delegated to RelativeTime)</p>
2752
2849
 
2753
2850
 
2754
2851
  </div>
@@ -2800,12 +2897,12 @@ same TimeLine)</p>
2800
2897
  <pre class="lines">
2801
2898
 
2802
2899
 
2803
- 64
2804
- 65
2805
- 66</pre>
2900
+ 69
2901
+ 70
2902
+ 71</pre>
2806
2903
  </td>
2807
2904
  <td>
2808
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 64</span>
2905
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 69</span>
2809
2906
 
2810
2907
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_on_or_after?'>starts_on_or_after?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2811
2908
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2826,7 +2923,7 @@ same TimeLine)</p>
2826
2923
  <div class="discussion">
2827
2924
 
2828
2925
  <p>tests if one TimeSpan starts at the same time as another (on the same
2829
- TimeLine)</p>
2926
+ TimeLine -- delegated to RelativeTime)</p>
2830
2927
 
2831
2928
 
2832
2929
  </div>
@@ -2878,12 +2975,12 @@ TimeLine)</p>
2878
2975
  <pre class="lines">
2879
2976
 
2880
2977
 
2881
- 71
2882
- 72
2883
- 73</pre>
2978
+ 76
2979
+ 77
2980
+ 78</pre>
2884
2981
  </td>
2885
2982
  <td>
2886
- <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 71</span>
2983
+ <pre class="code"><span class="info file"># File 'lib/time_span.rb', line 76</span>
2887
2984
 
2888
2985
  <span class='kw'>def</span> <span class='id identifier rubyid_starts_with?'>starts_with?</span><span class='lparen'>(</span><span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='rparen'>)</span>
2889
2986
  <span class='id identifier rubyid_starts'>starts</span> <span class='op'>==</span> <span class='id identifier rubyid_other_time_span'>other_time_span</span><span class='period'>.</span><span class='id identifier rubyid_starts'>starts</span>
@@ -2898,7 +2995,7 @@ TimeLine)</p>
2898
2995
  </div>
2899
2996
 
2900
2997
  <div id="footer">
2901
- Generated on Fri Mar 2 13:34:25 2012 by
2998
+ Generated on Mon Mar 5 16:04:12 2012 by
2902
2999
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2903
3000
  0.7.5 (ruby-1.9.3).
2904
3001
  </div>