X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3e7bc943fe03dcd74666b6f26b3a831e06cac1d8..784d4ca03d1c8916c94dd8528c54c60ce4b0967a:/lib/gpx.rb 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