YkESet 0.99.3 → 0.99.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63f5fa458e8485be300d6b72e5677f67e1e5980440851a88f7a91888f1ef97b6
4
- data.tar.gz: 6e3a816cb048803785cbcc2fbcb89907fc1d1d48cbf5a97d2a1ce8673eaaf1d1
3
+ metadata.gz: 34201adc567e9edda34d25f1dd3dc7ad08bab8ac0ec3385ca1f7e0a025b3212e
4
+ data.tar.gz: 9734d4b8e2d34280b3997079a75ff5e5e5515a532d34b2c1584cca953d7d3d54
5
5
  SHA512:
6
- metadata.gz: b905e8aeb328a0837e4af275163774d760b5d42d8db75c46765028bc9b1b5a6edc5f9f491f7bcfd6f34124fc7b9d5aa2464b2b6009bbfa50e5e1469f138db24a
7
- data.tar.gz: 07dab4d6a304dfecd969282e0052297893fe5245ce0d9c3a5e7e2db337fda1d720f5496f5c821b5f484bc56dba5dde07a1154cd6625ab2bc1d8e89befda54584
6
+ metadata.gz: 0626b179fae0e7aa9638efbfb0e8d1c9da2f5e954295a29a08f29f9f25f625e889e1153d809ab940c038774865784a3e21e1c78b2e36729ba4e2599e2096700f
7
+ data.tar.gz: e43b3ed34bda1dfd80e6b8003a155ef84fe503dfc7667db276797acf8b47de7a1ed942c4f819963b9a06a6f2df8fd5a9594ed3da44d878514ba5e3cc2b2e97fd
data/README.md CHANGED
@@ -47,7 +47,16 @@ Or install it yourself as:
47
47
  while it != s.end
48
48
  p it.item
49
49
  it.inc
50
- end
50
+ end
51
+
52
+ jt = it
53
+ it.inc
54
+ p it == jt #true
55
+ jt = it.clone
56
+ jt.inc
57
+ p it != jt #true
58
+
59
+
51
60
 
52
61
  See [Document page](https://yougaein.github.io/eset/index.html)
53
62
 
@@ -194,6 +194,30 @@
194
194
  <p>assign the positions of argument.</p>
195
195
  </div></span>
196
196
 
197
+ </li>
198
+
199
+
200
+ <li class="public ">
201
+ <span class="summary_signature">
202
+
203
+ <a href="#clone-instance_method" title="#clone (instance method)">#<strong>clone</strong> &#x21d2; EMMap::Iterator </a>
204
+
205
+
206
+
207
+ </span>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+ <span class="summary_desc"><div class='inline'>
218
+ <p>newly construct a clone iterator.</p>
219
+ </div></span>
220
+
197
221
  </li>
198
222
 
199
223
 
@@ -340,11 +364,11 @@
340
364
  <pre class="lines">
341
365
 
342
366
 
343
- 408
344
- 409</pre>
367
+ 424
368
+ 425</pre>
345
369
  </td>
346
370
  <td>
347
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 408</span>
371
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 424</span>
348
372
 
349
373
  <span class='kw'>def</span> <span class='op'>!=</span>
350
374
  <span class='kw'>end</span></pre>
@@ -415,11 +439,11 @@
415
439
  <pre class="lines">
416
440
 
417
441
 
418
- 403
419
- 404</pre>
442
+ 419
443
+ 420</pre>
420
444
  </td>
421
445
  <td>
422
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 403</span>
446
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 419</span>
423
447
 
424
448
  <span class='kw'>def</span> <span class='op'>==</span> <span class='id identifier rubyid_arg'>arg</span>
425
449
  <span class='kw'>end</span></pre>
@@ -490,17 +514,74 @@
490
514
  <pre class="lines">
491
515
 
492
516
 
493
- 398
494
- 399</pre>
517
+ 414
518
+ 415</pre>
495
519
  </td>
496
520
  <td>
497
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 398</span>
521
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 414</span>
498
522
 
499
523
  <span class='kw'>def</span> <span class='id identifier rubyid_assign'>assign</span> <span class='id identifier rubyid_arg'>arg</span>
500
524
  <span class='kw'>end</span></pre>
501
525
  </td>
502
526
  </tr>
503
527
  </table>
528
+ </div>
529
+
530
+ <div class="method_details ">
531
+ <h3 class="signature " id="clone-instance_method">
532
+
533
+ #<strong>clone</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt>
534
+
535
+
536
+
537
+
538
+
539
+ </h3><div class="docstring">
540
+ <div class="discussion">
541
+
542
+ <p>newly construct a clone iterator</p>
543
+
544
+
545
+ </div>
546
+ </div>
547
+ <div class="tags">
548
+
549
+ <p class="tag_title">Returns:</p>
550
+ <ul class="return">
551
+
552
+ <li>
553
+
554
+
555
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt>)</span>
556
+
557
+
558
+
559
+ &mdash;
560
+ <div class='inline'>
561
+ <p>self</p>
562
+ </div>
563
+
564
+ </li>
565
+
566
+ </ul>
567
+
568
+ </div><table class="source_code">
569
+ <tr>
570
+ <td>
571
+ <pre class="lines">
572
+
573
+
574
+ 399
575
+ 400</pre>
576
+ </td>
577
+ <td>
578
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 399</span>
579
+
580
+ <span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
581
+ <span class='kw'>end</span></pre>
582
+ </td>
583
+ </tr>
584
+ </table>
504
585
  </div>
