Flowdock
method

stringify_keys

Importance_1
v4.2.7 - Show latest stable - 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.