From edb56b24cec2a9ed9c48f187c41cad6ae46b7ba1 Mon Sep 17 00:00:00 2001 From: kikito Date: Wed, 13 Apr 2016 14:30:58 +0200 Subject: [PATCH] removes lying comment --- lib/census_api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/census_api.rb b/lib/census_api.rb index ee8107ea1..678a748c6 100644 --- a/lib/census_api.rb +++ b/lib/census_api.rb @@ -52,7 +52,7 @@ class CensusApi data[:datos_vivienda][:item][:codigo_distrito] end - def gender # "Varón" or "Mujer" + def gender case data[:datos_habitante][:item][:descripcion_sexo] when "Varón" "male"