505
586
 
506
587
  <div class="method_details ">
@@ -565,11 +646,11 @@
565
646
  <pre class="lines">
566
647
 
567
648
 
568
- 393
569
- 394</pre>
649
+ 409
650
+ 410</pre>
570
651
  </td>
571
652
  <td>
572
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 393</span>
653
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 409</span>
573
654
 
574
655
  <span class='kw'>def</span> <span class='id identifier rubyid_dec'>dec</span>
575
656
  <span class='kw'>end</span></pre>
@@ -640,11 +721,11 @@
640
721
  <pre class="lines">
641
722
 
642
723
 
643
- 388
644
- 389</pre>
724
+ 404
725
+ 405</pre>
645
726
  </td>
646
727
  <td>
647
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 388</span>
728
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 404</span>
648
729
 
649
730
  <span class='kw'>def</span> <span class='id identifier rubyid_inc'>inc</span>
650
731
  <span class='kw'>end</span></pre>
@@ -697,11 +778,11 @@
697
778
  <pre class="lines">
698
779
 
699
780
 
700
- 412
701
- 413</pre>
781
+ 428
782
+ 429</pre>
702
783
  </td>
703
784
  <td>
704
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 412</span>
785
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 428</span>
705
786
 
706
787
  <span class='kw'>def</span> <span class='id identifier rubyid_item'>item</span>
707
788
  <span class='kw'>end</span></pre>
@@ -715,7 +796,7 @@
715
796
  </div>
716
797
 
717
798
  <div id="footer">
718
- Generated on Thu Feb 20 23:01:22 2020 by
799
+ Generated on Thu Feb 20 23:18:20 2020 by
719
800
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
720
801
  0.9.24 (ruby-2.7.0).
721
802
  </div>
data/docs/Yk/EMMap.html CHANGED
@@ -478,11 +478,11 @@
478
478
  <pre class="lines">
479
479
 
480
480
 
481
- 320
482
- 321</pre>
481
+ 332
482
+ 333</pre>
483
483
  </td>
484
484
  <td>
485
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 320</span>
485
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 332</span>
486
486
 
487
487
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
488
488
  <span class='kw'>end</span></pre>
@@ -694,11 +694,11 @@
694
694
  <pre class="lines">
695
695
 
696
696
 
697
- 373
698
- 374</pre>
697
+ 385
698
+ 386</pre>
699
699
  </td>
700
700
  <td>
701
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 373</span>
701
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 385</span>
702
702
 
703
703
  <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMMap (class)">EMMap</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span> <span class='op'>=</span> <span class='kw'>nil</span>
704
704
  <span class='kw'>end</span></pre>
@@ -821,11 +821,11 @@
821
821
  <pre class="lines">
822
822
 
823
823
 
824
- 381
825
- 382</pre>
824
+ 393
825
+ 394</pre>
826
826
  </td>
827
827
  <td>
828
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 381</span>
828
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 393</span>
829
829
 
830
830
  <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMMap (class)">EMMap</a></span></span><span class='period'>.</span><span class='id identifier rubyid_for_each'>for_each</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span>
831
831
  <span class='kw'>end</span></pre>
@@ -884,11 +884,11 @@
884
884
  <pre class="lines">
885
885
 
886
886
 
887
- 323
888
- 324</pre>
887
+ 335
888
+ 336</pre>
889
889
  </td>
890
890
  <td>
891
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 323</span>
891
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 335</span>
892
892
 
893
893
  <span class='kw'>def</span> <span class='kw'>begin</span>
894
894
  <span class='kw'>end</span></pre>
