stringify_keys() public

Returns a new hash with all keys converted to strings.

hash = { name: 'Rob', age: '28' } hash.stringify_keys # => { "name" => "Rob", "age" => "28" }
Show source
Register or log in to add new notes.