Avoid unnecessary arrays

This commit is contained in:
mmd-osm 2019-06-27 18:33:12 +02:00
parent d0de9967b9
commit cf3cf5216f
11 changed files with 12 additions and 18 deletions

View file

@ -1,5 +1,5 @@
xml.instruct!
xml.osm(OSM::API.new.xml_root_attributes) do |osm|
osm << (render(@nodes) || "")
osm << (render(@node) || "")
end