Fix some Naming/AccessorMethodName rubocop warnings

This commit is contained in:
Tom Hughes 2022-03-08 19:10:05 +00:00
parent cfb4a70129
commit 5d67fa3908
7 changed files with 10 additions and 12 deletions

View file

@ -128,7 +128,7 @@ class DiffReader
@reader.read
raise OSM::APIBadUserInput, "Document element should be 'osmChange'." if @reader.name != "osmChange"
result = OSM::API.new.get_xml_doc
result = OSM::API.new.xml_doc
result.root.name = "diffResult"
# loop at the top level, within the <osmChange> element