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