renames genre to gender in code

This commit is contained in:
kikito
2016-04-13 14:27:27 +02:00
parent ba67396539
commit 1b1f2bc2c9
4 changed files with 9 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ class CensusApi
data[:datos_vivienda][:item][:codigo_distrito]
end
def genre # "Varón" or "Mujer"
def gender # "Varón" or "Mujer"
case data[:datos_habitante][:item][:descripcion_sexo]
when "Varón"
"male"