]> git.openstreetmap.org Git - rails.git/blobdiff - lib/gpx.rb
Update to iD v2.15.1
[rails.git] / lib / gpx.rb
index 5664e0099b131b255ab44455e2c08e308ea10e69..721e5608b5cd9e22d59f2b13ab0a9965b20d51d7 100644 (file)
@@ -13,6 +13,8 @@ module GPX
     end
 
     def points
+      return enum_for(:points) unless block_given?
+
       @possible_points = 0
       @actual_points = 0
       @tracksegs = 0