!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/hash x 7 Hamster n x 4 Hash 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 6 #none? 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 4 hash x 5 @hash p 5 I 0 I b I 0 I c I 8 x 32 ./spec/hamster/hash/none_spec.rb p 0 x 6 before s 25 with a block returns true M 1 n n x 9 __block__ i 15 36 0 53 1 47 2 0 5 44 45 3 46 4 1 11 I 3 I 0 I -1 I -1 n p 5 x 5 @hash 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 10 I 2 x 32 ./spec/hamster/hash/none_spec.rb p 0 x 5 none? x 7 be_true x 6 should p 5 I 0 I f I 0 I 10 I f x 32 ./spec/hamster/hash/none_spec.rb p 0 x 2 it s 26 with no block returns true M 1 n n x 9 __block__ i 12 36 0 45 1 5 44 45 2 46 3 1 11 I 3 I 0 I -1 I -1 n p 4 x 5 @hash x 5 none? x 7 be_true x 6 should p 5 I 0 I 13 I 0 I 14 I c x 32 ./spec/hamster/hash/none_spec.rb p 0 p 9 I 0 I 9 I 0 I b I 8 I f I 13 I 13 I 1e x 32 ./spec/hamster/hash/none_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 59 42 0 1 41 40 2 4 4 46 3 1 13 7 4 60 7 5 60 46 6 2 14 13 7 7 60 7 8 60 46 6 2 14 13 7 9 60 7 10 60 46 6 2 14 13 1 7 11 60 46 6 2 14 46 12 1 35 13 11 I 6 I 0 I -1 I -1 n p 14 x 7 Hamster n x 4 Hash x 16 new_from_literal s 1 A s 3 aye x 3 []= s 1 B s 3 bee s 1 C s 3 see s 3 NIL x 4 hash x 5 @hash p 5 I 0 I 1b I 0 I 1c I 3b x 32 ./spec/hamster/hash/none_spec.rb p 0 x 6 before s 12 with a block M 1 n n x 9 __block__ i 38 7 0 60 7 1 60 32 2 7 2 60 7 3 60 32 2 7 4 60 7 5 60 32 2 1 7 6 60 32 2 32 4 53 7 47 8 0 11 I 6 I 0 I -1 I -1 n p 9 s 1 A s 3 aye s 1 B s 3 bee s 1 C s 3 see s 3 NIL M 1 n n x 9 __block__ i 38 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 14 5 7 6 60 53 7 44 47 5 1 11 I 6 I 1 I 1 I 1 n p 8 s 1 ) x 7 inspect x 4 to_s s 46 returns false if the block ever returns true ( M 1 n n x 9 __block__ i 15 36 0 53 1 47 2 0 5 44 45 3 46 4 1 11 I 3 I 0 I -1 I -1 n p 5 x 5 @hash M 1 n n x 9 __block__ i 34 55 33 34 17 0 14 34 17 1 14 14 18 0 19 2 0 45 0 79 1 13 9 33 14 18 1 19 2 0 45 2 79 1 11 I 5 I 2 I 2 I 2 n p 3 x 5 first x 2 == x 4 last p 3 I 0 I 29 I 22 x 32 ./spec/hamster/hash/none_spec.rb p 2 x 3 key x 5 value x 5 none? x 8 be_false x 6 should p 5 I 0 I 28 I 0 I 29 I f x 32 ./spec/hamster/hash/none_spec.rb p 0 x 2 it s 46 returns true if the block always returns false M 1 n n x 9 __block__ i 15 36 0 53 1 47 2 0 5 44 45 3 46 4 1 11 I 3 I 0 I -1 I -1 n p 5 x 5 @hash M 1 n n x 9 __block__ i 30 55 33 34 17 0 14 34 17 1 14 14 18 0 7 0 60 79 1 13 9 29 14 18 1 7 2 60 79 1 11 I 5 I 2 I 2 I 2 n p 3 s 1 D x 2 == s 3 dee p 3 I 0 I 2d I 1e x 32 ./spec/hamster/hash/none_spec.rb p 2 x 3 key x 5 value x 5 none? x 7 be_true x 6 should p 5 I 0 I 2c I 0 I 2d I f x 32 ./spec/hamster/hash/none_spec.rb p 0 p 9 I 0 I 22 I 1 I 26 I 4 I 28 I 1b I 2c I 26 x 32 ./spec/hamster/hash/none_spec.rb p 1 x 4 pair x 4 each p 11 I 0 I 1f I 0 I 22 I 8 I 23 I 10 I 24 I 18 I 25 I 26 x 32 ./spec/hamster/hash/none_spec.rb p 0 x 8 describe s 13 with no 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 13 returns false M 1 n n x 9 __block__ i 12 36 0 45 1 5 44 45 2 46 3 1 11 I 3 I 0 I -1 I -1 n p 4 x 5 @hash x 5 none? x 8 be_false x 6 should p 5 I 0 I 36 I 0 I 37 I c x 32 ./spec/hamster/hash/none_spec.rb p 0 x 2 it p 5 I 0 I 34 I 0 I 36 I b x 32 ./spec/hamster/hash/none_spec.rb p 0 p 9 I 0 I 19 I 0 I 1b I 8 I 1f I 13 I 34 I 1e x 32 ./spec/hamster/hash/none_spec.rb p 0 p 7 I 0 I 7 I 0 I 9 I b I 19 I 16 x 32 ./spec/hamster/hash/none_spec.rb p 0 x 8 describe p 5 I 0 I 5 I 0 I 7 I b x 32 ./spec/hamster/hash/none_spec.rb p 0 x 8 describe p 7 I 0 I 1 I 1a I 3 I 23 I 5 I 32 x 32 ./spec/hamster/hash/none_spec.rb p 0