Comply with Style/PredicateName rule for ? method names
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user