Sha256: 85f34b727dcd97f62013e7b36bb4cba920ed4756c2e07973390d24662cd421a6
Contents?: true
Size: 184 Bytes
Versions: 18
Compression:
Stored size: 184 Bytes
Contents
class Array # Convert string keys to symbol keys def it_keys_to_sym self.each_with_index {|element, i| element.is_a?(Hash) ? self[i] = element.it_keys_to_sym : next } end end
Version data entries
18 entries across 18 versions & 2 rubygems