X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..07feac3cd93d28cf3db4cc847b8289657db37094:/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