Fix new rubocop warnings

This commit is contained in:
Tom Hughes 2021-06-29 18:29:00 +01:00
parent 819ad523b5
commit d3c800fdb4
6 changed files with 41 additions and 24 deletions

View file

@ -85,7 +85,7 @@ class DiffReader
model = MODELS[model_name]
if model.nil?
raise OSM::APIBadUserInput, "Unexpected element type #{model_name}, " \
"expected node, way or relation."
"expected node, way or relation."
end
# new in libxml-ruby >= 2, expand returns an element not associated
# with a document. this means that there's no encoding parameter,