!RBIX 0 x M 1 n n x 10 __script__ i 50 5 42 0 1 42 0 2 62 45 3 46 4 1 7 5 61 78 6 46 7 1 44 46 8 1 14 5 7 9 61 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 12 7 0 7 1 32 2 53 2 47 0 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 4 each x 7 foreach M 1 n n x 9 __block__ i 21 54 17 0 14 5 7 0 18 0 44 45 1 60 2 53 2 44 47 3 1 11 I 5 I 1 I 1 I 1 I -1 p 4 s 1 # x 4 to_s M 1 n n x 9 __block__ i 30 5 53 0 44 47 1 0 14 5 7 2 61 53 3 44 47 4 1 14 5 7 5 61 53 6 44 47 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 n n x 9 __block__ i 50 42 0 1 41 40 2 4 3 46 3 1 13 7 4 61 7 5 61 46 6 2 14 13 7 7 61 7 8 61 46 6 2 14 13 7 9 61 7 10 61 46 6 2 14 46 11 1 35 12 11 I 6 I 0 I 0 I 0 I -2 p 13 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 x 4 hash x 5 @hash p 5 I 0 I b I 0 I c I 32 x 32 ./spec/hamster/hash/each_spec.rb p 0 x 6 before s 33 with a block (internal iteration) M 1 n n x 9 __block__ i 22 5 7 0 61 53 1 44 47 2 1 14 5 7 3 61 53 4 44 47 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 11 returns nil 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 0 I 0 I -2 p 5 x 5 @hash M 1 n n x 9 __block__ i 2 1 11 I 2 I 0 I 0 I 0 I -2 p 0 p 3 I 0 I 12 I 2 x 32 ./spec/hamster/hash/each_spec.rb p 0 x 4 send x 6 be_nil x 6 should p 5 I 0 I 11 I 0 I 12 I 12 x 32 ./spec/hamster/hash/each_spec.rb p 0 x 2 it s 26 yields all key/value pairs M 1 n n x 9 __block__ i 69 41 40 0 75 46 1 1 17 0 14 36 2 19 3 0 53 3 47 4 1 14 18 0 45 5 41 40 0 4 3 46 1 1 13 7 6 61 7 7 61 46 8 2 14 13 7 9 61 7 10 61 46 8 2 14 13 7 11 61 7 12 61 46 8 2 14 80 13 11 I 7 I 1 I 0 I 0 I -2 p 14 x 4 Hash x 16 new_from_literal x 5 @hash M 1 n n x 9 __block__ i 26 55 33 34 17 0 14 34 17 1 14 14 19 1 0 18 0 18 1 13 16 3 46 0 2 14 11 I 7 I 2 I 2 I 2 I -1 p 1 x 3 []= p 3 I 0 I 17 I 1a x 32 ./spec/hamster/hash/each_spec.rb p 2 x 3 key x 5 value x 4 send x 6 should s 1 A s 3 aye x 3 []= s 1 B s 3 bee s 1 C s 3 see x 2 == p 9 I 0 I 15 I 0 I 16 I a I 17 I 15 I 18 I 45 x 32 ./spec/hamster/hash/each_spec.rb p 1 x 12 actual_pairs p 7 I 0 I f I 0 I 11 I b I 15 I 16 x 32 ./spec/hamster/hash/each_spec.rb p 0 x 8 describe s 13 with no block M 1 n n x 9 __block__ i 11 5 7 0 61 53 1 44 47 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 12 returns self M 1 n n x 9 __block__ i 19 36 0 19 3 0 46 1 1 5 36 0 44 46 2 1 46 3 1 11 I 4 I 0 I 0 I 0 I -2 p 4 x 5 @hash x 4 send x 5 equal x 6 should p 5 I 0 I 1f I 0 I 20 I 13 x 32 ./spec/hamster/hash/each_spec.rb p 0 x 2 it p 5 I 0 I 1d I 0 I 1f I b x 32 ./spec/hamster/hash/each_spec.rb p 0 p 9 I 0 I 9 I 0 I b I 8 I f I 13 I 1d I 1e x 32 ./spec/hamster/hash/each_spec.rb p 0 x 8 describe p 5 I 0 I 7 I 4 I 9 I 15 x 32 ./spec/hamster/hash/each_spec.rb p 1 x 6 method p 5 I 0 I 5 I 0 I 7 I c x 32 ./spec/hamster/hash/each_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/each_spec.rb p 0