X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2d3972249c18fc5cd193a8b2f2efe9b46badb217..c233bec67b8e99ce5b476436181f9df6ca888814:/lib/bounding_box.rb diff --git a/lib/bounding_box.rb b/lib/bounding_box.rb index 630518649..0b9731b22 100644 --- a/lib/bounding_box.rb +++ b/lib/bounding_box.rb @@ -89,7 +89,7 @@ class BoundingBox end def complete? - !to_a.include?(nil) + to_a.exclude?(nil) end def centre_lon