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