Sha256: eb57d12e77608f12a571eef2c9dd40af54304bd6e59ddcc43e85d710efed3b90
Contents?: true
Size: 234 Bytes
Versions: 4
Compression:
Stored size: 234 Bytes
Contents
class Array def recursively_symbolize_keys! self.each do |item| if item.is_a? Hash item.recursively_symbolize_keys! elsif item.is_a? Array item.recursively_symbolize_keys! end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
oct-0.3.3 | lib/oct/core/array.rb |
revenc-0.2.1 | lib/revenc/core/array.rb |
oct-0.3.2 | lib/oct/core/array.rb |
oct-0.3.1 | lib/oct/core/array.rb |