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