X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..4b2d3973e82291398931d108e16eacf673e77c16:/lib/bounding_box.rb?ds=sidebyside 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