!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 11 hamster/set x 7 Hamster n x 3 Set M 1 n n x 9 __block__ i 14 7 0 7 1 7 2 32 3 53 3 47 4 0 11 I 4 I 0 I -1 I -1 n p 5 x 6 reduce x 6 inject x 4 fold M 1 n n x 9 __block__ i 21 54 17 0 14 5 18 0 44 45 0 7 1 60 59 53 2 44 47 3 1 11 I 5 I 1 I 1 I 1 n p 4 x 4 to_s s 1 # M 1 n n x 9 __block__ i 22 5 7 0 60 53 1 44 47 2 1 14 5 7 3 60 53 4 44 47 2 1 11 I 4 I 0 I -1 I -1 n p 5 s 10 when empty M 1 n n x 9 __block__ i 19 5 53 0 44 47 1 0 14 5 7 2 60 53 3 44 47 4 1 11 I 4 I 0 I -1 I -1 n p 5 M 1 n n x 9 __block__ i 24 42 0 1 45 2 35 3 14 36 3 19 3 0 7 4 60 53 5 47 6 2 35 7 11 I 5 I 0 I -1 I -1 n p 8 x 7 Hamster n x 3 set x 9 @original s 3 ABC M 1 n n x 9 __block__ i 2 1 11 I 2 I 0 I -1 I -1 n p 0 p 3 I 0 I f I 2 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 4 send x 7 @result p 7 I 0 I d I 0 I e I 8 I f I 18 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 6 before s 16 returns the memo M 1 n n x 9 __block__ i 10 36 0 45 1 7 2 60 79 3 11 I 3 I 0 I -1 I -1 n p 4 x 7 @result x 6 should s 3 ABC x 2 == p 5 I 0 I 12 I 0 I 13 I a x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 2 it p 7 I 0 I b I 0 I d I 8 I 12 I 13 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 8 describe s 14 when not empty 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 18 42 0 1 7 2 60 7 3 60 7 4 60 46 5 3 35 6 11 I 5 I 0 I -1 I -1 n p 7 x 7 Hamster n s 1 A s 1 B s 1 C x 3 set x 9 @original p 5 I 0 I 1a I 0 I 1b I 12 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 6 before s 12 with a block M 1 n n x 9 __block__ i 19 5 53 0 44 47 1 0 14 5 7 2 60 53 3 44 47 4 1 11 I 4 I 0 I -1 I -1 n p 5 M 1 n n x 9 __block__ i 14 36 0 19 4 0 74 53 1 47 2 2 35 3 11 I 5 I 0 I -1 I -1 n p 4 x 9 @original M 1 n n x 9 __block__ i 17 55 33 34 17 0 14 34 17 1 14 14 18 0 75 77 0 11 I 5 I 2 I 2 I 2 n p 1 x 1 + p 3 I 0 I 21 I 11 x 33 ./spec/hamster/set/reduce_spec.rb p 2 x 4 memo x 4 item x 4 send x 7 @result p 5 I 0 I 20 I 0 I 21 I e x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 6 before s 22 returns the final memo M 1 n n x 9 __block__ i 9 36 0 45 1 4 3 79 2 11 I 3 I 0 I -1 I -1 n p 3 x 7 @result x 6 should x 2 == p 5 I 0 I 24 I 0 I 25 I 9 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 2 it p 7 I 0 I 1e I 0 I 20 I 8 I 24 I 13 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 8 describe s 13 with no block M 1 n n x 9 __block__ i 19 5 53 0 44 47 1 0 14 5 7 2 60 53 3 44 47 4 1 11 I 4 I 0 I -1 I -1 n p 5 M 1 n n x 9 __block__ i 14 36 0 19 4 0 7 1 60 46 2 2 35 3 11 I 4 I 0 I -1 I -1 n p 4 x 9 @original s 3 ABC x 4 send x 7 @result p 5 I 0 I 2c I 0 I 2d I e x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 6 before s 16 returns the memo M 1 n n x 9 __block__ i 10 36 0 45 1 7 2 60 79 3 11 I 3 I 0 I -1 I -1 n p 4 x 7 @result x 6 should s 3 ABC x 2 == p 5 I 0 I 30 I 0 I 31 I a x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 2 it p 7 I 0 I 2a I 0 I 2c I 8 I 30 I 13 x 33 ./spec/hamster/set/reduce_spec.rb p 0 p 9 I 0 I 18 I 0 I 1a I 8 I 1e I 13 I 2a I 1e x 33 ./spec/hamster/set/reduce_spec.rb p 0 p 7 I 0 I 9 I 0 I b I b I 18 I 16 x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 8 describe p 5 I 0 I 7 I 4 I 9 I 15 x 33 ./spec/hamster/set/reduce_spec.rb p 1 x 6 method x 4 each p 5 I 0 I 5 I 0 I 7 I e x 33 ./spec/hamster/set/reduce_spec.rb p 0 x 8 describe p 7 I 0 I 1 I 1a I 3 I 23 I 5 I 32 x 33 ./spec/hamster/set/reduce_spec.rb p 0