!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 4 any? x 6 exist? x 7 exists? 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 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 8 42 0 1 45 2 35 3 11 I 2 I 0 I -1 I -1 n p 4 x 7 Hamster n x 3 set x 4 @set p 5 I 0 I d I 0 I e I 8 x 30 ./spec/hamster/set/any_spec.rb p 0 x 6 before s 26 with a block returns false M 1 n n x 9 __block__ i 18 36 0 19 3 0 53 1 47 2 1 5 44 45 3 46 4 1 11 I 4 I 0 I -1 I -1 n p 5 x 4 @set 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 12 I 2 x 30 ./spec/hamster/set/any_spec.rb p 0 x 4 send x 8 be_false x 6 should p 5 I 0 I 11 I 0 I 12 I 12 x 30 ./spec/hamster/set/any_spec.rb p 0 x 2 it s 27 with no block returns false M 1 n n x 9 __block__ i 16 36 0 19 3 0 46 1 1 5 44 45 2 46 3 1 11 I 3 I 0 I -1 I -1 n p 4 x 4 @set x 4 send x 8 be_false x 6 should p 5 I 0 I 15 I 0 I 16 I 10 x 30 ./spec/hamster/set/any_spec.rb p 0 p 9 I 0 I b I 0 I d I 8 I 11 I 13 I 15 I 1e x 30 ./spec/hamster/set/any_spec.rb p 0 x 8 describe s 14 when not empty 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 12 with a block M 1 n n x 9 __block__ i 37 5 53 0 44 47 1 0 14 7 2 60 7 3 60 7 4 60 1 32 4 53 5 47 6 0 14 5 7 7 60 53 8 44 47 9 1 11 I 5 I 0 I -1 I -1 n p 10 M 1 n n x 9 __block__ i 19 42 0 1 7 2 60 7 3 60 7 4 60 1 46 5 4 35 6 11 I 6 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 4 @set p 5 I 0 I 1f I 0 I 20 I 13 x 30 ./spec/hamster/set/any_spec.rb p 0 x 6 before s 1 A s 1 B s 1 C M 1 n n x 9 __block__ i 27 54 17 0 14 5 7 0 60 18 0 45 1 44 45 2 7 3 60 59 59 53 4 44 47 5 1 11 I 6 I 1 I 1 I 1 n p 6 s 1 ) x 7 inspect x 4 to_s s 45 returns true if the block ever returns true ( M 1 n n x 9 __block__ i 18 36 0 19 5 0 53 1 47 2 1 5 44 45 3 46 4 1 11 I 4 I 0 I -1 I -1 n p 5 x 4 @set M 1 n n x 9 __block__ i 12 54 17 0 14 18 0 19 2 0 79 0 11 I 4 I 1 I 1 I 1 n p 1 x 2 == p 3 I 0 I 26 I c x 30 ./spec/hamster/set/any_spec.rb p 1 x 4 item x 4 send x 7 be_true x 6 should p 5 I 0 I 25 I 0 I 26 I 12 x 30 ./spec/hamster/set/any_spec.rb p 0 x 2 it p 5 I 0 I 23 I 4 I 25 I 1b x 30 ./spec/hamster/set/any_spec.rb p 1 x 5 value x 4 each s 47 returns false if the block always returns false M 1 n n x 9 __block__ i 18 36 0 19 4 0 53 1 47 2 1 5 44 45 3 46 4 1 11 I 4 I 0 I -1 I -1 n p 5 x 4 @set M 1 n n x 9 __block__ i 12 54 17 0 14 18 0 7 0 60 79 1 11 I 4 I 1 I 1 I 1 n p 2 s 1 D x 2 == p 3 I 0 I 2c I c x 30 ./spec/hamster/set/any_spec.rb p 1 x 4 item x 4 send x 8 be_false x 6 should p 5 I 0 I 2b I 0 I 2c I 12 x 30 ./spec/hamster/set/any_spec.rb p 0 x 2 it p 9 I 0 I 1d I 0 I 1f I 8 I 23 I 1a I 2b I 25 x 30 ./spec/hamster/set/any_spec.rb p 0 x 8 describe s 13 with no block 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 35 returns true if any value is truthy M 1 n n x 9 __block__ i 26 42 0 1 1 3 2 7 2 60 46 3 4 19 4 0 46 4 1 5 44 45 5 46 6 1 11 I 6 I 0 I -1 I -1 n p 7 x 7 Hamster n s 1 A x 3 set x 4 send x 7 be_true x 6 should p 5 I 0 I 33 I 0 I 34 I 1a x 30 ./spec/hamster/set/any_spec.rb p 0 x 2 it s 38 returns false if all values are falsey M 1 n n x 9 __block__ i 22 42 0 1 1 3 46 2 2 19 4 0 46 3 1 5 44 45 4 46 5 1 11 I 4 I 0 I -1 I -1 n p 6 x 7 Hamster n x 3 set x 4 send x 8 be_false x 6 should p 5 I 0 I 37 I 0 I 38 I 16 x 30 ./spec/hamster/set/any_spec.rb p 0 p 7 I 0 I 31 I 0 I 33 I b I 37 I 16 x 30 ./spec/hamster/set/any_spec.rb p 0 p 7 I 0 I 1b I 0 I 1d I b I 31 I 16 x 30 ./spec/hamster/set/any_spec.rb p 0 p 7 I 0 I 9 I 0 I b I b I 1b I 16 x 30 ./spec/hamster/set/any_spec.rb p 0 x 8 describe p 5 I 0 I 7 I 4 I 9 I 15 x 30 ./spec/hamster/set/any_spec.rb p 1 x 6 method x 4 each p 5 I 0 I 5 I 0 I 7 I e x 30 ./spec/hamster/set/any_spec.rb p 0 x 8 describe p 7 I 0 I 1 I 1a I 3 I 23 I 5 I 32 x 30 ./spec/hamster/set/any_spec.rb p 0