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