X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6820d53e5ff64d13cb9b2ff2226a67be993171ee..45e7c9a32e08446fd087580d84b2e11eadc1683d:/lib/gpx.rb?ds=sidebyside diff --git a/lib/gpx.rb b/lib/gpx.rb index 5664e0099..721e5608b 100644 --- a/lib/gpx.rb +++ b/lib/gpx.rb @@ -13,6 +13,8 @@ module GPX end def points + return enum_for(:points) unless block_given? + @possible_points = 0 @actual_points = 0 @tracksegs = 0