hamster 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/History.rdoc +16 -0
  2. data/README.rdoc +10 -10
  3. data/lib/hamster/core_ext/enumerable.rb +1 -1
  4. data/lib/hamster/core_ext/enumerable.rbc +481 -0
  5. data/lib/hamster/core_ext/io.rb +0 -1
  6. data/lib/hamster/core_ext/io.rbc +604 -0
  7. data/lib/hamster/hash.rb +6 -6
  8. data/lib/hamster/hash.rbc +3117 -0
  9. data/lib/hamster/list.rb +50 -14
  10. data/lib/hamster/list.rbc +7274 -0
  11. data/lib/hamster/set.rb +8 -7
  12. data/lib/hamster/set.rbc +3152 -0
  13. data/lib/hamster/stack.rbc +1358 -0
  14. data/lib/hamster/trie.rbc +3416 -0
  15. data/lib/hamster/version.rb +1 -1
  16. data/spec/hamster/core_ext/enumerable_spec.rb +1 -1
  17. data/spec/hamster/core_ext/enumerable_spec.rbc +747 -0
  18. data/spec/hamster/core_ext/io_spec.rbc +409 -0
  19. data/spec/hamster/hash/all_spec.rbc +1214 -0
  20. data/spec/hamster/hash/any_spec.rbc +1495 -0
  21. data/spec/hamster/hash/construction_spec.rbc +742 -0
  22. data/spec/hamster/hash/copying_spec.rbc +519 -0
  23. data/spec/hamster/hash/each_spec.rbc +908 -0
  24. data/spec/hamster/hash/empty_spec.rbc +517 -0
  25. data/spec/hamster/hash/eql_spec.rb +1 -1
  26. data/spec/hamster/hash/eql_spec.rbc +1702 -0
  27. data/spec/hamster/hash/filter_spec.rbc +1433 -0
  28. data/spec/hamster/hash/get_spec.rbc +791 -0
  29. data/spec/hamster/hash/has_key_spec.rbc +719 -0
  30. data/spec/hamster/hash/map_spec.rbc +1454 -0
  31. data/spec/hamster/hash/none_spec.rbc +1399 -0
  32. data/spec/hamster/hash/put_spec.rbc +1334 -0
  33. data/spec/hamster/hash/reduce_spec.rbc +1234 -0
  34. data/spec/hamster/hash/reject_spec.rbc +1445 -0
  35. data/spec/hamster/hash/remove_spec.rbc +1135 -0
  36. data/spec/hamster/hash/size_spec.rbc +596 -0
  37. data/spec/hamster/list/all_spec.rb +12 -4
  38. data/spec/hamster/list/all_spec.rbc +1760 -0
  39. data/spec/hamster/list/any_spec.rb +12 -4
  40. data/spec/hamster/list/any_spec.rbc +1888 -0
  41. data/spec/hamster/list/append_spec.rb +12 -5
  42. data/spec/hamster/list/append_spec.rbc +1555 -0
  43. data/spec/hamster/list/cadr_spec.rb +1 -1
  44. data/spec/hamster/list/cadr_spec.rbc +855 -0
  45. data/spec/hamster/list/cons_spec.rbc +848 -0
  46. data/spec/hamster/list/construction_spec.rbc +1732 -0
  47. data/spec/hamster/list/copying_spec.rbc +555 -0
  48. data/spec/hamster/list/drop_spec.rb +12 -4
  49. data/spec/hamster/list/drop_spec.rbc +1081 -0
  50. data/spec/hamster/list/drop_while_spec.rb +12 -4
  51. data/spec/hamster/list/drop_while_spec.rbc +1286 -0
  52. data/spec/hamster/list/each_spec.rb +13 -5
  53. data/spec/hamster/list/each_spec.rbc +1365 -0
  54. data/spec/hamster/list/empty_spec.rb +1 -1
  55. data/spec/hamster/list/empty_spec.rbc +571 -0
  56. data/spec/hamster/list/eql_spec.rb +15 -5
  57. data/spec/hamster/list/eql_spec.rbc +1819 -0
  58. data/spec/hamster/list/filter_spec.rb +13 -5
  59. data/spec/hamster/list/filter_spec.rbc +1595 -0
  60. data/spec/hamster/list/find_spec.rb +12 -4
  61. data/spec/hamster/list/find_spec.rbc +1456 -0
  62. data/spec/hamster/list/head_spec.rb +1 -1
  63. data/spec/hamster/list/head_spec.rbc +575 -0
  64. data/spec/hamster/list/include_spec.rb +12 -4
  65. data/spec/hamster/list/include_spec.rbc +1173 -0
  66. data/spec/hamster/list/inspect_spec.rb +13 -5
  67. data/spec/hamster/list/inspect_spec.rbc +995 -0
  68. data/spec/hamster/list/map_spec.rb +12 -4
  69. data/spec/hamster/list/map_spec.rbc +1545 -0
  70. data/spec/hamster/list/maximum_spec.rb +83 -0
  71. data/spec/hamster/list/minimum_spec.rb +83 -0
  72. data/spec/hamster/list/none_spec.rb +11 -3
  73. data/spec/hamster/list/none_spec.rbc +1788 -0
  74. data/spec/hamster/list/one_spec.rb +83 -0
  75. data/spec/hamster/list/partition_spec.rb +37 -9
  76. data/spec/hamster/list/partition_spec.rbc +2715 -0
  77. data/spec/hamster/list/reduce_spec.rb +12 -4
  78. data/spec/hamster/list/reduce_spec.rbc +2081 -0
  79. data/spec/hamster/list/reject_spec.rb +12 -4
  80. data/spec/hamster/list/reject_spec.rbc +1590 -0
  81. data/spec/hamster/list/reverse_spec.rb +12 -4
  82. data/spec/hamster/list/reverse_spec.rbc +1061 -0
  83. data/spec/hamster/list/size_spec.rb +13 -5
  84. data/spec/hamster/list/size_spec.rbc +1063 -0
  85. data/spec/hamster/list/tail_spec.rb +1 -1
  86. data/spec/hamster/list/tail_spec.rbc +595 -0
  87. data/spec/hamster/list/take_spec.rb +12 -4
  88. data/spec/hamster/list/take_spec.rbc +1075 -0
  89. data/spec/hamster/list/take_while_spec.rb +12 -4
  90. data/spec/hamster/list/take_while_spec.rbc +1446 -0
  91. data/spec/hamster/list/to_a_spec.rb +31 -19
  92. data/spec/hamster/list/to_a_spec.rbc +961 -0
  93. data/spec/hamster/list/to_ary_spec.rb +11 -3
  94. data/spec/hamster/list/to_ary_spec.rbc +1080 -0
  95. data/spec/hamster/list/to_list_spec.rb +31 -0
  96. data/spec/hamster/set/add_spec.rbc +1039 -0
  97. data/spec/hamster/set/all_spec.rbc +1316 -0
  98. data/spec/hamster/set/any_spec.rbc +1444 -0
  99. data/spec/hamster/set/construction_spec.rbc +422 -0
  100. data/spec/hamster/set/copying_spec.rbc +469 -0
  101. data/spec/hamster/set/each_spec.rbc +820 -0
  102. data/spec/hamster/set/empty_spec.rbc +452 -0
  103. data/spec/hamster/set/eql_spec.rb +1 -1
  104. data/spec/hamster/set/eql_spec.rbc +1309 -0
  105. data/spec/hamster/set/filter_spec.rbc +1272 -0
  106. data/spec/hamster/set/include_spec.rbc +657 -0
  107. data/spec/hamster/set/map_spec.rbc +1285 -0
  108. data/spec/hamster/set/none_spec.rbc +1344 -0
  109. data/spec/hamster/set/reduce_spec.rbc +1177 -0
  110. data/spec/hamster/set/reject_spec.rbc +1273 -0
  111. data/spec/hamster/set/remove_spec.rbc +947 -0
  112. data/spec/hamster/set/size_spec.rbc +531 -0
  113. data/spec/hamster/set/to_a_spec.rb +16 -12
  114. data/spec/hamster/set/to_a_spec.rbc +559 -0
  115. data/spec/hamster/stack/construction_spec.rbc +862 -0
  116. data/spec/hamster/stack/copying_spec.rbc +555 -0
  117. data/spec/hamster/stack/empty_spec.rb +1 -1
  118. data/spec/hamster/stack/empty_spec.rbc +571 -0
  119. data/spec/hamster/stack/eql_spec.rb +1 -1
  120. data/spec/hamster/stack/eql_spec.rbc +1281 -0
  121. data/spec/hamster/stack/inspect_spec.rb +1 -1
  122. data/spec/hamster/stack/inspect_spec.rbc +586 -0
  123. data/spec/hamster/stack/pop_spec.rbc +1099 -0
  124. data/spec/hamster/stack/push_spec.rbc +848 -0
  125. data/spec/hamster/stack/size_spec.rb +1 -1
  126. data/spec/hamster/stack/size_spec.rbc +650 -0
  127. data/spec/hamster/stack/top_spec.rbc +676 -0
  128. data/spec/hamster/trie/remove_spec.rbc +40 -0
  129. data/spec/spec_helper.rbc +163 -0
  130. data/tasks/spec.rbc +201 -0
  131. metadata +90 -2
