Ruby - Class Methods and Variables
How can you reopen the Hash class to add a method
keys_to_strings that returns a new hash with all keys converted to strings?keys_to_strings that returns a new hash with all keys converted to strings?map and to_h to convert keys to strings correctly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions