Methods

Class/Module Index [+]

Quicksearch

Fog::StringifyKeys

Public Class Methods

stringify(hash) click to toggle source

Returns a new hash with all keys converted to strings.

# File lib/fog/core/stringify_keys.rb, line 5
def self.stringify(hash)
  self.transform_hash(hash) {|hash, key, value|
    hash[key.to_s] = value
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.