method

deep_symbolize_keys!

v4.1.8 - Show latest stable - Class: Hash
deep_symbolize_keys!()
public

Destructively convert all keys to symbols, as long as they respond to to_sym. This includes the keys from the root hash and from all nested hashes and arrays.