!RBIX 0 x M 1 n n x 10 __script__ i 33 5 7 0 64 47 49 1 1 15 5 7 2 64 47 49 1 1 15 5 45 3 4 43 5 56 6 47 50 7 1 15 2 11 I 3 I 0 I 0 I 0 n p 8 s 11 spec_helper x 7 require s 12 hamster/hash x 7 Hamster n x 4 Hash M 1 p 2 x 9 for_block t n x 9 __block__ i 12 7 0 7 1 35 2 56 2 50 3 0 11 I 3 I 0 I 0 I 0 I -2 p 4 x 3 map x 7 collect M 1 p 2 x 9 for_block t n x 9 __block__ i 21 57 19 0 15 5 7 0 20 0 47 48 1 63 2 56 2 47 50 3 1 11 I 5 I 1 I 1 I 1 n p 4 s 1 # x 4 to_s M 1 p 2 x 9 for_block t n x 9 __block__ i 22 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 10 when empty M 1 p 2 x 9 for_block t n x 9 __block__ i 19 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 M 1 p 2 x 9 for_block t n x 9 __block__ i 21 45 0 1 48 2 38 3 15 39 3 21 3 0 56 4 50 5 1 38 6 11 I 4 I 0 I 0 I 0 I -2 p 7 x 7 Hamster n x 4 hash x 9 @original M 1 p 2 x 9 for_block t 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 f I 2 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 4 send x 7 @mapped p 7 I 0 I d I 0 I e I 8 I f I 15 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 6 before s 12 returns self M 1 p 2 x 9 for_block t n x 9 __block__ i 13 39 0 5 39 1 47 49 2 1 49 3 1 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 @mapped x 9 @original x 5 equal x 6 should p 5 I 0 I 12 I 0 I 13 I d x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 2 it p 7 I 0 I b I 0 I d I 8 I 12 I 13 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 8 describe s 14 when not empty M 1 p 2 x 9 for_block t n x 9 __block__ i 30 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 9 __block__ i 50 45 0 1 44 43 2 4 3 49 3 1 13 7 4 64 7 5 64 49 6 2 15 13 7 7 64 7 8 64 49 6 2 15 13 7 9 64 7 10 64 49 6 2 15 49 11 1 38 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 9 @original p 5 I 0 I 1a I 0 I 1b I 32 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 6 before s 12 with a block M 1 p 2 x 9 for_block t n x 9 __block__ i 30 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 9 __block__ i 13 39 0 21 4 0 56 1 50 2 1 38 3 11 I 4 I 0 I 0 I 0 I -2 p 4 x 9 @original M 1 p 2 x 9 for_block t n x 9 __block__ i 22 58 36 37 19 0 15 37 19 1 15 15 20 0 48 0 20 1 48 1 35 2 11 I 5 I 2 I 2 I 2 n p 2 x 8 downcase x 6 upcase p 3 I 0 I 21 I 16 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 2 x 3 key x 5 value x 4 send x 7 @mapped p 5 I 0 I 20 I 0 I 21 I d x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 6 before s 29 preserves the original values M 1 p 2 x 9 for_block t n x 9 __block__ i 54 39 0 48 1 45 2 3 44 43 4 4 3 49 5 1 13 7 6 64 7 7 64 49 8 2 15 13 7 9 64 7 10 64 49 8 2 15 13 7 11 64 7 12 64 49 8 2 15 49 13 1 83 14 11 I 7 I 0 I 0 I 0 I -2 p 15 x 9 @original x 6 should 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 2 == p 5 I 0 I 24 I 0 I 25 I 36 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 2 it s 41 returns a new hash with the mapped values M 1 p 2 x 9 for_block t n x 9 __block__ i 54 39 0 48 1 45 2 3 44 43 4 4 3 49 5 1 13 7 6 64 7 7 64 49 8 2 15 13 7 9 64 7 10 64 49 8 2 15 13 7 11 64 7 12 64 49 8 2 15 49 13 1 83 14 11 I 7 I 0 I 0 I 0 I -2 p 15 x 7 @mapped x 6 should 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 2 == p 5 I 0 I 28 I 0 I 29 I 36 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 p 9 I 0 I 1e I 0 I 20 I 8 I 24 I 13 I 28 I 1e x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 8 describe s 13 with no block M 1 p 2 x 9 for_block t n x 9 __block__ i 19 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 M 1 p 2 x 9 for_block t n x 9 __block__ i 11 39 0 21 4 0 49 1 1 38 2 11 I 3 I 0 I 0 I 0 I -2 p 3 x 9 @original x 4 send x 7 @result p 5 I 0 I 30 I 0 I 31 I b x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 6 before s 12 returns self M 1 p 2 x 9 for_block t n x 9 __block__ i 13 39 0 5 39 1 47 49 2 1 49 3 1 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 @result x 9 @original x 5 equal x 6 should p 5 I 0 I 34 I 0 I 35 I d x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 2 it p 7 I 0 I 2e I 0 I 30 I 8 I 34 I 13 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 p 9 I 0 I 18 I 0 I 1a I 8 I 1e I 13 I 2e I 1e x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 p 7 I 0 I 9 I 0 I b I b I 18 I 16 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 8 describe p 5 I 0 I 7 I 4 I 9 I 15 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 1 x 6 method x 4 each p 5 I 0 I 5 I 0 I 7 I c x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0 x 8 describe p 7 I 0 I 1 I 9 I 3 I 12 I 5 I 21 x 67 /Users/haruki_zaemon/Projects/hamster/spec/hamster/hash/map_spec.rb p 0