Return a new hash with all keys converted to strings.
# File lib/hashie/extensions/stringify_keys.rb, line 17 def stringify_keys StringifyKeys.stringify_keys(self) end
Convert all keys in the hash to strings.
@example
test = {:abc => 'def'} test.stringify_keys! test # => {'abc' => 'def'}
# File lib/hashie/extensions/stringify_keys.rb, line 10 def stringify_keys! StringifyKeys.stringify_keys!(self) self end