Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/beyond_api/ext.rb

Instance Method Summary collapse

Instance Method Details

#camelize_keysObject



53
54
55
56
57
58
59
60
# File 'lib/beyond_api/ext.rb', line 53

def camelize_keys
  map do |elem|
    case elem
    when Hash, Array then elem.camelize_keys
    else; elem
    end
  end
end