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