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