# File lib/fog/core/model.rb, line 54 def symbolize_keys(hash) return nil if hash.nil? hash.inject({}) do |options, (key, value)| options[(key.to_sym rescue key) || key] = value options end end