Comply with Style/PredicateName rule for ? method names

This commit is contained in:
Bertocq
2017-09-20 16:12:28 +02:00
parent 03ee43bfee
commit c2d154b1ac
3 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ class CensusApi
{get_habita_datos_response: {get_habita_datos_return: {datos_habitante: {}, datos_vivienda: {}}}}
end
def is_dni?(document_type)
def dni?(document_type)
document_type.to_s == "1"
end