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

@@ -63,7 +63,7 @@ class LocalCensus
LocalCensusRecord.find_by(document_type: document_type, document_number: document_number)
end
def is_dni?(document_type)
def dni?(document_type)
document_type.to_s == "1"
end