Sha256: f5ac85f6fdc20a0822f7ce79f87c56304b0d41acdaa5ac9ee099a9d4180baadf

Contents?: true

Size: 211 Bytes

Versions: 7

Compression:

Stored size: 211 Bytes

Contents

module SwiftypeEnterprise
  module Utils
    extend self

    def stringify_keys(hash)
      output = {}
      hash.each do |key, value|
        output[key.to_s] = value
      end
      output
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
swiftype-enterprise-3.0.3 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-3.0.2 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-3.0.1 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-3.0.0 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-2.0.0 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-1.0.1 lib/swiftype-enterprise/utils.rb
swiftype-enterprise-1.0.0 lib/swiftype-enterprise/utils.rb