Flowdock
method

stringify_keys

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: Hash
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.