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
@@ -0,0 +1,1454 @@
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/hash
100
+ x
101
+ 7
102
+ Hamster
103
+ n
104
+ x
105
+ 4
106
+ Hash
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
+ 3
141
+ map
142
+ x
143
+ 7
144
+ collect
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
+ 22
201
+ 5
202
+ 7
203
+ 0
204
+ 60
205
+ 53
206
+ 1
207
+ 44
208
+ 47
209
+ 2
210
+ 1
211
+ 14
212
+ 5
213
+ 7
214
+ 3
215
+ 60
216
+ 53
217
+ 4
218
+ 44
219
+ 47
220
+ 2
221
+ 1
222
+ 11
223
+ I
224
+ 4
225
+ I
226
+ 0
227
+ I
228
+ -1
229
+ I
230
+ -1
231
+ n
232
+ p
233
+ 5
234
+ s
235
+ 10
236
+ when empty
237
+ M
238
+ 1
239
+ n
240
+ n
241
+ x
242
+ 9
243
+ __block__
244
+ i
245
+ 19
246
+ 5
247
+ 53
248
+ 0
249
+ 44
250
+ 47
251
+ 1
252
+ 0
253
+ 14
254
+ 5
255
+ 7
256
+ 2
257
+ 60
258
+ 53
259
+ 3
260
+ 44
261
+ 47
262
+ 4
263
+ 1
264
+ 11
265
+ I
266
+ 4
267
+ I
268
+ 0
269
+ I
270
+ -1
271
+ I
272
+ -1
273
+ n
274
+ p
275
+ 5
276
+ M
277
+ 1
278
+ n
279
+ n
280
+ x
281
+ 9
282
+ __block__
283
+ i
284
+ 21
285
+ 42
286
+ 0
287
+ 1
288
+ 45
289
+ 2
290
+ 35
291
+ 3
292
+ 14
293
+ 36
294
+ 3
295
+ 19
296
+ 3
297
+ 0
298
+ 53
299
+ 4
300
+ 47
301
+ 5
302
+ 1
303
+ 35
304
+ 6
305
+ 11
306
+ I
307
+ 4
308
+ I
309
+ 0
310
+ I
311
+ -1
312
+ I
313
+ -1
314
+ n
315
+ p
316
+ 7
317
+ x
318
+ 7
319
+ Hamster
320
+ n
321
+ x
322
+ 4
323
+ hash
324
+ x
325
+ 9
326
+ @original
327
+ M
328
+ 1
329
+ n
330
+ n
331
+ x
332
+ 9
333
+ __block__
334
+ i
335
+ 2
336
+ 1
337
+ 11
338
+ I
339
+ 2
340
+ I
341
+ 0
342
+ I
343
+ -1
344
+ I
345
+ -1
346
+ n
347
+ p
348
+ 0
349
+ p
350
+ 3
351
+ I
352
+ 0
353
+ I
354
+ f
355
+ I
356
+ 2
357
+ x
358
+ 31
359
+ ./spec/hamster/hash/map_spec.rb
360
+ p
361
+ 0
362
+ x
363
+ 4
364
+ send
365
+ x
366
+ 7
367
+ @mapped
368
+ p
369
+ 7
370
+ I
371
+ 0
372
+ I
373
+ d
374
+ I
375
+ 0
376
+ I
377
+ e
378
+ I
379
+ 8
380
+ I
381
+ f
382
+ I
383
+ 15
384
+ x
385
+ 31
386
+ ./spec/hamster/hash/map_spec.rb
387
+ p
388
+ 0
389
+ x
390
+ 6
391
+ before
392
+ s
393
+ 12
394
+ returns self
395
+ M
396
+ 1
397
+ n
398
+ n
399
+ x
400
+ 9
401
+ __block__
402
+ i
403
+ 13
404
+ 36
405
+ 0
406
+ 5
407
+ 36
408
+ 1
409
+ 44
410
+ 46
411
+ 2
412
+ 1
413
+ 46
414
+ 3
415
+ 1
416
+ 11
417
+ I
418
+ 4
419
+ I
420
+ 0
421
+ I
422
+ -1
423
+ I
424
+ -1
425
+ n
426
+ p
427
+ 4
428
+ x
429
+ 7
430
+ @mapped
431
+ x
432
+ 9
433
+ @original
434
+ x
435
+ 5
436
+ equal
437
+ x
438
+ 6
439
+ should
440
+ p
441
+ 5
442
+ I
443
+ 0
444
+ I
445
+ 12
446
+ I
447
+ 0
448
+ I
449
+ 13
450
+ I
451
+ d
452
+ x
453
+ 31
454
+ ./spec/hamster/hash/map_spec.rb
455
+ p
456
+ 0
457
+ x
458
+ 2
459
+ it
460
+ p
461
+ 7
462
+ I
463
+ 0
464
+ I
465
+ b
466
+ I
467
+ 0
468
+ I
469
+ d
470
+ I
471
+ 8
472
+ I
473
+ 12
474
+ I
475
+ 13
476
+ x
477
+ 31
478
+ ./spec/hamster/hash/map_spec.rb
479
+ p
480
+ 0
481
+ x
482
+ 8
483
+ describe
484
+ s
485
+ 14
486
+ when not empty
487
+ M
488
+ 1
489
+ n
490
+ n
491
+ x
492
+ 9
493
+ __block__
494
+ i
495
+ 30
496
+ 5
497
+ 53
498
+ 0
499
+ 44
500
+ 47
501
+ 1
502
+ 0
503
+ 14
504
+ 5
505
+ 7
506
+ 2
507
+ 60
508
+ 53
509
+ 3
510
+ 44
511
+ 47
512
+ 4
513
+ 1
514
+ 14
515
+ 5
516
+ 7
517
+ 5
518
+ 60
519
+ 53
520
+ 6
521
+ 44
522
+ 47
523
+ 4
524
+ 1
525
+ 11
526
+ I
527
+ 4
528
+ I
529
+ 0
530
+ I
531
+ -1
532
+ I
533
+ -1
534
+ n
535
+ p
536
+ 7
537
+ M
538
+ 1
539
+ n
540
+ n
541
+ x
542
+ 9
543
+ __block__
544
+ i
545
+ 50
546
+ 42
547
+ 0
548
+ 1
549
+ 41
550
+ 40
551
+ 2
552
+ 4
553
+ 3
554
+ 46
555
+ 3
556
+ 1
557
+ 13
558
+ 7
559
+ 4
560
+ 60
561
+ 7
562
+ 5
563
+ 60
564
+ 46
565
+ 6
566
+ 2
567
+ 14
568
+ 13
569
+ 7
570
+ 7
571
+ 60
572
+ 7
573
+ 8
574
+ 60
575
+ 46
576
+ 6
577
+ 2
578
+ 14
579
+ 13
580
+ 7
581
+ 9
582
+ 60
583
+ 7
584
+ 10
585
+ 60
586
+ 46
587
+ 6
588
+ 2
589
+ 14
590
+ 46
591
+ 11
592
+ 1
593
+ 35
594
+ 12
595
+ 11
596
+ I
597
+ 6
598
+ I
599
+ 0
600
+ I
601
+ -1
602
+ I
603
+ -1
604
+ n
605
+ p
606
+ 13
607
+ x
608
+ 7
609
+ Hamster
610
+ n
611
+ x
612
+ 4
613
+ Hash
614
+ x
615
+ 16
616
+ new_from_literal
617
+ s
618
+ 1
619
+ A
620
+ s
621
+ 3
622
+ aye
623
+ x
624
+ 3
625
+ []=
626
+ s
627
+ 1
628
+ B
629
+ s
630
+ 3
631
+ bee
632
+ s
633
+ 1
634
+ C
635
+ s
636
+ 3
637
+ see
638
+ x
639
+ 4
640
+ hash
641
+ x
642
+ 9
643
+ @original
644
+ p
645
+ 5
646
+ I
647
+ 0
648
+ I
649
+ 1a
650
+ I
651
+ 0
652
+ I
653
+ 1b
654
+ I
655
+ 32
656
+ x
657
+ 31
658
+ ./spec/hamster/hash/map_spec.rb
659
+ p
660
+ 0
661
+ x
662
+ 6
663
+ before
664
+ s
665
+ 12
666
+ with a block
667
+ M
668
+ 1
669
+ n
670
+ n
671
+ x
672
+ 9
673
+ __block__
674
+ i
675
+ 30
676
+ 5
677
+ 53
678
+ 0
679
+ 44
680
+ 47
681
+ 1
682
+ 0
683
+ 14
684
+ 5
685
+ 7
686
+ 2
687
+ 60
688
+ 53
689
+ 3
690
+ 44
691
+ 47
692
+ 4
693
+ 1
694
+ 14
695
+ 5
696
+ 7
697
+ 5
698
+ 60
699
+ 53
700
+ 6
701
+ 44
702
+ 47
703
+ 4
704
+ 1
705
+ 11
706
+ I
707
+ 4
708
+ I
709
+ 0
710
+ I
711
+ -1
712
+ I
713
+ -1
714
+ n
715
+ p
716
+ 7
717
+ M
718
+ 1
719
+ n
720
+ n
721
+ x
722
+ 9
723
+ __block__
724
+ i
725
+ 13
726
+ 36
727
+ 0
728
+ 19
729
+ 4
730
+ 0
731
+ 53
732
+ 1
733
+ 47
734
+ 2
735
+ 1
736
+ 35
737
+ 3
738
+ 11
739
+ I
740
+ 4
741
+ I
742
+ 0
743
+ I
744
+ -1
745
+ I
746
+ -1
747
+ n
748
+ p
749
+ 4
750
+ x
751
+ 9
752
+ @original
753
+ M
754
+ 1
755
+ n
756
+ n
757
+ x
758
+ 9
759
+ __block__
760
+ i
761
+ 22
762
+ 55
763
+ 33
764
+ 34
765
+ 17
766
+ 0
767
+ 14
768
+ 34
769
+ 17
770
+ 1
771
+ 14
772
+ 14
773
+ 18
774
+ 0
775
+ 45
776
+ 0
777
+ 18
778
+ 1
779
+ 45
780
+ 1
781
+ 32
782
+ 2
783
+ 11
784
+ I
785
+ 5
786
+ I
787
+ 2
788
+ I
789
+ 2
790
+ I
791
+ 2
792
+ n
793
+ p
794
+ 2
795
+ x
796
+ 8
797
+ downcase
798
+ x
799
+ 6
800
+ upcase
801
+ p
802
+ 3
803
+ I
804
+ 0
805
+ I
806
+ 21
807
+ I
808
+ 16
809
+ x
810
+ 31
811
+ ./spec/hamster/hash/map_spec.rb
812
+ p
813
+ 2
814
+ x
815
+ 3
816
+ key
817
+ x
818
+ 5
819
+ value
820
+ x
821
+ 4
822
+ send
823
+ x
824
+ 7
825
+ @mapped
826
+ p
827
+ 5
828
+ I
829
+ 0
830
+ I
831
+ 20
832
+ I
833
+ 0
834
+ I
835
+ 21
836
+ I
837
+ d
838
+ x
839
+ 31
840
+ ./spec/hamster/hash/map_spec.rb
841
+ p
842
+ 0
843
+ x
844
+ 6
845
+ before
846
+ s
847
+ 29
848
+ preserves the original values
849
+ M
850
+ 1
851
+ n
852
+ n
853
+ x
854
+ 9
855
+ __block__
856
+ i
857
+ 54
858
+ 36
859
+ 0
860
+ 45
861
+ 1
862
+ 42
863
+ 2
864
+ 3
865
+ 41
866
+ 40
867
+ 4
868
+ 4
869
+ 3
870
+ 46
871
+ 5
872
+ 1
873
+ 13
874
+ 7
875
+ 6
876
+ 60
877
+ 7
878
+ 7
879
+ 60
880
+ 46
881
+ 8
882
+ 2
883
+ 14
884
+ 13
885
+ 7
886
+ 9
887
+ 60
888
+ 7
889
+ 10
890
+ 60
891
+ 46
892
+ 8
893
+ 2
894
+ 14
895
+ 13
896
+ 7
897
+ 11
898
+ 60
899
+ 7
900
+ 12
901
+ 60
902
+ 46
903
+ 8
904
+ 2
905
+ 14
906
+ 46
907
+ 13
908
+ 1
909
+ 79
910
+ 14
911
+ 11
912
+ I
913
+ 7
914
+ I
915
+ 0
916
+ I
917
+ -1
918
+ I
919
+ -1
920
+ n
921
+ p
922
+ 15
923
+ x
924
+ 9
925
+ @original
926
+ x
927
+ 6
928
+ should
929
+ x
930
+ 7
931
+ Hamster
932
+ n
933
+ x
934
+ 4
935
+ Hash
936
+ x
937
+ 16
938
+ new_from_literal
939
+ s
940
+ 1
941
+ A
942
+ s
943
+ 3
944
+ aye
945
+ x
946
+ 3
947
+ []=
948
+ s
949
+ 1
950
+ B
951
+ s
952
+ 3
953
+ bee
954
+ s
955
+ 1
956
+ C
957
+ s
958
+ 3
959
+ see
960
+ x
961
+ 4
962
+ hash
963
+ x
964
+ 2
965
+ ==
966
+ p
967
+ 5
968
+ I
969
+ 0
970
+ I
971
+ 24
972
+ I
973
+ 0
974
+ I
975
+ 25
976
+ I
977
+ 36
978
+ x
979
+ 31
980
+ ./spec/hamster/hash/map_spec.rb
981
+ p
982
+ 0
983
+ x
984
+ 2
985
+ it
986
+ s
987
+ 41
988
+ returns a new hash with the mapped values
989
+ M
990
+ 1
991
+ n
992
+ n
993
+ x
994
+ 9
995
+ __block__
996
+ i
997
+ 54
998
+ 36
999
+ 0
1000
+ 45
1001
+ 1
1002
+ 42
1003
+ 2
1004
+ 3
1005
+ 41
1006
+ 40
1007
+ 4
1008
+ 4
1009
+ 3
1010
+ 46
1011
+ 5
1012
+ 1
1013
+ 13
1014
+ 7
1015
+ 6
1016
+ 60
1017
+ 7
1018
+ 7
1019
+ 60
1020
+ 46
1021
+ 8
1022
+ 2
1023
+ 14
1024
+ 13
1025
+ 7
1026
+ 9
1027
+ 60
1028
+ 7
1029
+ 10
1030
+ 60
1031
+ 46
1032
+ 8
1033
+ 2
1034
+ 14
1035
+ 13
1036
+ 7
1037
+ 11
1038
+ 60
1039
+ 7
1040
+ 12
1041
+ 60
1042
+ 46
1043
+ 8
1044
+ 2
1045
+ 14
1046
+ 46
1047
+ 13
1048
+ 1
1049
+ 79
1050
+ 14
1051
+ 11
1052
+ I
1053
+ 7
1054
+ I
1055
+ 0
1056
+ I
1057
+ -1
1058
+ I
1059
+ -1
1060
+ n
1061
+ p
1062
+ 15
1063
+ x
1064
+ 7
1065
+ @mapped
1066
+ x
1067
+ 6
1068
+ should
1069
+ x
1070
+ 7
1071
+ Hamster
1072
+ n
1073
+ x
1074
+ 4
1075
+ Hash
1076
+ x
1077
+ 16
1078
+ new_from_literal
1079
+ s
1080
+ 1
1081
+ a
1082
+ s
1083
+ 3
1084
+ AYE
1085
+ x
1086
+ 3
1087
+ []=
1088
+ s
1089
+ 1
1090
+ b
1091
+ s
1092
+ 3
1093
+ BEE
1094
+ s
1095
+ 1
1096
+ c
1097
+ s
1098
+ 3
1099
+ SEE
1100
+ x
1101
+ 4
1102
+ hash
1103
+ x
1104
+ 2
1105
+ ==
1106
+ p
1107
+ 5
1108
+ I
1109
+ 0
1110
+ I
1111
+ 28
1112
+ I
1113
+ 0
1114
+ I
1115
+ 29
1116
+ I
1117
+ 36
1118
+ x
1119
+ 31
1120
+ ./spec/hamster/hash/map_spec.rb
1121
+ p
1122
+ 0
1123
+ p
1124
+ 9
1125
+ I
1126
+ 0
1127
+ I
1128
+ 1e
1129
+ I
1130
+ 0
1131
+ I
1132
+ 20
1133
+ I
1134
+ 8
1135
+ I
1136
+ 24
1137
+ I
1138
+ 13
1139
+ I
1140
+ 28
1141
+ I
1142
+ 1e
1143
+ x
1144
+ 31
1145
+ ./spec/hamster/hash/map_spec.rb
1146
+ p
1147
+ 0
1148
+ x
1149
+ 8
1150
+ describe
1151
+ s
1152
+ 13
1153
+ with no block
1154
+ M
1155
+ 1
1156
+ n
1157
+ n
1158
+ x
1159
+ 9
1160
+ __block__
1161
+ i
1162
+ 19
1163
+ 5
1164
+ 53
1165
+ 0
1166
+ 44
1167
+ 47
1168
+ 1
1169
+ 0
1170
+ 14
1171
+ 5
1172
+ 7
1173
+ 2
1174
+ 60
1175
+ 53
1176
+ 3
1177
+ 44
1178
+ 47
1179
+ 4
1180
+ 1
1181
+ 11
1182
+ I
1183
+ 4
1184
+ I
1185
+ 0
1186
+ I
1187
+ -1
1188
+ I
1189
+ -1
1190
+ n
1191
+ p
1192
+ 5
1193
+ M
1194
+ 1
1195
+ n
1196
+ n
1197
+ x
1198
+ 9
1199
+ __block__
1200
+ i
1201
+ 11
1202
+ 36
1203
+ 0
1204
+ 19
1205
+ 4
1206
+ 0
1207
+ 46
1208
+ 1
1209
+ 1
1210
+ 35
1211
+ 2
1212
+ 11
1213
+ I
1214
+ 3
1215
+ I
1216
+ 0
1217
+ I
1218
+ -1
1219
+ I
1220
+ -1
1221
+ n
1222
+ p
1223
+ 3
1224
+ x
1225
+ 9
1226
+ @original
1227
+ x
1228
+ 4
1229
+ send
1230
+ x
1231
+ 7
1232
+ @result
1233
+ p
1234
+ 5
1235
+ I
1236
+ 0
1237
+ I
1238
+ 30
1239
+ I
1240
+ 0
1241
+ I
1242
+ 31
1243
+ I
1244
+ b
1245
+ x
1246
+ 31
1247
+ ./spec/hamster/hash/map_spec.rb
1248
+ p
1249
+ 0
1250
+ x
1251
+ 6
1252
+ before
1253
+ s
1254
+ 12
1255
+ returns self
1256
+ M
1257
+ 1
1258
+ n
1259
+ n
1260
+ x
1261
+ 9
1262
+ __block__
1263
+ i
1264
+ 13
1265
+ 36
1266
+ 0
1267
+ 5
1268
+ 36
1269
+ 1
1270
+ 44
1271
+ 46
1272
+ 2
1273
+ 1
1274
+ 46
1275
+ 3
1276
+ 1
1277
+ 11
1278
+ I
1279
+ 4
1280
+ I
1281
+ 0
1282
+ I
1283
+ -1
1284
+ I
1285
+ -1
1286
+ n
1287
+ p
1288
+ 4
1289
+ x
1290
+ 7
1291
+ @result
1292
+ x
1293
+ 9
1294
+ @original
1295
+ x
1296
+ 5
1297
+ equal
1298
+ x
1299
+ 6
1300
+ should
1301
+ p
1302
+ 5
1303
+ I
1304
+ 0
1305
+ I
1306
+ 34
1307
+ I
1308
+ 0
1309
+ I
1310
+ 35
1311
+ I
1312
+ d
1313
+ x
1314
+ 31
1315
+ ./spec/hamster/hash/map_spec.rb
1316
+ p
1317
+ 0
1318
+ x
1319
+ 2
1320
+ it
1321
+ p
1322
+ 7
1323
+ I
1324
+ 0
1325
+ I
1326
+ 2e
1327
+ I
1328
+ 0
1329
+ I
1330
+ 30
1331
+ I
1332
+ 8
1333
+ I
1334
+ 34
1335
+ I
1336
+ 13
1337
+ x
1338
+ 31
1339
+ ./spec/hamster/hash/map_spec.rb
1340
+ p
1341
+ 0
1342
+ p
1343
+ 9
1344
+ I
1345
+ 0
1346
+ I
1347
+ 18
1348
+ I
1349
+ 0
1350
+ I
1351
+ 1a
1352
+ I
1353
+ 8
1354
+ I
1355
+ 1e
1356
+ I
1357
+ 13
1358
+ I
1359
+ 2e
1360
+ I
1361
+ 1e
1362
+ x
1363
+ 31
1364
+ ./spec/hamster/hash/map_spec.rb
1365
+ p
1366
+ 0
1367
+ p
1368
+ 7
1369
+ I
1370
+ 0
1371
+ I
1372
+ 9
1373
+ I
1374
+ 0
1375
+ I
1376
+ b
1377
+ I
1378
+ b
1379
+ I
1380
+ 18
1381
+ I
1382
+ 16
1383
+ x
1384
+ 31
1385
+ ./spec/hamster/hash/map_spec.rb
1386
+ p
1387
+ 0
1388
+ x
1389
+ 8
1390
+ describe
1391
+ p
1392
+ 5
1393
+ I
1394
+ 0
1395
+ I
1396
+ 7
1397
+ I
1398
+ 4
1399
+ I
1400
+ 9
1401
+ I
1402
+ 15
1403
+ x
1404
+ 31
1405
+ ./spec/hamster/hash/map_spec.rb
1406
+ p
1407
+ 1
1408
+ x
1409
+ 6
1410
+ method
1411
+ x
1412
+ 4
1413
+ each
1414
+ p
1415
+ 5
1416
+ I
1417
+ 0
1418
+ I
1419
+ 5
1420
+ I
1421
+ 0
1422
+ I
1423
+ 7
1424
+ I
1425
+ c
1426
+ x
1427
+ 31
1428
+ ./spec/hamster/hash/map_spec.rb
1429
+ p
1430
+ 0
1431
+ x
1432
+ 8
1433
+ describe
1434
+ p
1435
+ 7
1436
+ I
1437
+ 0
1438
+ I
1439
+ 1
1440
+ I
1441
+ 1a
1442
+ I
1443
+ 3
1444
+ I
1445
+ 23
1446
+ I
1447
+ 5
1448
+ I
1449
+ 32
1450
+ x
1451
+ 31
1452
+ ./spec/hamster/hash/map_spec.rb
1453
+ p
1454
+ 0