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