Sha256: 9e4663637a1fd0313f6e51df2b18e6857eea965f034b8be1e1b8f083946898d6
Contents?: true
Size: 188 Bytes
Versions: 11
Compression:
Stored size: 188 Bytes
Contents
unless {}.respond_to? :symbolize_keys class Hash def symbolize_keys inject({}) do |hash, pair| hash[pair[0].to_sym] = pair[1] hash end end end end
Version data entries
11 entries across 11 versions & 2 rubygems