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
@@ -8,13 +8,21 @@ describe Hamster::List do
8
8
 
9
9
  describe "##{method}" do
10
10
 
11
- describe "on a really big list" do
11
+ describe "doesn't run out of stack space on a really big" do
12
12
 
13
13
  before do
14
- @list = Hamster.interval(0, 10000)
14
+ @interval = Hamster.interval(0, 10000)
15
15
  end
16
16
 
17
- it "doesn't run out of stack space" do
17
+ it "stream" do
18
+ @list = @interval
19
+ end
20
+
21
+ it "list" do
22
+ @list = @interval.reduce(Hamster.list) { |list, i| list.cons(i) }
23
+ end
24
+
25
+ after do
18
26
  @list.send(method, nil)
19
27
  end
20
28
 
@@ -38,7 +46,7 @@ describe Hamster::List do
38
46
  @list = Hamster.list(*values)
39
47
  end
40
48
 
41
- it "returns #{expected}" do
49
+ it "returns #{expected.inspect}" do
42
50
  @list.send(method, item).should == expected
43
51
  end
44
52
 
@@ -0,0 +1,1173 @@
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
+ 12
116
+ 7
117
+ 0
118
+ 7
119
+ 1
120
+ 32
121
+ 2
122
+ 53
123
+ 2
124
+ 47
125
+ 3
126
+ 0
127
+ 11
128
+ I
129
+ 3
130
+ I
131
+ 0
132
+ I
133
+ -1
134
+ I
135
+ -1
136
+ n
137
+ p
138
+ 4
139
+ x
140
+ 8
141
+ include?
142
+ x
143
+ 7
144
+ member?
145
+ M
146
+ 1
147
+ n
148
+ n
149
+ x
150
+ 9
151
+ __block__
152
+ i
153
+ 21
154
+ 54
155
+ 17
156
+ 0
157
+ 14
158
+ 5
159
+ 18
160
+ 0
161
+ 44
162
+ 45
163
+ 0
164
+ 7
165
+ 1
166
+ 60
167
+ 59
168
+ 53
169
+ 2
170
+ 44
171
+ 47
172
+ 3
173
+ 1
174
+ 11
175
+ I
176
+ 5
177
+ I
178
+ 1
179
+ I
180
+ 1
181
+ I
182
+ 1
183
+ n
184
+ p
185
+ 4
186
+ x
187
+ 4
188
+ to_s
189
+ s
190
+ 1
191
+ #
192
+ M
193
+ 1
194
+ n
195
+ n
196
+ x
197
+ 9
198
+ __block__
199
+ i
200
+ 122
201
+ 5
202
+ 7
203
+ 0
204
+ 60
205
+ 53
206
+ 1
207
+ 44
208
+ 47
209
+ 2
210
+ 1
211
+ 14
212
+ 32
213
+ 0
214
+ 7
215
+ 3
216
+ 60
217
+ 3
218
+ 32
219
+ 3
220
+ 32
221
+ 0
222
+ 1
223
+ 3
224
+ 32
225
+ 3
226
+ 7
227
+ 3
228
+ 60
229
+ 32
230
+ 1
231
+ 7
232
+ 3
233
+ 60
234
+ 2
235
+ 32
236
+ 3
237
+ 7
238
+ 3
239
+ 60
240
+ 32
241
+ 1
242
+ 7
243
+ 4
244
+ 60
245
+ 3
246
+ 32
247
+ 3
248
+ 7
249
+ 3
250
+ 60
251
+ 32
252
+ 1
253
+ 1
254
+ 3
255
+ 32
256
+ 3
257
+ 7
258
+ 3
259
+ 60
260
+ 7
261
+ 4
262
+ 60
263
+ 1
264
+ 32
265
+ 3
266
+ 7
267
+ 3
268
+ 60
269
+ 2
270
+ 32
271
+ 3
272
+ 7
273
+ 3
274
+ 60
275
+ 7
276
+ 4
277
+ 60
278
+ 1
279
+ 32
280
+ 3
281
+ 7
282
+ 4
283
+ 60
284
+ 2
285
+ 32
286
+ 3
287
+ 7
288
+ 3
289
+ 60
290
+ 7
291
+ 4
292
+ 60
293
+ 1
294
+ 32
295
+ 3
296
+ 1
297
+ 2
298
+ 32
299
+ 3
300
+ 7
301
+ 3
302
+ 60
303
+ 7
304
+ 4
305
+ 60
306
+ 1
307
+ 32
308
+ 3
309
+ 7
310
+ 5
311
+ 60
312
+ 3
313
+ 32
314
+ 3
315
+ 32
316
+ 9
317
+ 53
318
+ 6
319
+ 47
320
+ 7
321
+ 0
322
+ 11
323
+ I
324
+ c
325
+ I
326
+ 0
327
+ I
328
+ -1
329
+ I
330
+ -1
331
+ n
332
+ p
333
+ 8
334
+ s
335
+ 46
336
+ doesn't run out of stack space on a really big
337
+ M
338
+ 1
339
+ n
340
+ n
341
+ x
342
+ 9
343
+ __block__
344
+ i
345
+ 38
346
+ 5
347
+ 53
348
+ 0
349
+ 44
350
+ 47
351
+ 1
352
+ 0
353
+ 14
354
+ 5
355
+ 7
356
+ 2
357
+ 60
358
+ 53
359
+ 3
360
+ 44
361
+ 47
362
+ 4
363
+ 1
364
+ 14
365
+ 5
366
+ 7
367
+ 5
368
+ 60
369
+ 53
370
+ 6
371
+ 44
372
+ 47
373
+ 4
374
+ 1
375
+ 14
376
+ 5
377
+ 53
378
+ 7
379
+ 44
380
+ 47
381
+ 8
382
+ 0
383
+ 11
384
+ I
385
+ 4
386
+ I
387
+ 0
388
+ I
389
+ -1
390
+ I
391
+ -1
392
+ n
393
+ p
394
+ 9
395
+ M
396
+ 1
397
+ n
398
+ n
399
+ x
400
+ 9
401
+ __block__
402
+ i
403
+ 12
404
+ 42
405
+ 0
406
+ 1
407
+ 74
408
+ 7
409
+ 2
410
+ 46
411
+ 3
412
+ 2
413
+ 35
414
+ 4
415
+ 11
416
+ I
417
+ 4
418
+ I
419
+ 0
420
+ I
421
+ -1
422
+ I
423
+ -1
424
+ n
425
+ p
426
+ 5
427
+ x
428
+ 7
429
+ Hamster
430
+ n
431
+ I
432
+ 2710
433
+ x
434
+ 8
435
+ interval
436
+ x
437
+ 9
438
+ @interval
439
+ p
440
+ 5
441
+ I
442
+ 0
443
+ I
444
+ d
445
+ I
446
+ 0
447
+ I
448
+ e
449
+ I
450
+ c
451
+ x
452
+ 35
453
+ ./spec/hamster/list/include_spec.rb
454
+ p
455
+ 0
456
+ x
457
+ 6
458
+ before
459
+ s
460
+ 8
461
+ interval
462
+ M
463
+ 1
464
+ n
465
+ n
466
+ x
467
+ 9
468
+ __block__
469
+ i
470
+ 5
471
+ 36
472
+ 0
473
+ 35
474
+ 1
475
+ 11
476
+ I
477
+ 2
478
+ I
479
+ 0
480
+ I
481
+ -1
482
+ I
483
+ -1
484
+ n
485
+ p
486
+ 2
487
+ x
488
+ 9
489
+ @interval
490
+ x
491
+ 5
492
+ @list
493
+ p
494
+ 5
495
+ I
496
+ 0
497
+ I
498
+ 11
499
+ I
500
+ 0
501
+ I
502
+ 12
503
+ I
504
+ 5
505
+ x
506
+ 35
507
+ ./spec/hamster/list/include_spec.rb
508
+ p
509
+ 0
510
+ x
511
+ 2
512
+ it
513
+ s
514
+ 4
515
+ list
516
+ M
517
+ 1
518
+ n
519
+ n
520
+ x
521
+ 9
522
+ __block__
523
+ i
524
+ 15
525
+ 36
526
+ 0
527
+ 42
528
+ 1
529
+ 2
530
+ 45
531
+ 3
532
+ 53
533
+ 4
534
+ 47
535
+ 5
536
+ 1
537
+ 35
538
+ 6
539
+ 11
540
+ I
541
+ 4
542
+ I
543
+ 0
544
+ I
545
+ -1
546
+ I
547
+ -1
548
+ n
549
+ p
550
+ 7
551
+ x
552
+ 9
553
+ @interval
554
+ x
555
+ 7
556
+ Hamster
557
+ n
558
+ x
559
+ 4
560
+ list
561
+ M
562
+ 1
563
+ n
564
+ n
565
+ x
566
+ 9
567
+ __block__
568
+ i
569
+ 19
570
+ 55
571
+ 33
572
+ 34
573
+ 17
574
+ 0
575
+ 14
576
+ 34
577
+ 17
578
+ 1
579
+ 14
580
+ 14
581
+ 18
582
+ 0
583
+ 18
584
+ 1
585
+ 46
586
+ 0
587
+ 1
588
+ 11
589
+ I
590
+ 5
591
+ I
592
+ 2
593
+ I
594
+ 2
595
+ I
596
+ 2
597
+ n
598
+ p
599
+ 1
600
+ x
601
+ 4
602
+ cons
603
+ p
604
+ 3
605
+ I
606
+ 0
607
+ I
608
+ 16
609
+ I
610
+ 13
611
+ x
612
+ 35
613
+ ./spec/hamster/list/include_spec.rb
614
+ p
615
+ 2
616
+ x
617
+ 4
618
+ list
619
+ x
620
+ 1
621
+ i
622
+ x
623
+ 6
624
+ reduce
625
+ x
626
+ 5
627
+ @list
628
+ p
629
+ 5
630
+ I
631
+ 0
632
+ I
633
+ 15
634
+ I
635
+ 0
636
+ I
637
+ 16
638
+ I
639
+ f
640
+ x
641
+ 35
642
+ ./spec/hamster/list/include_spec.rb
643
+ p
644
+ 0
645
+ M
646
+ 1
647
+ n
648
+ n
649
+ x
650
+ 9
651
+ __block__
652
+ i
653
+ 10
654
+ 36
655
+ 0
656
+ 19
657
+ 3
658
+ 0
659
+ 1
660
+ 46
661
+ 1
662
+ 2
663
+ 11
664
+ I
665
+ 4
666
+ I
667
+ 0
668
+ I
669
+ -1
670
+ I
671
+ -1
672
+ n
673
+ p
674
+ 2
675
+ x
676
+ 5
677
+ @list
678
+ x
679
+ 4
680
+ send
681
+ p
682
+ 5
683
+ I
684
+ 0
685
+ I
686
+ 19
687
+ I
688
+ 0
689
+ I
690
+ 1a
691
+ I
692
+ a
693
+ x
694
+ 35
695
+ ./spec/hamster/list/include_spec.rb
696
+ p
697
+ 0
698
+ x
699
+ 5
700
+ after
701
+ p
702
+ 11
703
+ I
704
+ 0
705
+ I
706
+ b
707
+ I
708
+ 0
709
+ I
710
+ d
711
+ I
712
+ 8
713
+ I
714
+ 11
715
+ I
716
+ 13
717
+ I
718
+ 15
719
+ I
720
+ 1e
721
+ I
722
+ 19
723
+ I
724
+ 26
725
+ x
726
+ 35
727
+ ./spec/hamster/list/include_spec.rb
728
+ p
729
+ 0
730
+ x
731
+ 8
732
+ describe
733
+ s
734
+ 1
735
+ A
736
+ s
737
+ 1
738
+ B
739
+ s
740
+ 1
741
+ C
742
+ M
743
+ 1
744
+ n
745
+ n
746
+ x
747
+ 9
748
+ __block__
749
+ i
750
+ 34
751
+ 55
752
+ 33
753
+ 34
754
+ 17
755
+ 0
756
+ 14
757
+ 34
758
+ 17
759
+ 1
760
+ 14
761
+ 34
762
+ 17
763
+ 2
764
+ 14
765
+ 14
766
+ 5
767
+ 18
768
+ 0
769
+ 45
770
+ 0
771
+ 44
772
+ 45
773
+ 1
774
+ 7
775
+ 2
776
+ 60
777
+ 59
778
+ 53
779
+ 3
780
+ 44
781
+ 47
782
+ 4
783
+ 1
784
+ 11
785
+ I
786
+ 7
787
+ I
788
+ 3
789
+ I
790
+ 3
791
+ I
792
+ 3
793
+ n
794
+ p
795
+ 5
796
+ x
797
+ 7
798
+ inspect
799
+ x
800
+ 4
801
+ to_s
802
+ s
803
+ 3
804
+ on
805
+ M
806
+ 1
807
+ n
808
+ n
809
+ x
810
+ 9
811
+ __block__
812
+ i
813
+ 28
814
+ 5
815
+ 53
816
+ 0
817
+ 44
818
+ 47
819
+ 1
820
+ 0
821
+ 14
822
+ 5
823
+ 19
824
+ 1
825
+ 2
826
+ 45
827
+ 2
828
+ 44
829
+ 45
830
+ 3
831
+ 7
832
+ 4
833
+ 60
834
+ 59
835
+ 53
836
+ 5
837
+ 44
838
+ 47
839
+ 6
840
+ 1
841
+ 11
842
+ I
843
+ 4
844
+ I
845
+ 0
846
+ I
847
+ -1
848
+ I
849
+ -1
850
+ n
851
+ p
852
+ 7
853
+ M
854
+ 1
855
+ n
856
+ n
857
+ x
858
+ 9
859
+ __block__
860
+ i
861
+ 14
862
+ 42
863
+ 0
864
+ 1
865
+ 19
866
+ 2
867
+ 0
868
+ 33
869
+ 1
870
+ 48
871
+ 2
872
+ 0
873
+ 35
874
+ 3
875
+ 11
876
+ I
877
+ 4
878
+ I
879
+ 0
880
+ I
881
+ -1
882
+ I
883
+ -1
884
+ n
885
+ p
886
+ 4
887
+ x
888
+ 7
889
+ Hamster
890
+ n
891
+ x
892
+ 4
893
+ list
894
+ x
895
+ 5
896
+ @list
897
+ p
898
+ 5
899
+ I
900
+ 0
901
+ I
902
+ 2d
903
+ I
904
+ 0
905
+ I
906
+ 2e
907
+ I
908
+ e
909
+ x
910
+ 35
911
+ ./spec/hamster/list/include_spec.rb
912
+ p
913
+ 0
914
+ x
915
+ 6
916
+ before
917
+ x
918
+ 7
919
+ inspect
920
+ x
921
+ 4
922
+ to_s
923
+ s
924
+ 8
925
+ returns
926
+ M
927
+ 1
928
+ n
929
+ n
930
+ x
931
+ 9
932
+ __block__
933
+ i
934
+ 19
935
+ 36
936
+ 0
937
+ 19
938
+ 4
939
+ 0
940
+ 19
941
+ 2
942
+ 1
943
+ 46
944
+ 1
945
+ 2
946
+ 45
947
+ 2
948
+ 19
949
+ 2
950
+ 2
951
+ 79
952
+ 3
953
+ 11
954
+ I
955
+ 4
956
+ I
957
+ 0
958
+ I
959
+ -1
960
+ I
961
+ -1
962
+ n
963
+ p
964
+ 4
965
+ x
966
+ 5
967
+ @list
968
+ x
969
+ 4
970
+ send
971
+ x
972
+ 6
973
+ should
974
+ x
975
+ 2
976
+ ==
977
+ p
978
+ 5
979
+ I
980
+ 0
981
+ I
982
+ 31
983
+ I
984
+ 0
985
+ I
986
+ 32
987
+ I
988
+ 13
989
+ x
990
+ 35
991
+ ./spec/hamster/list/include_spec.rb
992
+ p
993
+ 0
994
+ x
995
+ 2
996
+ it
997
+ p
998
+ 7
999
+ I
1000
+ 0
1001
+ I
1002
+ 2b
1003
+ I
1004
+ 0
1005
+ I
1006
+ 2d
1007
+ I
1008
+ 8
1009
+ I
1010
+ 31
1011
+ I
1012
+ 1c
1013
+ x
1014
+ 35
1015
+ ./spec/hamster/list/include_spec.rb
1016
+ p
1017
+ 0
1018
+ x
1019
+ 8
1020
+ describe
1021
+ p
1022
+ 7
1023
+ I
1024
+ 0
1025
+ I
1026
+ 20
1027
+ I
1028
+ 3
1029
+ I
1030
+ 29
1031
+ I
1032
+ f
1033
+ I
1034
+ 2b
1035
+ I
1036
+ 22
1037
+ x
1038
+ 35
1039
+ ./spec/hamster/list/include_spec.rb
1040
+ p
1041
+ 3
1042
+ x
1043
+ 6
1044
+ values
1045
+ x
1046
+ 4
1047
+ item
1048
+ x
1049
+ 8
1050
+ expected
1051
+ x
1052
+ 4
1053
+ each
1054
+ p
1055
+ 23
1056
+ I
1057
+ 0
1058
+ I
1059
+ 9
1060
+ I
1061
+ 0
1062
+ I
1063
+ b
1064
+ I
1065
+ b
1066
+ I
1067
+ 20
1068
+ I
1069
+ 13
1070
+ I
1071
+ 21
1072
+ I
1073
+ 19
1074
+ I
1075
+ 22
1076
+ I
1077
+ 24
1078
+ I
1079
+ 23
1080
+ I
1081
+ 2f
1082
+ I
1083
+ 24
1084
+ I
1085
+ 38
1086
+ I
1087
+ 25
1088
+ I
1089
+ 47
1090
+ I
1091
+ 26
1092
+ I
1093
+ 56
1094
+ I
1095
+ 27
1096
+ I
1097
+ 63
1098
+ I
1099
+ 28
1100
+ I
1101
+ 7a
1102
+ x
1103
+ 35
1104
+ ./spec/hamster/list/include_spec.rb
1105
+ p
1106
+ 0
1107
+ x
1108
+ 8
1109
+ describe
1110
+ p
1111
+ 5
1112
+ I
1113
+ 0
1114
+ I
1115
+ 7
1116
+ I
1117
+ 4
1118
+ I
1119
+ 9
1120
+ I
1121
+ 15
1122
+ x
1123
+ 35
1124
+ ./spec/hamster/list/include_spec.rb
1125
+ p
1126
+ 1
1127
+ x
1128
+ 6
1129
+ method
1130
+ x
1131
+ 4
1132
+ each
1133
+ p
1134
+ 5
1135
+ I
1136
+ 0
1137
+ I
1138
+ 5
1139
+ I
1140
+ 0
1141
+ I
1142
+ 7
1143
+ I
1144
+ c
1145
+ x
1146
+ 35
1147
+ ./spec/hamster/list/include_spec.rb
1148
+ p
1149
+ 0
1150
+ x
1151
+ 8
1152
+ describe
1153
+ p
1154
+ 7
1155
+ I
1156
+ 0
1157
+ I
1158
+ 1
1159
+ I
1160
+ 1a
1161
+ I
1162
+ 3
1163
+ I
1164
+ 23
1165
+ I
1166
+ 5
1167
+ I
1168
+ 32
1169
+ x
1170
+ 35
1171
+ ./spec/hamster/list/include_spec.rb
1172
+ p
1173
+ 0