Sha256: ffa5cda3c449f9fb79161cc4bce589f43cf5bbd08c8ae800f1a182a470773912

Contents?: true

Size: 177 Bytes

Versions: 3

Compression:

Stored size: 177 Bytes

Contents

module NdsApi
  module Utils
    class << self

      def hash_keys_str_to_sym(hash)
        hash.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nds_api-0.1.4 lib/nds_api/utils.rb
nds_api-0.1.3 lib/nds_api/utils.rb
nds_api-0.1.1 lib/nds_api/utils.rb