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