method

deep_symbolize_keys!

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: Hash
deep_symbolize_keys!() public

Destructively converts 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.

Show source
Register or log in to add new notes.