hamster 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. data/History.rdoc +16 -0
  2. data/lib/hamster/core_ext/enumerable.rb +9 -1
  3. data/lib/hamster/hash.rb +7 -0
  4. data/lib/hamster/list.rb +110 -109
  5. data/lib/hamster/set.rb +4 -3
  6. data/lib/hamster/sorter.rb +19 -0
  7. data/lib/hamster/tuple.rb +7 -0
  8. data/lib/hamster/version.rb +1 -1
  9. data/spec/hamster/core_ext/array_spec.rb +20 -0
  10. data/spec/hamster/core_ext/enumerable_spec.rb +1 -1
  11. data/spec/hamster/core_ext/io_spec.rb +1 -1
  12. data/spec/hamster/hash/all_spec.rb +1 -1
  13. data/spec/hamster/hash/any_spec.rb +1 -1
  14. data/spec/hamster/hash/construction_spec.rb +1 -1
  15. data/spec/hamster/hash/copying_spec.rb +1 -1
  16. data/spec/hamster/hash/delete_spec.rb +1 -1
  17. data/spec/hamster/hash/each_spec.rb +1 -1
  18. data/spec/hamster/hash/empty_spec.rb +1 -1
  19. data/spec/hamster/hash/eql_spec.rb +1 -1
  20. data/spec/hamster/hash/filter_spec.rb +1 -1
  21. data/spec/hamster/hash/find_spec.rb +58 -0
  22. data/spec/hamster/hash/get_spec.rb +1 -1
  23. data/spec/hamster/hash/has_key_spec.rb +7 -3
  24. data/spec/hamster/hash/inspect_spec.rb +1 -1
  25. data/spec/hamster/hash/map_spec.rb +1 -1
  26. data/spec/hamster/hash/none_spec.rb +1 -1
  27. data/spec/hamster/hash/put_spec.rb +1 -1
  28. data/spec/hamster/hash/reduce_spec.rb +1 -1
  29. data/spec/hamster/hash/remove_spec.rb +1 -1
  30. data/spec/hamster/hash/size_spec.rb +1 -1
  31. data/spec/hamster/hash/uniq_spec.rb +1 -1
  32. data/spec/hamster/list/all_spec.rb +1 -1
  33. data/spec/hamster/list/any_spec.rb +1 -1
  34. data/spec/hamster/list/append_spec.rb +1 -1
  35. data/spec/hamster/list/at_spec.rb +1 -1
  36. data/spec/hamster/list/break_spec.rb +1 -1
  37. data/spec/hamster/list/cadr_spec.rb +1 -1
  38. data/spec/hamster/list/chunk_spec.rb +1 -1
  39. data/spec/hamster/list/clear_spec.rb +1 -1
  40. data/spec/hamster/list/combinations_spec.rb +1 -1
  41. data/spec/hamster/list/compact_spec.rb +1 -1
  42. data/spec/hamster/list/cons_spec.rb +1 -1
  43. data/spec/hamster/list/construction_spec.rb +1 -1
  44. data/spec/hamster/list/copying_spec.rb +1 -1
  45. data/spec/hamster/list/count_spec.rb +1 -1
  46. data/spec/hamster/list/cycle_spec.rb +1 -1
  47. data/spec/hamster/list/drop_spec.rb +1 -1
  48. data/spec/hamster/list/drop_while_spec.rb +1 -1
  49. data/spec/hamster/list/each_slice_spec.rb +1 -1
  50. data/spec/hamster/list/each_spec.rb +1 -1
  51. data/spec/hamster/list/elem_index_spec.rb +58 -0
  52. data/spec/hamster/list/elem_indices_spec.rb +45 -0
  53. data/spec/hamster/list/empty_spec.rb +1 -1
  54. data/spec/hamster/list/eql_spec.rb +1 -1
  55. data/spec/hamster/list/filter_spec.rb +1 -1
  56. data/spec/hamster/list/find_index_spec.rb +58 -0
  57. data/spec/hamster/list/find_indices_spec.rb +45 -0
  58. data/spec/hamster/list/find_spec.rb +1 -1
  59. data/spec/hamster/list/flatten_spec.rb +1 -1
  60. data/spec/hamster/list/grep_spec.rb +1 -1
  61. data/spec/hamster/list/group_by_spec.rb +1 -1
  62. data/spec/hamster/list/head_spec.rb +1 -1
  63. data/spec/hamster/list/include_spec.rb +1 -1
  64. data/spec/hamster/list/init_spec.rb +1 -1
  65. data/spec/hamster/list/inits_spec.rb +1 -1
  66. data/spec/hamster/list/inspect_spec.rb +1 -1
  67. data/spec/hamster/list/intersperse_spec.rb +1 -1
  68. data/spec/hamster/list/join_spec.rb +1 -1
  69. data/spec/hamster/list/last_spec.rb +1 -1
  70. data/spec/hamster/list/map_spec.rb +1 -1
  71. data/spec/hamster/list/maximum_spec.rb +1 -1
  72. data/spec/hamster/list/minimum_spec.rb +1 -1
  73. data/spec/hamster/list/none_spec.rb +1 -1
  74. data/spec/hamster/list/one_spec.rb +2 -2
  75. data/spec/hamster/list/partition_spec.rb +1 -1
  76. data/spec/hamster/list/product_spec.rb +1 -1
  77. data/spec/hamster/list/reduce_spec.rb +1 -1
  78. data/spec/hamster/list/remove_spec.rb +1 -1
  79. data/spec/hamster/list/reverse_spec.rb +1 -1
  80. data/spec/hamster/list/size_spec.rb +1 -1
  81. data/spec/hamster/list/slice_spec.rb +1 -1
  82. data/spec/hamster/list/sorting_spec.rb +1 -1
  83. data/spec/hamster/list/span_spec.rb +1 -1
  84. data/spec/hamster/list/split_at_spec.rb +1 -1
  85. data/spec/hamster/list/sum_spec.rb +1 -1
  86. data/spec/hamster/list/tail_spec.rb +1 -1
  87. data/spec/hamster/list/tails_spec.rb +1 -1
  88. data/spec/hamster/list/take_spec.rb +1 -1
  89. data/spec/hamster/list/take_while_spec.rb +1 -1
  90. data/spec/hamster/list/to_a_spec.rb +1 -1
  91. data/spec/hamster/list/to_ary_spec.rb +1 -1
  92. data/spec/hamster/list/to_list_spec.rb +1 -1
  93. data/spec/hamster/list/union_spec.rb +1 -1
  94. data/spec/hamster/list/uniq_spec.rb +1 -1
  95. data/spec/hamster/list/zip_spec.rb +1 -1
  96. data/spec/hamster/set/add_spec.rb +1 -1
  97. data/spec/hamster/set/all_spec.rb +1 -1
  98. data/spec/hamster/set/any_spec.rb +1 -1
  99. data/spec/hamster/set/clear_spec.rb +1 -1
  100. data/spec/hamster/set/compact_spec.rb +1 -1
  101. data/spec/hamster/set/construction_spec.rb +1 -1
  102. data/spec/hamster/set/copying_spec.rb +1 -1
  103. data/spec/hamster/set/count_spec.rb +1 -1
  104. data/spec/hamster/set/delete_spec.rb +1 -1
  105. data/spec/hamster/set/each_spec.rb +1 -1
  106. data/spec/hamster/set/empty_spec.rb +1 -1
  107. data/spec/hamster/set/eql_spec.rb +1 -1
  108. data/spec/hamster/set/filter_spec.rb +1 -1
  109. data/spec/hamster/set/find_spec.rb +1 -1
  110. data/spec/hamster/set/grep_spec.rb +1 -1
  111. data/spec/hamster/set/group_by_spec.rb +1 -1
  112. data/spec/hamster/set/head_spec.rb +1 -1
  113. data/spec/hamster/set/include_spec.rb +1 -1
  114. data/spec/hamster/set/inspect_spec.rb +1 -1
  115. data/spec/hamster/set/join_spec.rb +1 -1
  116. data/spec/hamster/set/map_spec.rb +1 -1
  117. data/spec/hamster/set/maximum_spec.rb +1 -1
  118. data/spec/hamster/set/minimum_spec.rb +1 -1
  119. data/spec/hamster/set/none_spec.rb +1 -1
  120. data/spec/hamster/set/one_spec.rb +2 -2
  121. data/spec/hamster/set/partition_spec.rb +1 -1
  122. data/spec/hamster/set/product_spec.rb +1 -1
  123. data/spec/hamster/set/reduce_spec.rb +1 -1
  124. data/spec/hamster/set/remove_spec.rb +1 -1
  125. data/spec/hamster/set/size_spec.rb +1 -1
  126. data/spec/hamster/set/sorting_spec.rb +1 -1
  127. data/spec/hamster/set/sum_spec.rb +1 -1
  128. data/spec/hamster/set/to_a_spec.rb +1 -1
  129. data/spec/hamster/set/to_list_spec.rb +1 -1
  130. data/spec/hamster/set/to_set_spec.rb +1 -1
  131. data/spec/hamster/set/uniq_spec.rb +1 -1
  132. data/spec/hamster/stack/clear_spec.rb +1 -1
  133. data/spec/hamster/stack/construction_spec.rb +1 -1
  134. data/spec/hamster/stack/copying_spec.rb +1 -1
  135. data/spec/hamster/stack/empty_spec.rb +1 -1
  136. data/spec/hamster/stack/eql_spec.rb +1 -1
  137. data/spec/hamster/stack/inspect_spec.rb +1 -1
  138. data/spec/hamster/stack/pop_spec.rb +1 -1
  139. data/spec/hamster/stack/push_spec.rb +1 -1
  140. data/spec/hamster/stack/size_spec.rb +1 -1
  141. data/spec/hamster/stack/to_a_spec.rb +1 -1
  142. data/spec/hamster/stack/to_list_spec.rb +1 -1
  143. data/spec/hamster/stack/top_spec.rb +1 -1
  144. data/spec/hamster/trie/remove_spec.rb +1 -1
  145. data/spec/hamster/tuple/copying_spec.rb +1 -1
  146. data/spec/hamster/tuple/eql_spec.rb +61 -0
  147. data/spec/hamster/tuple/first_spec.rb +1 -1
  148. data/spec/hamster/tuple/inspect_spec.rb +1 -1
  149. data/spec/hamster/tuple/last_spec.rb +1 -1
  150. data/spec/hamster/tuple/to_a_spec.rb +1 -1
  151. data/spec/hamster/tuple/to_ary_spec.rb +1 -1
  152. data/spec/spec_helper.rb +9 -6
  153. metadata +20 -148
  154. data/lib/hamster.rbc +0 -133
  155. data/lib/hamster/core_ext.rbc +0 -69
  156. data/lib/hamster/core_ext/enumerable.rbc +0 -481
  157. data/lib/hamster/core_ext/io.rbc +0 -652
  158. data/lib/hamster/hash.rbc +0 -3537
  159. data/lib/hamster/list.rbc +0 -14428
  160. data/lib/hamster/set.rbc +0 -5541
  161. data/lib/hamster/stack.rbc +0 -1623
  162. data/lib/hamster/trie.rbc +0 -3449
  163. data/lib/hamster/tuple.rbc +0 -800
  164. data/lib/hamster/version.rbc +0 -143
  165. data/spec/hamster/core_ext/enumerable_spec.rbc +0 -751
  166. data/spec/hamster/core_ext/io_spec.rbc +0 -413
  167. data/spec/hamster/hash/all_spec.rbc +0 -1312
  168. data/spec/hamster/hash/any_spec.rbc +0 -1501
  169. data/spec/hamster/hash/construction_spec.rbc +0 -750
  170. data/spec/hamster/hash/copying_spec.rbc +0 -524
  171. data/spec/hamster/hash/delete_spec.rbc +0 -1146
  172. data/spec/hamster/hash/each_spec.rbc +0 -997
  173. data/spec/hamster/hash/empty_spec.rbc +0 -597
  174. data/spec/hamster/hash/eql_spec.rbc +0 -1704
  175. data/spec/hamster/hash/filter_spec.rbc +0 -1450
  176. data/spec/hamster/hash/get_spec.rbc +0 -793
  177. data/spec/hamster/hash/has_key_spec.rbc +0 -720
  178. data/spec/hamster/hash/inspect_spec.rbc +0 -658
  179. data/spec/hamster/hash/map_spec.rbc +0 -1471
  180. data/spec/hamster/hash/none_spec.rbc +0 -1404
  181. data/spec/hamster/hash/put_spec.rbc +0 -1346
  182. data/spec/hamster/hash/reduce_spec.rbc +0 -1255
  183. data/spec/hamster/hash/remove_spec.rbc +0 -1467
  184. data/spec/hamster/hash/size_spec.rbc +0 -598
  185. data/spec/hamster/hash/uniq_spec.rbc +0 -529
  186. data/spec/hamster/list/all_spec.rbc +0 -2158
  187. data/spec/hamster/list/any_spec.rbc +0 -1751
  188. data/spec/hamster/list/append_spec.rbc +0 -1193
  189. data/spec/hamster/list/break_spec.rbc +0 -1804
  190. data/spec/hamster/list/cadr_spec.rbc +0 -1065
  191. data/spec/hamster/list/chunk_spec.rbc +0 -920
  192. data/spec/hamster/list/clear_spec.rbc +0 -635
  193. data/spec/hamster/list/combinations_spec.rbc +0 -1308
  194. data/spec/hamster/list/compact_spec.rbc +0 -987
  195. data/spec/hamster/list/cons_spec.rbc +0 -853
  196. data/spec/hamster/list/construction_spec.rbc +0 -2532
  197. data/spec/hamster/list/copying_spec.rbc +0 -576
  198. data/spec/hamster/list/count_spec.rbc +0 -1216
  199. data/spec/hamster/list/cycle_spec.rbc +0 -1003
  200. data/spec/hamster/list/drop_spec.rbc +0 -949
  201. data/spec/hamster/list/drop_while_spec.rbc +0 -1289
  202. data/spec/hamster/list/each_slice_spec.rbc +0 -1659
  203. data/spec/hamster/list/each_spec.rbc +0 -1403
  204. data/spec/hamster/list/empty_spec.rbc +0 -947
  205. data/spec/hamster/list/eql_spec.rbc +0 -1669
  206. data/spec/hamster/list/filter_spec.rbc +0 -1379
  207. data/spec/hamster/list/find_spec.rbc +0 -1322
  208. data/spec/hamster/list/flatten_spec.rbc +0 -954
  209. data/spec/hamster/list/grep_spec.rbc +0 -1517
  210. data/spec/hamster/list/group_by_spec.rbc +0 -1536
  211. data/spec/hamster/list/head_spec.rbc +0 -948
  212. data/spec/hamster/list/include_spec.rbc +0 -1044
  213. data/spec/hamster/list/init_spec.rbc +0 -877
  214. data/spec/hamster/list/inits_spec.rbc +0 -988
  215. data/spec/hamster/list/inspect_spec.rbc +0 -855
  216. data/spec/hamster/list/intersperse_spec.rbc +0 -912
  217. data/spec/hamster/list/join_spec.rbc +0 -1357
  218. data/spec/hamster/list/last_spec.rbc +0 -856
  219. data/spec/hamster/list/map_spec.rbc +0 -1548
  220. data/spec/hamster/list/maximum_spec.rbc +0 -1498
  221. data/spec/hamster/list/minimum_spec.rbc +0 -1498
  222. data/spec/hamster/list/none_spec.rbc +0 -1647
  223. data/spec/hamster/list/one_spec.rbc +0 -1664
  224. data/spec/hamster/list/partition_spec.rbc +0 -1528
  225. data/spec/hamster/list/product_spec.rbc +0 -844
  226. data/spec/hamster/list/reduce_spec.rbc +0 -1943
  227. data/spec/hamster/list/remove_spec.rbc +0 -1518
  228. data/spec/hamster/list/reverse_spec.rbc +0 -1204
  229. data/spec/hamster/list/size_spec.rbc +0 -920
  230. data/spec/hamster/list/sorting_spec.rbc +0 -1612
  231. data/spec/hamster/list/span_spec.rbc +0 -1798
  232. data/spec/hamster/list/split_at_spec.rbc +0 -1139
  233. data/spec/hamster/list/sum_spec.rbc +0 -842
  234. data/spec/hamster/list/tail_spec.rbc +0 -994
  235. data/spec/hamster/list/tails_spec.rbc +0 -988
  236. data/spec/hamster/list/take_spec.rbc +0 -943
  237. data/spec/hamster/list/take_while_spec.rbc +0 -1399
  238. data/spec/hamster/list/to_a_spec.rbc +0 -1140
  239. data/spec/hamster/list/to_ary_spec.rbc +0 -1128
  240. data/spec/hamster/list/to_list_spec.rbc +0 -561
  241. data/spec/hamster/list/union_spec.rbc +0 -1147
  242. data/spec/hamster/list/uniq_spec.rbc +0 -1007
  243. data/spec/hamster/list/zip_spec.rbc +0 -1020
  244. data/spec/hamster/set/add_spec.rbc +0 -1051
  245. data/spec/hamster/set/all_spec.rbc +0 -1418
  246. data/spec/hamster/set/any_spec.rbc +0 -1449
  247. data/spec/hamster/set/compact_spec.rbc +0 -807
  248. data/spec/hamster/set/construction_spec.rbc +0 -426
  249. data/spec/hamster/set/copying_spec.rbc +0 -474
  250. data/spec/hamster/set/count_spec.rbc +0 -953
  251. data/spec/hamster/set/delete_spec.rbc +0 -958
  252. data/spec/hamster/set/each_spec.rbc +0 -909
  253. data/spec/hamster/set/empty_spec.rbc +0 -656
  254. data/spec/hamster/set/eql_spec.rbc +0 -1311
  255. data/spec/hamster/set/filter_spec.rbc +0 -1289
  256. data/spec/hamster/set/find_spec.rbc +0 -1017
  257. data/spec/hamster/set/grep_spec.rbc +0 -1181
  258. data/spec/hamster/set/group_by_spec.rbc +0 -1276
  259. data/spec/hamster/set/head_spec.rbc +0 -659
  260. data/spec/hamster/set/include_spec.rbc +0 -668
  261. data/spec/hamster/set/inspect_spec.rbc +0 -593
  262. data/spec/hamster/set/join_spec.rbc +0 -1075
  263. data/spec/hamster/set/map_spec.rbc +0 -1302
  264. data/spec/hamster/set/maximum_spec.rbc +0 -1334
  265. data/spec/hamster/set/minimum_spec.rbc +0 -1334
  266. data/spec/hamster/set/none_spec.rbc +0 -1348
  267. data/spec/hamster/set/one_spec.rbc +0 -1708
  268. data/spec/hamster/set/partition_spec.rbc +0 -1348
  269. data/spec/hamster/set/product_spec.rbc +0 -581
  270. data/spec/hamster/set/reduce_spec.rbc +0 -1198
  271. data/spec/hamster/set/remove_spec.rbc +0 -1295
  272. data/spec/hamster/set/size_spec.rbc +0 -533
  273. data/spec/hamster/set/sorting_spec.rbc +0 -1228
  274. data/spec/hamster/set/sum_spec.rbc +0 -579
  275. data/spec/hamster/set/to_a_spec.rbc +0 -774
  276. data/spec/hamster/set/to_list_spec.rbc +0 -862
  277. data/spec/hamster/set/to_set_spec.rbc +0 -561
  278. data/spec/hamster/set/uniq_spec.rbc +0 -479
  279. data/spec/hamster/stack/clear_spec.rbc +0 -635
  280. data/spec/hamster/stack/construction_spec.rbc +0 -872
  281. data/spec/hamster/stack/copying_spec.rbc +0 -561
  282. data/spec/hamster/stack/empty_spec.rbc +0 -577
  283. data/spec/hamster/stack/eql_spec.rbc +0 -1283
  284. data/spec/hamster/stack/inspect_spec.rbc +0 -592
  285. data/spec/hamster/stack/pop_spec.rbc +0 -1098
  286. data/spec/hamster/stack/push_spec.rbc +0 -853
  287. data/spec/hamster/stack/size_spec.rbc +0 -657
  288. data/spec/hamster/stack/to_a_spec.rbc +0 -801
  289. data/spec/hamster/stack/to_list_spec.rbc +0 -635
  290. data/spec/hamster/stack/top_spec.rbc +0 -683
  291. data/spec/hamster/trie/remove_spec.rbc +0 -40
  292. data/spec/hamster/tuple/copying_spec.rbc +0 -511
  293. data/spec/hamster/tuple/first_spec.rbc +0 -423
  294. data/spec/hamster/tuple/inspect_spec.rbc +0 -423
  295. data/spec/hamster/tuple/last_spec.rbc +0 -423
  296. data/spec/hamster/tuple/to_a_spec.rbc +0 -803
  297. data/spec/hamster/tuple/to_ary_spec.rbc +0 -908
  298. data/spec/spec_helper.rbc +0 -184
  299. data/tasks/spec.rbc +0 -202