@@ -923,11 +923,11 @@
923
923
  <pre class="lines">
924
924
 
925
925
 
926
- 332
927
- 333</pre>
926
+ 344
927
+ 345</pre>
928
928
  </td>
929
929
  <td>
930
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 332</span>
930
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 344</span>
931
931
 
932
932
  <span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span>
933
933
  <span class='kw'>end</span></pre>
@@ -980,11 +980,11 @@
980
980
  <pre class="lines">
981
981
 
982
982
 
983
- 326
984
- 327</pre>
983
+ 338
984
+ 339</pre>
985
985
  </td>
986
986
  <td>
987
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 326</span>
987
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 338</span>
988
988
 
989
989
  <span class='kw'>def</span> <span class='kw'>end</span>
990
990
  <span class='kw'>end</span></pre>
@@ -1101,11 +1101,11 @@
1101
1101
  <pre class="lines">
1102
1102
 
1103
1103
 
1104
- 360
1105
- 361</pre>
1104
+ 372
1105
+ 373</pre>
1106
1106
  </td>
1107
1107
  <td>
1108
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 360</span>
1108
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 372</span>
1109
1109
 
1110
1110
  <span class='kw'>def</span> <span class='id identifier rubyid_erase'>erase</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span>
1111
1111
  <span class='kw'>end</span></pre>
@@ -1305,11 +1305,11 @@
1305
1305
  <pre class="lines">
1306
1306
 
1307
1307
 
1308
- 351
1309
- 352</pre>
1308
+ 363
1309
+ 364</pre>
1310
1310
  </td>
1311
1311
  <td>
1312
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 351</span>
1312
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 363</span>
1313
1313
 
1314
1314
  <span class='kw'>def</span> <span class='id identifier rubyid_insert'>insert</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
1315
1315
  <span class='kw'>end</span></pre>
@@ -1362,11 +1362,11 @@
1362
1362
  <pre class="lines">
1363
1363
 
1364
1364
 
1365
- 338
1366
- 339</pre>
1365
+ 350
1366
+ 351</pre>
1367
1367
  </td>
1368
1368
  <td>
1369
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 338</span>
1369
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 350</span>
1370
1370
 
1371
1371
  <span class='kw'>def</span> <span class='id identifier rubyid_lower_bound'>lower_bound</span>
1372
1372
  <span class='kw'>end</span></pre>
@@ -1419,11 +1419,11 @@
1419
1419
  <pre class="lines">
1420
1420
 
1421
1421
 
1422
- 329
1423
- 330</pre>
1422
+ 341
1423
+ 342</pre>
1424
1424
  </td>
1425
1425
  <td>
1426
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 329</span>
1426
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 341</span>
1427
1427
 
1428
1428
  <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
1429
1429
  <span class='kw'>end</span></pre>
@@ -1476,11 +1476,11 @@
1476
1476
  <pre class="lines">
1477
1477
 
1478
1478
 
1479
- 335
1480
- 336</pre>
1479
+ 347
1480
+ 348</pre>
1481
1481
  </td>
1482
1482
  <td>
1483
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 335</span>
1483
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 347</span>
1484
1484
 
1485
1485
  <span class='kw'>def</span> <span class='id identifier rubyid_upper_bound'>upper_bound</span>
1486
1486
  <span class='kw'>end</span></pre>
@@ -1494,7 +1494,7 @@
1494
1494
  </div>
1495
1495
 
1496
1496
  <div id="footer">
1497
- Generated on Thu Feb 20 23:01:22 2020 by
1497
+ Generated on Thu Feb 20 23:18:20 2020 by
1498
1498
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1499
1499
  0.9.24 (ruby-2.7.0).
1500
1500
  </div>
@@ -194,6 +194,30 @@
194
194
  <p>assign the positions of argument.</p>
195
195
  </div></span>
196
196
 
197
+ </li>
198
+
199
+
200
+ <li class="public ">
201
+ <span class="summary_signature">
202
+
203
+ <a href="#clone-instance_method" title="#clone (instance method)">#<strong>clone</strong> &#x21d2; EMSet::Iterator </a>
204
+
205
+
206
+
207
+ </span>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+ <span class="summary_desc"><div class='inline'>
218
+ <p>newly construct a clone iterator.</p>
219
+ </div></span>
220
+
197
221
  </li>
198
222
 
199
223
 
@@ -340,11 +364,11 @@
340
364
  <pre class="lines">
341
365
 
342
366
 
343
- 193
344
- 194</pre>
367
+ 201
368
+ 202</pre>
345
369
  </td>
