class Hash
Public Instance Methods
fix_keys()
click to toggle source
# File lib/game_2d/hash.rb, line 6 def fix_keys recurse(Hash, Array) do |x| x.is_a?(Hash) ? x.symbolize_keys : x end end
# File lib/game_2d/hash.rb, line 6 def fix_keys recurse(Hash, Array) do |x| x.is_a?(Hash) ? x.symbolize_keys : x end end