Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/passport/helpers/core.rb

Instance Method Summary collapse

Instance Method Details

#recursively_symbolize_keys!Object



47
48
49
50
51
52
53
54
55
# File 'lib/passport/helpers/core.rb', line 47

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