]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
Fix new rubocop warnings
[rails.git] / app / models / old_relation.rb
index c0025653fcaff9624279c37d13aa5abffc7ec0c5..f35678a19a262938a11f1a21198502cd27a07750 100644 (file)
@@ -86,9 +86,7 @@ class OldRelation < ApplicationRecord
     @tags ||= Hash[old_tags.collect { |t| [t.k, t.v] }]
   end
 
-  attr_writer :members
-
-  attr_writer :tags
+  attr_writer :members, :tags
 
   def to_xml
     doc = OSM::API.new.get_xml_doc