Object
# File lib/heroku/kensa/okjson-support.rb, line 2 def stringify_keys new_hash = {} each do |key, value| case value when Hash value = value.stringify_keys when Array value = value.map { |v| v.stringify_keys if v.is_a? Hash } end new_hash[key.to_s] = value end new_hash end
Generated with the Darkfish Rdoc Generator 2.