@@ -1,1659 +0,0 @@
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
- 62
21
- 45
22
- 3
23
- 46
24
- 4
25
- 1
26
- 7
27
- 5
28
- 61
29
- 78
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
- 61
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
- 0
134
- I
135
- 0
136
- I
137
- -2
138
- p
139
- 4
140
- x
141
- 10
142
- each_chunk
143
- x
144
- 10
145
- each_slice
146
- M
147
- 1
148
- n
149
- n
150
- x
151
- 9
152
- __block__
153
- i
154
- 21
155
- 54
156
- 17
157
- 0
158
- 14
159
- 5
160
- 7
161
- 0
162
- 18
163
- 0
164
- 44
165
- 45
166
- 1
167
- 60
168
- 2
169
- 53
170
- 2
171
- 44
172
- 47
173
- 3
174
- 1
175
- 11
176
- I
177
- 5
178
- I
179
- 1
180
- I
181
- 1
182
- I
183
- 1
184
- I
185
- -1
186
- p
187
- 4
188
- s
189
- 1
190
- #
191
- x
192
- 4
193
- to_s
194
- M
195
- 1
196
- n
197
- n
198
- x
199
- 9
200
- __block__
201
- i
202
- 79
203
- 5
204
- 7
205
- 0
206
- 61
207
- 53
208
- 1
209
- 44
210
- 47
211
- 2
212
- 1
213
- 14
214
- 32
215
- 0
216
- 32
217
- 0
218
- 32
219
- 2
220
- 7
221
- 3
222
- 61
223
- 32
224
- 1
225
- 42
226
- 4
227
- 5
228
- 7
229
- 3
230
- 61
231
- 46
232
- 6
233
- 1
234
- 32
235
- 1
236
- 32
237
- 2
238
- 7
239
- 3
240
- 61
241
- 7
242
- 7
243
- 61
244
- 7
245
- 8
246
- 61
247
- 32
248
- 3
249
- 42
250
- 4
251
- 9
252
- 7
253
- 3
254
- 61
255
- 7
256
- 7
257
- 61
258
- 46
259
- 6
260
- 2
261
- 42
262
- 4
263
- 10
264
- 7
265
- 8
266
- 61
267
- 46
268
- 6
269
- 1
270
- 32
271
- 2
272
- 32
273
- 2
274
- 32
275
- 3
276
- 53
277
- 11
278
- 47
279
- 12
280
- 0
281
- 11
282
- I
283
- 7
284
- I
285
- 0
286
- I
287
- 0
288
- I
289
- 0
290
- I
291
- -2
292
- p
293
- 13
294
- s
295
- 20
296
- on a really big list
297
- M
298
- 1
299
- n
300
- n
301
- x
302
- 9
303
- __block__
304
- i
305
- 19
306
- 5
307
- 53
308
- 0
309
- 44
310
- 47
311
- 1
312
- 0
313
- 14
314
- 5
315
- 7
316
- 2
317
- 61
318
- 53
319
- 3
320
- 44
321
- 47
322
- 4
323
- 1
324
- 11
325
- I
326
- 4
327
- I
328
- 0
329
- I
330
- 0
331
- I
332
- 0
333
- I
334
- -2
335
- p
336
- 5
337
- M
338
- 1
339
- n
340
- n
341
- x
342
- 9
343
- __block__
344
- i
345
- 13
346
- 42
347
- 0
348
- 1
349
- 75
350
- 42
351
- 2
352
- 3
353
- 46
354
- 4
355
- 2
356
- 35
357
- 5
358
- 11
359
- I
360
- 4
361
- I
362
- 0
363
- I
364
- 0
365
- I
366
- 0
367
- I
368
- -2
369
- p
370
- 6
371
- x
372
- 7
373
- Hamster
374
- n
375
- x
376
- 20
377
- STACK_OVERFLOW_DEPTH
378
- n
379
- x
380
- 8
381
- interval
382
- x
383
- 5
384
- @list
385
- p
386
- 5
387
- I
388
- 0
389
- I
390
- d
391
- I
392
- 0
393
- I
394
- e
395
- I
396
- d
397
- x
398
- 38
399
- ./spec/hamster/list/each_slice_spec.rb
400
- p
401
- 0
402
- x
403
- 6
404
- before
405
- s
406
- 24
407
- doesn't run out of stack
408
- M
409
- 1
410
- n
411
- n
412
- x
413
- 9
414
- __block__
415
- i
416
- 15
417
- 5
418
- 53
419
- 0
420
- 44
421
- 47
422
- 1
423
- 0
424
- 5
425
- 44
426
- 45
427
- 2
428
- 46
429
- 3
430
- 1
431
- 11
432
- I
433
- 3
434
- I
435
- 0
436
- I
437
- 0
438
- I
439
- 0
440
- I
441
- -2
442
- p
443
- 4
444
- M
445
- 1
446
- n
447
- n
448
- x
449
- 9
450
- __block__
451
- i
452
- 12
453
- 36
454
- 0
455
- 19
456
- 4
457
- 0
458
- 76
459
- 53
460
- 1
461
- 47
462
- 2
463
- 2
464
- 11
465
- I
466
- 5
467
- I
468
- 0
469
- I
470
- 0
471
- I
472
- 0
473
- I
474
- -2
475
- p
476
- 3
477
- x
478
- 5
479
- @list
480
- M
481
- 1
482
- n
483
- n
484
- x
485
- 9
486
- __block__
487
- i
488
- 6
489
- 54
490
- 17
491
- 0
492
- 14
493
- 1
494
- 11
495
- I
496
- 3
497
- I
498
- 1
499
- I
500
- 1
501
- I
502
- 1
503
- I
504
- -1
505
- p
506
- 0
507
- p
508
- 3
509
- I
510
- 0
511
- I
512
- 12
513
- I
514
- 6
515
- x
516
- 38
517
- ./spec/hamster/list/each_slice_spec.rb
518
- p
519
- 1
520
- x
521
- 4
522
- item
523
- x
524
- 4
525
- send
526
- p
527
- 3
528
- I
529
- 0
530
- I
531
- 12
532
- I
533
- c
534
- x
535
- 38
536
- ./spec/hamster/list/each_slice_spec.rb
537
- p
538
- 0
539
- x
540
- 6
541
- lambda
542
- x
543
- 11
544
- raise_error
545
- x
546
- 10
547
- should_not
548
- p
549
- 5
550
- I
551
- 0
552
- I
553
- 11
554
- I
555
- 0
556
- I
557
- 12
558
- I
559
- f
560
- x
561
- 38
562
- ./spec/hamster/list/each_slice_spec.rb
563
- p
564
- 0
565
- x
566
- 2
567
- it
568
- p
569
- 7
570
- I
571
- 0
572
- I
573
- b
574
- I
575
- 0
576
- I
577
- d
578
- I
579
- 8
580
- I
581
- 11
582
- I
583
- 13
584
- x
585
- 38
586
- ./spec/hamster/list/each_slice_spec.rb
587
- p
588
- 0
589
- x
590
- 8
591
- describe
592
- s
593
- 1
594
- A
595
- x
596
- 7
597
- Hamster
598
- n
599
- x
600
- 4
601
- list
602
- s
603
- 1
604
- B
605
- s
606
- 1
607
- C
608
- n
609
- n
610
- M
611
- 1
612
- n
613
- n
614
- x
615
- 9
616
- __block__
617
- i
618
- 30
619
- 55
620
- 33
621
- 34
622
- 17
623
- 0
624
- 14
625
- 34
626
- 17
627
- 1
628
- 14
629
- 14
630
- 5
631
- 7
632
- 0
633
- 18
634
- 0
635
- 45
636
- 1
637
- 44
638
- 45
639
- 2
640
- 60
641
- 2
642
- 53
643
- 3
644
- 44
645
- 47
646
- 4
647
- 1
648
- 11
649
- I
650
- 6
651
- I
652
- 2
653
- I
654
- 2
655
- I
656
- 2
657
- I
658
- -1
659
- p
660
- 5
661
- s
662
- 3
663
- on
664
- x
665
- 7
666
- inspect
667
- x
668
- 4
669
- to_s
670
- M
671
- 1
672
- n
673
- n
674
- x
675
- 9
676
- __block__
677
- i
678
- 30
679
- 5
680
- 53
681
- 0
682
- 44
683
- 47
684
- 1
685
- 0
686
- 14
687
- 5
688
- 7
689
- 2
690
- 61
691
- 53
692
- 3
693
- 44
694
- 47
695
- 4
696
- 1
697
- 14
698
- 5
699
- 7
700
- 5
701
- 61
702
- 53
703
- 6
704
- 44
705
- 47
706
- 4
707
- 1
708
- 11
709
- I
710
- 4
711
- I
712
- 0
713
- I
714
- 0
715
- I
716
- 0
717
- I
718
- -2
719
- p
720
- 7
721
- M
722
- 1
723
- n
724
- n
725
- x
726
- 9
727
- __block__
728
- i
729
- 14
730
- 42
731
- 0
732
- 1
733
- 19
734
- 2
735
- 0
736
- 33
737
- 1
738
- 48
739
- 2
740
- 0
741
- 35
742
- 3
743
- 11
744
- I
745
- 4
746
- I
747
- 0
748
- I
749
- 0
750
- I
751
- 0
752
- I
753
- -2
754
- p
755
- 4
756
- x
757
- 7
758
- Hamster
759
- n
760
- x
761
- 4
762
- list
763
- x
764
- 9
765
- @original
766
- p
767
- 5
768
- I
769
- 0
770
- I
771
- 1f
772
- I
773
- 0
774
- I
775
- 20
776
- I
777
- e
778
- x
779
- 38
780
- ./spec/hamster/list/each_slice_spec.rb
781
- p
782
- 0
783
- x
784
- 6
785
- before
786
- s
787
- 12
788
- with a block
789
- M
790
- 1
791
- n
792
- n
793
- x
794
- 9
795
- __block__
796
- i
797
- 41
798
- 5
799
- 53
800
- 0
801
- 44
802
- 47
803
- 1
804
- 0
805
- 14
806
- 5
807
- 7
808
- 2
809
- 61
810
- 53
811
- 3
812
- 44
813
- 47
814
- 4
815
- 1
816
- 14
817
- 5
818
- 7
819
- 5
820
- 61
821
- 53
822
- 6
823
- 44
824
- 47
825
- 4
826
- 1
827
- 14
828
- 5
829
- 7
830
- 7
831
- 61
832
- 53
833
- 8
834
- 44
835
- 47
836
- 4
837
- 1
838
- 11
839
- I
840
- 4
841
- I
842
- 0
843
- I
844
- 0
845
- I
846
- 0
847
- I
848
- -2
849
- p
850
- 9
851
- M
852
- 1
853
- n
854
- n
855
- x
856
- 9
857
- __block__
858
- i
859
- 19
860
- 32
861
- 0
862
- 35
863
- 0
864
- 14
865
- 36
866
- 1
867
- 19
868
- 5
869
- 0
870
- 77
871
- 53
872
- 2
873
- 47
874
- 3
875
- 2
876
- 35
877
- 4
878
- 11
879
- I
880
- 5
881
- I
882
- 0
883
- I
884
- 0
885
- I
886
- 0
887
- I
888
- -2
889
- p
890
- 5
891
- x
892
- 6
893
- @items
894
- x
895
- 9
896
- @original
897
- M
898
- 1
899
- n
900
- n
901
- x
902
- 9
903
- __block__
904
- i
905
- 12
906
- 54
907
- 17
908
- 0
909
- 14
910
- 36
911
- 0
912
- 18
913
- 0
914
- 46
915
- 1
916
- 1
917
- 11
918
- I
919
- 4
920
- I
921
- 1
922
- I
923
- 1
924
- I
925
- 1
926
- I
927
- -1
928
- p
929
- 2
930
- x
931
- 6
932
- @items
933
- x
934
- 2
935
- <<
936
- p
937
- 3
938
- I
939
- 0
940
- I
941
- 27
942
- I
943
- c
944
- x
945
- 38
946
- ./spec/hamster/list/each_slice_spec.rb
947
- p
948
- 1
949
- x
950
- 4
951
- item
952
- x
953
- 4
954
- send
955
- x
956
- 7
957
- @result
958
- p
959
- 7
960
- I
961
- 0
962
- I
963
- 25
964
- I
965
- 0
966
- I
967
- 26
968
- I
969
- 5
970
- I
971
- 27
972
- I
973
- 13
974
- x
975
- 38
976
- ./spec/hamster/list/each_slice_spec.rb
977
- p
978
- 0
979
- x
980
- 6
981
- before
982
- s
983
- 22
984
- preserves the original
985
- M
986
- 1
987
- n
988
- n
989
- x
990
- 9
991
- __block__
992
- i
993
- 18
994
- 36
995
- 0
996
- 45
997
- 1
998
- 42
999
- 2
1000
- 3
1001
- 19
1002
- 3
1003
- 0
1004
- 33
1005
- 1
1006
- 48
1007
- 4
1008
- 0
1009
- 80
1010
- 5
1011
- 11
1012
- I
1013
- 5
1014
- I
1015
- 0
1016
- I
1017
- 0
1018
- I
1019
- 0
1020
- I
1021
- -2
1022
- p
1023
- 6
1024
- x
1025
- 9
1026
- @original
1027
- x
1028
- 6
1029
- should
1030
- x
1031
- 7
1032
- Hamster
1033
- n
1034
- x
1035
- 4
1036
- list
1037
- x
1038
- 2
1039
- ==
1040
- p
1041
- 5
1042
- I
1043
- 0
1044
- I
1045
- 2a
1046
- I
1047
- 0
1048
- I
1049
- 2b
1050
- I
1051
- 12
1052
- x
1053
- 38
1054
- ./spec/hamster/list/each_slice_spec.rb
1055
- p
1056
- 0
1057
- x
1058
- 2
1059
- it
1060
- s
1061
- 32
1062
- iterates over the items in order
1063
- M
1064
- 1
1065
- n
1066
- n
1067
- x
1068
- 9
1069
- __block__
1070
- i
1071
- 10
1072
- 36
1073
- 0
1074
- 45
1075
- 1
1076
- 19
1077
- 3
1078
- 1
1079
- 80
1080
- 2
1081
- 11
1082
- I
1083
- 3
1084
- I
1085
- 0
1086
- I
1087
- 0
1088
- I
1089
- 0
1090
- I
1091
- -2
1092
- p
1093
- 3
1094
- x
1095
- 6
1096
- @items
1097
- x
1098
- 6
1099
- should
1100
- x
1101
- 2
1102
- ==
1103
- p
1104
- 5
1105
- I
1106
- 0
1107
- I
1108
- 2e
1109
- I
1110
- 0
1111
- I
1112
- 2f
1113
- I
1114
- a
1115
- x
1116
- 38
1117
- ./spec/hamster/list/each_slice_spec.rb
1118
- p
1119
- 0
1120
- s
1121
- 11
1122
- returns nil
1123
- M
1124
- 1
1125
- n
1126
- n
1127
- x
1128
- 9
1129
- __block__
1130
- i
1131
- 10
1132
- 36
1133
- 0
1134
- 5
1135
- 44
1136
- 45
1137
- 1
1138
- 46
1139
- 2
1140
- 1
1141
- 11
1142
- I
1143
- 3
1144
- I
1145
- 0
1146
- I
1147
- 0
1148
- I
1149
- 0
1150
- I
1151
- -2
1152
- p
1153
- 3
1154
- x
1155
- 7
1156
- @result
1157
- x
1158
- 6
1159
- be_nil
1160
- x
1161
- 6
1162
- should
1163
- p
1164
- 5
1165
- I
1166
- 0
1167
- I
1168
- 32
1169
- I
1170
- 0
1171
- I
1172
- 33
1173
- I
1174
- a
1175
- x
1176
- 38
1177
- ./spec/hamster/list/each_slice_spec.rb
1178
- p
1179
- 0
1180
- p
1181
- 11
1182
- I
1183
- 0
1184
- I
1185
- 23
1186
- I
1187
- 0
1188
- I
1189
- 25
1190
- I
1191
- 8
1192
- I
1193
- 2a
1194
- I
1195
- 13
1196
- I
1197
- 2e
1198
- I
1199
- 1e
1200
- I
1201
- 32
1202
- I
1203
- 29
1204
- x
1205
- 38
1206
- ./spec/hamster/list/each_slice_spec.rb
1207
- p
1208
- 0
1209
- x
1210
- 8
1211
- describe
1212
- s
1213
- 15
1214
- without a block
1215
- M
1216
- 1
1217
- n
1218
- n
1219
- x
1220
- 9
1221
- __block__
1222
- i
1223
- 30
1224
- 5
1225
- 53
1226
- 0
1227
- 44
1228
- 47
1229
- 1
1230
- 0
1231
- 14
1232
- 5
1233
- 7
1234
- 2
1235
- 61
1236
- 53
1237
- 3
1238
- 44
1239
- 47
1240
- 4
1241
- 1
1242
- 14
1243
- 5
1244
- 7
1245
- 5
1246
- 61
1247
- 53
1248
- 6
1249
- 44
1250
- 47
1251
- 4
1252
- 1
1253
- 11
1254
- I
1255
- 4
1256
- I
1257
- 0
1258
- I
1259
- 0
1260
- I
1261
- 0
1262
- I
1263
- -2
1264
- p
1265
- 7
1266
- M
1267
- 1
1268
- n
1269
- n
1270
- x
1271
- 9
1272
- __block__
1273
- i
1274
- 12
1275
- 36
1276
- 0
1277
- 19
1278
- 5
1279
- 0
1280
- 77
1281
- 46
1282
- 1
1283
- 2
1284
- 35
1285
- 2
1286
- 11
1287
- I
1288
- 4
1289
- I
1290
- 0
1291
- I
1292
- 0
1293
- I
1294
- 0
1295
- I
1296
- -2
1297
- p
1298
- 3
1299
- x
1300
- 9
1301
- @original
1302
- x
1303
- 4
1304
- send
1305
- x
1306
- 7
1307
- @result
1308
- p
1309
- 5
1310
- I
1311
- 0
1312
- I
1313
- 3a
1314
- I
1315
- 0
1316
- I
1317
- 3b
1318
- I
1319
- c
1320
- x
1321
- 38
1322
- ./spec/hamster/list/each_slice_spec.rb
1323
- p
1324
- 0
1325
- x
1326
- 6
1327
- before
1328
- s
1329
- 22
1330
- preserves the original
1331
- M
1332
- 1
1333
- n
1334
- n
1335
- x
1336
- 9
1337
- __block__
1338
- i
1339
- 18
1340
- 36
1341
- 0
1342
- 45
1343
- 1
1344
- 42
1345
- 2
1346
- 3
1347
- 19
1348
- 3
1349
- 0
1350
- 33
1351
- 1
1352
- 48
1353
- 4
1354
- 0
1355
- 80
1356
- 5
1357
- 11
1358
- I
1359
- 5
1360
- I
1361
- 0
1362
- I
1363
- 0
1364
- I
1365
- 0
1366
- I
1367
- -2
1368
- p
1369
- 6
1370
- x
1371
- 9
1372
- @original
1373
- x
1374
- 6
1375
- should
1376
- x
1377
- 7
1378
- Hamster
1379
- n
1380
- x
1381
- 4
1382
- list
1383
- x
1384
- 2
1385
- ==
1386
- p
1387
- 5
1388
- I
1389
- 0
1390
- I
1391
- 3e
1392
- I
1393
- 0
1394
- I
1395
- 3f
1396
- I
1397
- 12
1398
- x
1399
- 38
1400
- ./spec/hamster/list/each_slice_spec.rb
1401
- p
1402
- 0
1403
- x
1404
- 2
1405
- it
1406
- s
1407
- 26
1408
- returns the expected items
1409
- M
1410
- 1
1411
- n
1412
- n
1413
- x
1414
- 9
1415
- __block__
1416
- i
1417
- 18
1418
- 36
1419
- 0
1420
- 45
1421
- 1
1422
- 42
1423
- 2
1424
- 3
1425
- 19
1426
- 3
1427
- 1
1428
- 33
1429
- 1
1430
- 48
1431
- 4
1432
- 0
1433
- 80
1434
- 5
1435
- 11
1436
- I
1437
- 5
1438
- I
1439
- 0
1440
- I
1441
- 0
1442
- I
1443
- 0
1444
- I
1445
- -2
1446
- p
1447
- 6
1448
- x
1449
- 7
1450
- @result
1451
- x
1452
- 6
1453
- should
1454
- x
1455
- 7
1456
- Hamster
1457
- n
1458
- x
1459
- 4
1460
- list
1461
- x
1462
- 2
1463
- ==
1464
- p
1465
- 5
1466
- I
1467
- 0
1468
- I
1469
- 42
1470
- I
1471
- 0
1472
- I
1473
- 43
1474
- I
1475
- 12
1476
- x
1477
- 38
1478
- ./spec/hamster/list/each_slice_spec.rb
1479
- p
1480
- 0
1481
- p
1482
- 9
1483
- I
1484
- 0
1485
- I
1486
- 38
1487
- I
1488
- 0
1489
- I
1490
- 3a
1491
- I
1492
- 8
1493
- I
1494
- 3e
1495
- I
1496
- 13
1497
- I
1498
- 42
1499
- I
1500
- 1e
1501
- x
1502
- 38
1503
- ./spec/hamster/list/each_slice_spec.rb
1504
- p
1505
- 0
1506
- p
1507
- 9
1508
- I
1509
- 0
1510
- I
1511
- 1d
1512
- I
1513
- 0
1514
- I
1515
- 1f
1516
- I
1517
- 8
1518
- I
1519
- 23
1520
- I
1521
- 13
1522
- I
1523
- 38
1524
- I
1525
- 1e
1526
- x
1527
- 38
1528
- ./spec/hamster/list/each_slice_spec.rb
1529
- p
1530
- 0
1531
- x
1532
- 8
1533
- describe
1534
- p
1535
- 7
1536
- I
1537
- 0
1538
- I
1539
- 18
1540
- I
1541
- 3
1542
- I
1543
- 1b
1544
- I
1545
- b
1546
- I
1547
- 1d
1548
- I
1549
- 1e
1550
- x
1551
- 38
1552
- ./spec/hamster/list/each_slice_spec.rb
1553
- p
1554
- 2
1555
- x
1556
- 6
1557
- values
1558
- x
1559
- 8
1560
- expected
1561
- x
1562
- 4
1563
- each
1564
- p
1565
- 11
1566
- I
1567
- 0
1568
- I
1569
- 9
1570
- I
1571
- 0
1572
- I
1573
- b
1574
- I
1575
- b
1576
- I
1577
- 18
1578
- I
1579
- 11
1580
- I
1581
- 19
1582
- I
1583
- 23
1584
- I
1585
- 1a
1586
- I
1587
- 4f
1588
- x
1589
- 38
1590
- ./spec/hamster/list/each_slice_spec.rb
1591
- p
1592
- 0
1593
- x
1594
- 8
1595
- describe
1596
- p
1597
- 5
1598
- I
1599
- 0
1600
- I
1601
- 7
1602
- I
1603
- 4
1604
- I
1605
- 9
1606
- I
1607
- 15
1608
- x
1609
- 38
1610
- ./spec/hamster/list/each_slice_spec.rb
1611
- p
1612
- 1
1613
- x
1614
- 6
1615
- method
1616
- x
1617
- 4
1618
- each
1619
- p
1620
- 5
1621
- I
1622
- 0
1623
- I
1624
- 5
1625
- I
1626
- 0
1627
- I
1628
- 7
1629
- I
1630
- c
1631
- x
1632
- 38
1633
- ./spec/hamster/list/each_slice_spec.rb
1634
- p
1635
- 0
1636
- x
1637
- 8
1638
- describe
1639
- p
1640
- 7
1641
- I
1642
- 0
1643
- I
1644
- 1
1645
- I
1646
- 1a
1647
- I
1648
- 3
1649
- I
1650
- 23
1651
- I
1652
- 5
1653
- I
1654
- 32
1655
- x
1656
- 38
1657
- ./spec/hamster/list/each_slice_spec.rb
1658
- p
1659
- 0