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