!RBIX 0 x M 1 n n x 10 __script__ i 50 5 42 0 1 42 0 2 61 45 3 46 4 1 7 5 60 77 6 46 7 1 44 46 8 1 14 5 7 9 60 44 46 8 1 14 5 42 10 11 40 12 53 13 44 47 14 1 14 2 11 I 4 I 0 I 0 I 0 n p 15 x 4 File n n x 11 active_path x 7 dirname s 18 /../../spec_helper x 1 + x 11 expand_path x 7 require s 12 hamster/list x 7 Hamster n x 4 List M 1 n n x 9 __block__ i 11 5 7 0 60 53 1 44 47 2 1 11 I 4 I 0 I -1 I -1 n p 3 s 11 #take_while M 1 n n x 9 __block__ i 58 5 7 0 60 53 1 44 47 2 1 14 32 0 32 0 32 2 7 3 60 32 1 7 3 60 32 1 32 2 7 3 60 7 4 60 7 5 60 32 3 7 3 60 7 4 60 32 2 32 2 32 3 53 6 47 7 0 11 I 6 I 0 I -1 I -1 n p 8 s 46 doesn't run out of stack space on a really big M 1 n n x 9 __block__ i 38 5 53 0 44 47 1 0 14 5 7 2 60 53 3 44 47 4 1 14 5 7 5 60 53 6 44 47 4 1 14 5 53 7 44 47 8 0 11 I 4 I 0 I -1 I -1 n p 9 M 1 n n x 9 __block__ i 12 42 0 1 74 7 2 46 3 2 35 4 11 I 4 I 0 I -1 I -1 n p 5 x 7 Hamster n I 2710 x 8 interval x 9 @interval p 5 I 0 I b I 0 I c I c x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 6 before s 8 interval M 1 n n x 9 __block__ i 5 36 0 35 1 11 I 2 I 0 I -1 I -1 n p 2 x 9 @interval x 5 @list p 5 I 0 I f I 0 I 10 I 5 x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 2 it s 4 list M 1 n n x 9 __block__ i 15 36 0 42 1 2 45 3 53 4 47 5 1 35 6 11 I 4 I 0 I -1 I -1 n p 7 x 9 @interval x 7 Hamster n x 4 list M 1 n n x 9 __block__ i 19 55 33 34 17 0 14 34 17 1 14 14 18 0 18 1 46 0 1 11 I 5 I 2 I 2 I 2 n p 1 x 4 cons p 3 I 0 I 14 I 13 x 38 ./spec/hamster/list/take_while_spec.rb p 2 x 4 list x 1 i x 6 reduce x 5 @list p 5 I 0 I 13 I 0 I 14 I f x 38 ./spec/hamster/list/take_while_spec.rb p 0 M 1 n n x 9 __block__ i 8 36 0 53 1 47 2 0 11 I 3 I 0 I -1 I -1 n p 3 x 5 @list M 1 n n x 9 __block__ i 2 2 11 I 2 I 0 I -1 I -1 n p 0 p 3 I 0 I 18 I 2 x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 10 take_while p 5 I 0 I 17 I 0 I 18 I 8 x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 5 after p 11 I 0 I 9 I 0 I b I 8 I f I 13 I 13 I 1e I 17 I 26 x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 8 describe s 1 A s 1 B s 1 C M 1 n n x 9 __block__ i 30 55 33 34 17 0 14 34 17 1 14 14 5 18 0 45 0 44 45 1 7 2 60 59 53 3 44 47 4 1 11 I 6 I 2 I 2 I 2 n p 5 x 7 inspect x 4 to_s s 3 on M 1 n n x 9 __block__ i 30 5 53 0 44 47 1 0 14 5 7 2 60 53 3 44 47 4 1 14 5 7 5 60 53 6 44 47 4 1 11 I 4 I 0 I -1 I -1 n p 7 M 1 n n x 9 __block__ i 14 42 0 1 19 2 0 33 1 48 2 0 35 3 11 I 4 I 0 I -1 I -1 n p 4 x 7 Hamster n x 4 list x 5 @list p 5 I 0 I 25 I 0 I 26 I e x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 6 before s 12 with a block M 1 n n x 9 __block__ i 31 5 19 2 1 45 0 44 45 1 7 2 60 59 53 3 44 47 4 1 14 5 7 5 60 53 6 44 47 4 1 11 I 4 I 0 I -1 I -1 n p 7 x 7 inspect x 4 to_s s 8 returns M 1 n n x 9 __block__ i 23 36 0 53 1 47 2 0 45 3 42 4 5 19 3 1 33 1 48 6 0 79 7 11 I 5 I 0 I -1 I -1 n p 8 x 5 @list M 1 n n x 9 __block__ i 12 54 17 0 14 18 0 7 0 60 80 1 11 I 4 I 1 I 1 I 1 n p 2 s 1 C x 1 < p 3 I 0 I 2c I c x 38 ./spec/hamster/list/take_while_spec.rb p 1 x 4 item x 10 take_while x 6 should x 7 Hamster n x 4 list x 2 == p 5 I 0 I 2b I 0 I 2c I 17 x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 2 it s 7 is lazy M 1 n n x 9 __block__ i 21 74 17 0 14 36 0 53 1 47 2 0 14 18 0 45 3 75 46 4 1 11 I 4 I 1 I -1 I -1 n p 5 x 5 @list M 1 n n x 9 __block__ i 16 54 17 0 14 19 1 0 75 77 0 20 1 0 14 2 11 I 4 I 1 I 1 I 1 n p 1 x 1 + p 3 I 0 I 31 I 10 x 38 ./spec/hamster/list/take_while_spec.rb p 1 x 4 item x 10 take_while x 6 should x 2 <= p 9 I 0 I 2f I 0 I 30 I 4 I 31 I c I 32 I 15 x 38 ./spec/hamster/list/take_while_spec.rb p 1 x 5 count p 7 I 0 I 29 I 0 I 2b I 14 I 2f I 1f x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 8 describe s 15 without a block M 1 n n x 9 __block__ i 11 5 7 0 60 53 1 44 47 2 1 11 I 4 I 0 I -1 I -1 n p 3 s 12 returns self M 1 n n x 9 __block__ i 15 36 0 45 1 5 36 0 44 46 2 1 46 3 1 11 I 4 I 0 I -1 I -1 n p 4 x 5 @list x 10 take_while x 5 equal x 6 should p 5 I 0 I 39 I 0 I 3a I f x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 2 it p 5 I 0 I 37 I 0 I 39 I b x 38 ./spec/hamster/list/take_while_spec.rb p 0 p 9 I 0 I 23 I 0 I 25 I 8 I 29 I 13 I 37 I 1e x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 8 describe p 7 I 0 I 1e I 3 I 21 I b I 23 I 1e x 38 ./spec/hamster/list/take_while_spec.rb p 2 x 6 values x 8 expected x 4 each p 11 I 0 I 7 I 0 I 9 I b I 1e I 11 I 1f I 1d I 20 I 3a x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 8 describe p 5 I 0 I 5 I 0 I 7 I b x 38 ./spec/hamster/list/take_while_spec.rb p 0 x 8 describe p 7 I 0 I 1 I 1a I 3 I 23 I 5 I 32 x 38 ./spec/hamster/list/take_while_spec.rb p 0