@@ -6,14 +6,22 @@ describe Hamster::List do
6
6
 
7
7
  describe "#each" do
8
8
 
9
- describe "on a really big list" do
9
+ describe "doesn't run out of stack space on a really big" do
10
10
 
11
11
  before do
12
- @list = Hamster.interval(0, 10000)
12
+ @interval = Hamster.interval(0, 10000)
13
13
  end
14
14
 
15
- it "doesn't run out of stack space" do
16
- @list.each {}
15
+ it "stream" do
16
+ @list = @interval
17
+ end
18
+
19
+ it "list" do
20
+ @list = @interval.reduce(Hamster.list) { |list, i| list.cons(i) }
21
+ end
22
+
23
+ after do
24
+ @list.each { }
17
25
  end
18
26
 
19
27
  end
@@ -39,7 +47,7 @@ describe Hamster::List do
39
47
  end
40
48
 
41
49
  it "returns nil" do
42
- @list.each {}.should be_nil
50
+ @list.each { "flibble" }.should be_nil
43
51
  end
44
52
 
45
53
  end
@@ -0,0 +1,1365 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 50
13
+ 5
14
+ 42
15
+ 0
16
+ 1
17
+ 42
18
+ 0
19
+ 2
20
+ 61
21
+ 45
22
+ 3
23
+ 46
24
+ 4
25
+ 1
26
+ 7
27
+ 5
28
+ 60
29
+ 77
30
+ 6
31
+ 46
32
+ 7
33
+ 1
34
+ 44
35
+ 46
36
+ 8
37
+ 1
38
+ 14
39
+ 5
40
+ 7
41
+ 9
42
+ 60
43
+ 44
44
+ 46
45
+ 8
46
+ 1
47
+ 14
48
+ 5
49
+ 42
50
+ 10
51
+ 11
52
+ 40
53
+ 12
54
+ 53
55
+ 13
56
+ 44
57
+ 47
58
+ 14
59
+ 1
60
+ 14
61
+ 2
62
+ 11
63
+ I
64
+ 4
65
+ I
66
+ 0
67
+ I
68
+ 0
69
+ I
70
+ 0
71
+ n
72
+ p
73
+ 15
74
+ x
75
+ 4
76
+ File
77
+ n
78
+ n
79
+ x
80
+ 11
81
+ active_path
82
+ x
83
+ 7
84
+ dirname
85
+ s
86
+ 18
87
+ /../../spec_helper
88
+ x
89
+ 1
90
+ +
91
+ x
92
+ 11
93
+ expand_path
94
+ x
95
+ 7
96
+ require
97
+ s
98
+ 12
99
+ hamster/list
100
+ x
101
+ 7
102
+ Hamster
103
+ n
104
+ x
105
+ 4
106
+ List
107
+ M
108
+ 1
109
+ n
110
+ n
111
+ x
112
+ 9
113
+ __block__
114
+ i
115
+ 11
116
+ 5
117
+ 7
118
+ 0
119
+ 60
120
+ 53
121
+ 1
122
+ 44
123
+ 47
124
+ 2
125
+ 1
126
+ 11
127
+ I
128
+ 4
129
+ I
130
+ 0
131
+ I
132
+ -1
133
+ I
134
+ -1
135
+ n
136
+ p
137
+ 3
138
+ s
139
+ 5
140
+ #each
141
+ M
142
+ 1
143
+ n
144
+ n
145
+ x
146
+ 9
147
+ __block__
148
+ i
149
+ 37
150
+ 5
151
+ 7
152
+ 0
153
+ 60
154
+ 53
155
+ 1
156
+ 44
157
+ 47
158
+ 2
159
+ 1
160
+ 14
161
+ 32
162
+ 0
163
+ 7
164
+ 3
165
+ 60
166
+ 32
167
+ 1
168
+ 7
169
+ 3
170
+ 60
171
+ 7
172
+ 4
173
+ 60
174
+ 7
175
+ 5
176
+ 60
177
+ 32
178
+ 3
179
+ 32
180
+ 3
181
+ 53
182
+ 6
183
+ 47
184
+ 7
185
+ 0
186
+ 11
187
+ I
188
+ 6
189
+ I
190
+ 0
191
+ I
192
+ -1
193
+ I
194
+ -1
195
+ n
196
+ p
197
+ 8
198
+ s
199
+ 46
200
+ doesn't run out of stack space on a really big
201
+ M
202
+ 1
203
+ n
204
+ n
205
+ x
206
+ 9
207
+ __block__
208
+ i
209
+ 38
210
+ 5
211
+ 53
212
+ 0
213
+ 44
214
+ 47
215
+ 1
216
+ 0
217
+ 14
218
+ 5
219
+ 7
220
+ 2
221
+ 60
222
+ 53
223
+ 3
224
+ 44
225
+ 47
226
+ 4
227
+ 1
228
+ 14
229
+ 5
230
+ 7
231
+ 5
232
+ 60
233
+ 53
234
+ 6
235
+ 44
236
+ 47
237
+ 4
238
+ 1
239
+ 14
240
+ 5
241
+ 53
242
+ 7
243
+ 44
244
+ 47
245
+ 8
246
+ 0
247
+ 11
248
+ I
249
+ 4
250
+ I
251
+ 0
252
+ I
253
+ -1
254
+ I
255
+ -1
256
+ n
257
+ p
258
+ 9
259
+ M
260
+ 1
261
+ n
262
+ n
263
+ x
264
+ 9
265
+ __block__
266
+ i
267
+ 12
268
+ 42
269
+ 0
270
+ 1
271
+ 74
272
+ 7
273
+ 2
274
+ 46
275
+ 3
276
+ 2
277
+ 35
278
+ 4
279
+ 11
280
+ I
281
+ 4
282
+ I
283
+ 0
284
+ I
285
+ -1
286
+ I
287
+ -1
288
+ n
289
+ p
290
+ 5
291
+ x
292
+ 7
293
+ Hamster
294
+ n
295
+ I
296
+ 2710
297
+ x
298
+ 8
299
+ interval
300
+ x
301
+ 9
302
+ @interval
303
+ p
304
+ 5
305
+ I
306
+ 0
307
+ I
308
+ b
309
+ I
310
+ 0
311
+ I
312
+ c
313
+ I
314
+ c
315
+ x
316
+ 68
317
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
318
+ p
319
+ 0
320
+ x
321
+ 6
322
+ before
323
+ s
324
+ 8
325
+ interval
326
+ M
327
+ 1
328
+ n
329
+ n
330
+ x
331
+ 9
332
+ __block__
333
+ i
334
+ 5
335
+ 36
336
+ 0
337
+ 35
338
+ 1
339
+ 11
340
+ I
341
+ 2
342
+ I
343
+ 0
344
+ I
345
+ -1
346
+ I
347
+ -1
348
+ n
349
+ p
350
+ 2
351
+ x
352
+ 9
353
+ @interval
354
+ x
355
+ 5
356
+ @list
357
+ p
358
+ 5
359
+ I
360
+ 0
361
+ I
362
+ f
363
+ I
364
+ 0
365
+ I
366
+ 10
367
+ I
368
+ 5
369
+ x
370
+ 68
371
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
372
+ p
373
+ 0
374
+ x
375
+ 2
376
+ it
377
+ s
378
+ 4
379
+ list
380
+ M
381
+ 1
382
+ n
383
+ n
384
+ x
385
+ 9
386
+ __block__
387
+ i
388
+ 15
389
+ 36
390
+ 0
391
+ 42
392
+ 1
393
+ 2
394
+ 45
395
+ 3
396
+ 53
397
+ 4
398
+ 47
399
+ 5
400
+ 1
401
+ 35
402
+ 6
403
+ 11
404
+ I
405
+ 4
406
+ I
407
+ 0
408
+ I
409
+ -1
410
+ I
411
+ -1
412
+ n
413
+ p
414
+ 7
415
+ x
416
+ 9
417
+ @interval
418
+ x
419
+ 7
420
+ Hamster
421
+ n
422
+ x
423
+ 4
424
+ list
425
+ M
426
+ 1
427
+ n
428
+ n
429
+ x
430
+ 9
431
+ __block__
432
+ i
433
+ 19
434
+ 55
435
+ 33
436
+ 34
437
+ 17
438
+ 0
439
+ 14
440
+ 34
441
+ 17
442
+ 1
443
+ 14
444
+ 14
445
+ 18
446
+ 0
447
+ 18
448
+ 1
449
+ 46
450
+ 0
451
+ 1
452
+ 11
453
+ I
454
+ 5
455
+ I
456
+ 2
457
+ I
458
+ 2
459
+ I
460
+ 2
461
+ n
462
+ p
463
+ 1
464
+ x
465
+ 4
466
+ cons
467
+ p
468
+ 3
469
+ I
470
+ 0
471
+ I
472
+ 14
473
+ I
474
+ 13
475
+ x
476
+ 68
477
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
478
+ p
479
+ 2
480
+ x
481
+ 4
482
+ list
483
+ x
484
+ 1
485
+ i
486
+ x
487
+ 6
488
+ reduce
489
+ x
490
+ 5
491
+ @list
492
+ p
493
+ 5
494
+ I
495
+ 0
496
+ I
497
+ 13
498
+ I
499
+ 0
500
+ I
501
+ 14
502
+ I
503
+ f
504
+ x
505
+ 68
506
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
507
+ p
508
+ 0
509
+ M
510
+ 1
511
+ n
512
+ n
513
+ x
514
+ 9
515
+ __block__
516
+ i
517
+ 8
518
+ 36
519
+ 0
520
+ 53
521
+ 1
522
+ 47
523
+ 2
524
+ 0
525
+ 11
526
+ I
527
+ 3
528
+ I
529
+ 0
530
+ I
531
+ -1
532
+ I
533
+ -1
534
+ n
535
+ p
536
+ 3
537
+ x
538
+ 5
539
+ @list
540
+ M
541
+ 1
542
+ n
543
+ n
544
+ x
545
+ 9
546
+ __block__
547
+ i
548
+ 2
549
+ 1
550
+ 11
551
+ I
552
+ 2
553
+ I
554
+ 0
555
+ I
556
+ -1
557
+ I
558
+ -1
559
+ n
560
+ p
561
+ 0
562
+ p
563
+ 3
564
+ I
565
+ 0
566
+ I
567
+ 18
568
+ I
569
+ 2
570
+ x
571
+ 68
572
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
573
+ p
574
+ 0
575
+ x
576
+ 4
577
+ each
578
+ p
579
+ 5
580
+ I
581
+ 0
582
+ I
583
+ 17
584
+ I
585
+ 0
586
+ I
587
+ 18
588
+ I
589
+ 8
590
+ x
591
+ 68
592
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
593
+ p
594
+ 0
595
+ x
596
+ 5
597
+ after
598
+ p
599
+ 11
600
+ I
601
+ 0
602
+ I
603
+ 9
604
+ I
605
+ 0
606
+ I
607
+ b
608
+ I
609
+ 8
610
+ I
611
+ f
612
+ I
613
+ 13
614
+ I
615
+ 13
616
+ I
617
+ 1e
618
+ I
619
+ 17
620
+ I
621
+ 26
622
+ x
623
+ 68
624
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
625
+ p
626
+ 0
627
+ x
628
+ 8
629
+ describe
630
+ s
631
+ 1
632
+ A
633
+ s
634
+ 1
635
+ B
636
+ s
637
+ 1
638
+ C
639
+ M
640
+ 1
641
+ n
642
+ n
643
+ x
644
+ 9
645
+ __block__
646
+ i
647
+ 23
648
+ 54
649
+ 17
650
+ 0
651
+ 14
652
+ 5
653
+ 18
654
+ 0
655
+ 45
656
+ 0
657
+ 44
658
+ 45
659
+ 1
660
+ 7
661
+ 2
662
+ 60
663
+ 59
664
+ 53
665
+ 3
666
+ 44
667
+ 47
668
+ 4
669
+ 1
670
+ 11
671
+ I
672
+ 5
673
+ I
674
+ 1
675
+ I
676
+ 1
677
+ I
678
+ 1
679
+ n
680
+ p
681
+ 5
682
+ x
683
+ 7
684
+ inspect
685
+ x
686
+ 4
687
+ to_s
688
+ s
689
+ 3
690
+ on
691
+ M
692
+ 1
693
+ n
694
+ n
695
+ x
696
+ 9
697
+ __block__
698
+ i
699
+ 30
700
+ 5
701
+ 53
702
+ 0
703
+ 44
704
+ 47
705
+ 1
706
+ 0
707
+ 14
708
+ 5
709
+ 7
710
+ 2
711
+ 60
712
+ 53
713
+ 3
714
+ 44
715
+ 47
716
+ 4
717
+ 1
718
+ 14
719
+ 5
720
+ 7
721
+ 5
722
+ 60
723
+ 53
724
+ 6
725
+ 44
726
+ 47
727
+ 4
728
+ 1
729
+ 11
730
+ I
731
+ 4
732
+ I
733
+ 0
734
+ I
735
+ -1
736
+ I
737
+ -1
738
+ n
739
+ p
740
+ 7
741
+ M
742
+ 1
743
+ n
744
+ n
745
+ x
746
+ 9
747
+ __block__
748
+ i
749
+ 14
750
+ 42
751
+ 0
752
+ 1
753
+ 19
754
+ 2
755
+ 0
756
+ 33
757
+ 1
758
+ 48
759
+ 2
760
+ 0
761
+ 35
762
+ 3
763
+ 11
764
+ I
765
+ 4
766
+ I
767
+ 0
768
+ I
769
+ -1
770
+ I
771
+ -1
772
+ n
773
+ p
774
+ 4
775
+ x
776
+ 7
777
+ Hamster
778
+ n
779
+ x
780
+ 4
781
+ list
782
+ x
783
+ 5
784
+ @list
785
+ p
786
+ 5
787
+ I
788
+ 0
789
+ I
790
+ 25
791
+ I
792
+ 0
793
+ I
794
+ 26
795
+ I
796
+ e
797
+ x
798
+ 68
799
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
800
+ p
801
+ 0
802
+ x
803
+ 6
804
+ before
805
+ s
806
+ 12
807
+ with a block
808
+ M
809
+ 1
810
+ n
811
+ n
812
+ x
813
+ 9
814
+ __block__
815
+ i
816
+ 22
817
+ 5
818
+ 7
819
+ 0
820
+ 60
821
+ 53
822
+ 1
823
+ 44
824
+ 47
825
+ 2
826
+ 1
827
+ 14
828
+ 5
829
+ 7
830
+ 3
831
+ 60
832
+ 53
833
+ 4
834
+ 44
835
+ 47
836
+ 2
837
+ 1
838
+ 11
839
+ I
840
+ 4
841
+ I
842
+ 0
843
+ I
844
+ -1
845
+ I
846
+ -1
847
+ n
848
+ p
849
+ 5
850
+ s
851
+ 32
852
+ iterates over the items in order
853
+ M
854
+ 1
855
+ n
856
+ n
857
+ x
858
+ 9
859
+ __block__
860
+ i
861
+ 23
862
+ 32
863
+ 0
864
+ 17
865
+ 0
866
+ 14
867
+ 36
868
+ 0
869
+ 53
870
+ 1
871
+ 47
872
+ 2
873
+ 0
874
+ 14
875
+ 18
876
+ 0
877
+ 45
878
+ 3
879
+ 19
880
+ 3
881
+ 0
882
+ 79
883
+ 4
884
+ 11
885
+ I
886
+ 4
887
+ I
888
+ 1
889
+ I
890
+ -1
891
+ I
892
+ -1
893
+ n
894
+ p
895
+ 5
896
+ x
897
+ 5
898
+ @list
899
+ M
900
+ 1
901
+ n
902
+ n
903
+ x
904
+ 9
905
+ __block__
906
+ i
907
+ 13
908
+ 54
909
+ 17
910
+ 0
911
+ 14
912
+ 19
913
+ 1
914
+ 0
915
+ 18
916
+ 0
917
+ 46
918
+ 0
919
+ 1
920
+ 11
921
+ I
922
+ 4
923
+ I
924
+ 1
925
+ I
926
+ 1
927
+ I
928
+ 1
929
+ n
930
+ p
931
+ 1
932
+ x
933
+ 2
934
+ <<
935
+ p
936
+ 3
937
+ I
938
+ 0
939
+ I
940
+ 2d
941
+ I
942
+ d
943
+ x
944
+ 68
945
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
946
+ p
947
+ 1
948
+ x
949
+ 5
950
+ value
951
+ x
952
+ 4
953
+ each
954
+ x
955
+ 6
956
+ should
957
+ x
958
+ 2
959
+ ==
960
+ p
961
+ 9
962
+ I
963
+ 0
964
+ I
965
+ 2b
966
+ I
967
+ 0
968
+ I
969
+ 2c
970
+ I
971
+ 5
972
+ I
973
+ 2d
974
+ I
975
+ d
976
+ I
977
+ 2e
978
+ I
979
+ 17
980
+ x
981
+ 68
982
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
983
+ p
984
+ 1
985
+ x
986
+ 5
987
+ items
988
+ x
989
+ 2
990
+ it
991
+ s
992
+ 11
993
+ returns nil
994
+ M
995
+ 1
996
+ n
997
+ n
998
+ x
999
+ 9
1000
+ __block__
1001
+ i
1002
+ 15
1003
+ 36
1004
+ 0
1005
+ 53
1006
+ 1
1007
+ 47
1008
+ 2
1009
+ 0
1010
+ 5
1011
+ 44
1012
+ 45
1013
+ 3
1014
+ 46
1015
+ 4
1016
+ 1
1017
+ 11
1018
+ I
1019
+ 3
1020
+ I
1021
+ 0
1022
+ I
1023
+ -1
1024
+ I
1025
+ -1
1026
+ n
1027
+ p
1028
+ 5
1029
+ x
1030
+ 5
1031
+ @list
1032
+ M
1033
+ 1
1034
+ n
1035
+ n
1036
+ x
1037
+ 9
1038
+ __block__
1039
+ i
1040
+ 2
1041
+ 1
1042
+ 11
1043
+ I
1044
+ 2
1045
+ I
1046
+ 0
1047
+ I
1048
+ -1
1049
+ I
1050
+ -1
1051
+ n
1052
+ p
1053
+ 0
1054
+ p
1055
+ 3
1056
+ I
1057
+ 0
1058
+ I
1059
+ 32
1060
+ I
1061
+ 2
1062
+ x
1063
+ 68
1064
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1065
+ p
1066
+ 0
1067
+ x
1068
+ 4
1069
+ each
1070
+ x
1071
+ 6
1072
+ be_nil
1073
+ x
1074
+ 6
1075
+ should
1076
+ p
1077
+ 5
1078
+ I
1079
+ 0
1080
+ I
1081
+ 31
1082
+ I
1083
+ 0
1084
+ I
1085
+ 32
1086
+ I
1087
+ f
1088
+ x
1089
+ 68
1090
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1091
+ p
1092
+ 0
1093
+ p
1094
+ 7
1095
+ I
1096
+ 0
1097
+ I
1098
+ 29
1099
+ I
1100
+ 0
1101
+ I
1102
+ 2b
1103
+ I
1104
+ b
1105
+ I
1106
+ 31
1107
+ I
1108
+ 16
1109
+ x
1110
+ 68
1111
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1112
+ p
1113
+ 0
1114
+ x
1115
+ 8
1116
+ describe
1117
+ s
1118
+ 15
1119
+ without a block
1120
+ M
1121
+ 1
1122
+ n
1123
+ n
1124
+ x
1125
+ 9
1126
+ __block__
1127
+ i
1128
+ 11
1129
+ 5
1130
+ 7
1131
+ 0
1132
+ 60
1133
+ 53
1134
+ 1
1135
+ 44
1136
+ 47
1137
+ 2
1138
+ 1
1139
+ 11
1140
+ I
1141
+ 4
1142
+ I
1143
+ 0
1144
+ I
1145
+ -1
1146
+ I
1147
+ -1
1148
+ n
1149
+ p
1150
+ 3
1151
+ s
1152
+ 12
1153
+ returns self
1154
+ M
1155
+ 1
1156
+ n
1157
+ n
1158
+ x
1159
+ 9
1160
+ __block__
1161
+ i
1162
+ 15
1163
+ 36
1164
+ 0
1165
+ 45
1166
+ 1
1167
+ 5
1168
+ 36
1169
+ 0
1170
+ 44
1171
+ 46
1172
+ 2
1173
+ 1
1174
+ 46
1175
+ 3
1176
+ 1
1177
+ 11
1178
+ I
1179
+ 4
1180
+ I
1181
+ 0
1182
+ I
1183
+ -1
1184
+ I
1185
+ -1
1186
+ n
1187
+ p
1188
+ 4
1189
+ x
1190
+ 5
1191
+ @list
1192
+ x
1193
+ 4
1194
+ each
1195
+ x
1196
+ 5
1197
+ equal
1198
+ x
1199
+ 6
1200
+ should
1201
+ p
1202
+ 5
1203
+ I
1204
+ 0
1205
+ I
1206
+ 39
1207
+ I
1208
+ 0
1209
+ I
1210
+ 3a
1211
+ I
1212
+ f
1213
+ x
1214
+ 68
1215
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1216
+ p
1217
+ 0
1218
+ x
1219
+ 2
1220
+ it
1221
+ p
1222
+ 5
1223
+ I
1224
+ 0
1225
+ I
1226
+ 37
1227
+ I
1228
+ 0
1229
+ I
1230
+ 39
1231
+ I
1232
+ b
1233
+ x
1234
+ 68
1235
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1236
+ p
1237
+ 0
1238
+ p
1239
+ 9
1240
+ I
1241
+ 0
1242
+ I
1243
+ 23
1244
+ I
1245
+ 0
1246
+ I
1247
+ 25
1248
+ I
1249
+ 8
1250
+ I
1251
+ 29
1252
+ I
1253
+ 13
1254
+ I
1255
+ 37
1256
+ I
1257
+ 1e
1258
+ x
1259
+ 68
1260
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1261
+ p
1262
+ 0
1263
+ x
1264
+ 8
1265
+ describe
1266
+ p
1267
+ 7
1268
+ I
1269
+ 0
1270
+ I
1271
+ 1e
1272
+ I
1273
+ 1
1274
+ I
1275
+ 21
1276
+ I
1277
+ 4
1278
+ I
1279
+ 23
1280
+ I
1281
+ 17
1282
+ x
1283
+ 68
1284
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1285
+ p
1286
+ 1
1287
+ x
1288
+ 6
1289
+ values
1290
+ x
1291
+ 4
1292
+ each
1293
+ p
1294
+ 11
1295
+ I
1296
+ 0
1297
+ I
1298
+ 7
1299
+ I
1300
+ 0
1301
+ I
1302
+ 9
1303
+ I
1304
+ b
1305
+ I
1306
+ 1e
1307
+ I
1308
+ d
1309
+ I
1310
+ 1f
1311
+ I
1312
+ 12
1313
+ I
1314
+ 20
1315
+ I
1316
+ 25
1317
+ x
1318
+ 68
1319
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1320
+ p
1321
+ 0
1322
+ x
1323
+ 8
1324
+ describe
1325
+ p
1326
+ 5
1327
+ I
1328
+ 0
1329
+ I
1330
+ 5
1331
+ I
1332
+ 0
1333
+ I
1334
+ 7
1335
+ I
1336
+ b
1337
+ x
1338
+ 68
1339
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1340
+ p
1341
+ 0
1342
+ x
1343
+ 8
1344
+ describe
1345
+ p
1346
+ 7
1347
+ I
1348
+ 0
1349
+ I
1350
+ 1
1351
+ I
1352
+ 1a
1353
+ I
1354
+ 3
1355
+ I
1356
+ 23
1357
+ I
1358
+ 5
1359
+ I
1360
+ 32
1361
+ x
1362
+ 68
1363
+ /Users/haruki_zaemon/Projects/hamster/spec/hamster/list/each_spec.rb
1364
+ p
1365
+ 0