346
370
  <td>
347
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 193</span>
371
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 201</span>
348
372
 
349
373
  <span class='kw'>def</span> <span class='op'>!=</span>
350
374
  <span class='kw'>end</span></pre>
@@ -415,11 +439,11 @@
415
439
  <pre class="lines">
416
440
 
417
441
 
418
- 188
419
- 189</pre>
442
+ 196
443
+ 197</pre>
420
444
  </td>
421
445
  <td>
422
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 188</span>
446
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 196</span>
423
447
 
424
448
  <span class='kw'>def</span> <span class='op'>==</span> <span class='id identifier rubyid_arg'>arg</span>
425
449
  <span class='kw'>end</span></pre>
@@ -490,17 +514,74 @@
490
514
  <pre class="lines">
491
515
 
492
516
 
493
- 183
494
- 184</pre>
517
+ 191
518
+ 192</pre>
495
519
  </td>
496
520
  <td>
497
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 183</span>
521
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 191</span>
498
522
 
499
523
  <span class='kw'>def</span> <span class='id identifier rubyid_assign'>assign</span> <span class='id identifier rubyid_arg'>arg</span>
500
524
  <span class='kw'>end</span></pre>
501
525
  </td>
502
526
  </tr>
503
527
  </table>
528
+ </div>
529
+
530
+ <div class="method_details ">
531
+ <h3 class="signature " id="clone-instance_method">
532
+
533
+ #<strong>clone</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Yk::EMSet::Iterator (class)">EMSet::Iterator</a></span></tt>
534
+
535
+
536
+
537
+
538
+
539
+ </h3><div class="docstring">
540
+ <div class="discussion">
541
+
542
+ <p>newly construct a clone iterator</p>
543
+
544
+
545
+ </div>
546
+ </div>
547
+ <div class="tags">
548
+
549
+ <p class="tag_title">Returns:</p>
550
+ <ul class="return">
551
+
552
+ <li>
553
+
554
+
555
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Yk::EMSet::Iterator (class)">EMSet::Iterator</a></span></tt>)</span>
556
+
557
+
558
+
559
+ &mdash;
560
+ <div class='inline'>
561
+ <p>self</p>
562
+ </div>
563
+
564
+ </li>
565
+
566
+ </ul>
567
+
568
+ </div><table class="source_code">
569
+ <tr>
570
+ <td>
571
+ <pre class="lines">
572
+
573
+
574
+ 176
575
+ 177</pre>
576
+ </td>
577
+ <td>
578
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 176</span>
579
+
580
+ <span class='kw'>def</span> <span class='id identifier rubyid_clone'>clone</span>
581
+ <span class='kw'>end</span></pre>
582
+ </td>
583
+ </tr>
584
+ </table>
504
585
  </div>
505
586
 
506
587
  <div class="method_details ">
@@ -565,11 +646,11 @@
565
646
  <pre class="lines">
566
647
 
567
648
 
568
- 178
569
- 179</pre>
649
+ 186
650
+ 187</pre>
570
651
  </td>
571
652
  <td>
572
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 178</span>
653
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 186</span>
573
654
 
574
655
  <span class='kw'>def</span> <span class='id identifier rubyid_dec'>dec</span>
575
656
  <span class='kw'>end</span></pre>
@@ -640,11 +721,11 @@
640
721
  <pre class="lines">
641
722
 
642
723
 
643
- 173
644
- 174</pre>
724
+ 181
725
+ 182</pre>
645
726
  </td>
646
727
  <td>
647
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 173</span>
728
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 181</span>
648
729
 
649
730
  <span class='kw'>def</span> <span class='id identifier rubyid_inc'>inc</span>
650
731
  <span class='kw'>end</span></pre>
@@ -697,11 +778,11 @@
697
778
  <pre class="lines">
698
779
 
699
780
 
700
- 197
701
- 198</pre>
781
+ 205
782
+ 206</pre>
702
783
  </td>
703
784
  <td>
704
- <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 197</span>
785
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 205</span>
705
786
 
706
787
  <span class='kw'>def</span> <span class='id identifier rubyid_item'>item</span>
707
788
  <span class='kw'>end</span></pre>
@@ -715,7 +796,7 @@
715
796
  </div>
716
797
 
717
798
  <div id="footer">
718
- Generated on Thu Feb 20 23:01:22 2020 by
799
+ Generated on Thu Feb 20 23:18:19 2020 by
719
800
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
720
801
  0.9.24 (ruby-2.7.0).
721
802
  </div>