Ruby - Class Methods and Variables
You want to reopen the
Hash class to add a method symbolize_keys that returns a new hash with all string keys converted to symbols. Which code correctly does this?