class Array
Public Instance Methods
it_keys_to_sym()
click to toggle source
Convert string keys to symbol keys
# File lib/rents/array.rb, line 3 def it_keys_to_sym self.each_with_index {|element, i| element.is_a?(Hash) ? self[i] = element.it_keys_to_sym : next } end