Sha256: 934feb7a677cb04021533bb6217ec7c322710ff5d08d23854731ec1ce5a89112

Contents?: true

Size: 252 Bytes

Versions: 5

Compression:

Stored size: 252 Bytes

Contents

module Elastic
  module EnterpriseSearch
    module Utils
      extend self

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elastic-enterprise-search-0.3.1 lib/elastic/enterprise-search/utils.rb
elastic-enterprise-search-0.3.0 lib/elastic/enterprise-search/utils.rb
elastic-enterprise-search-0.2.1 lib/elastic/enterprise-search/utils.rb
elastic-enterprise-search-0.2.0 lib/elastic/enterprise-search/utils.rb
elastic-enterprise-search-0.1.0 lib/elastic/enterprise-search/utils.rb