Sha256: f4cde3e85dd3c6d90ae36b0f0862f3be29841a1e62177792fe16788bdde9654b
Contents?: true
Size: 488 Bytes
Versions: 10
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true # ----------------------------------------------------------------------------- # # Utility module # # ----------------------------------------------------------------------------- module RGeo module ImplHelper # :nodoc: module Utils # :nodoc: private def symbolize_hash(hash) nhash = {} hash.each do |k, v| nhash[k.to_sym] = v.is_a?(String) ? v.to_sym : v end nhash end end end end
Version data entries
10 entries across 10 versions & 1 rubygems