Sha256: db931bde33ada8a70a3f5bb79cabcf7663f9fc1ebebf87bcb6de2ca9d3c27a8a
Contents?: true
Size: 141 Bytes
Versions: 11
Compression:
Stored size: 141 Bytes
Contents
class Hash def symbolize_keys! keys.each do |key| self[(key.to_sym rescue key) || key] = delete(key) end self end end
Version data entries
11 entries across 11 versions & 1 rubygems