]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Bump rubocop-rails from 2.7.1 to 2.8.0
[rails.git] / lib / bounding_box.rb
index 630518649d5814894d4de0e44b09c4977fe6f493..0b9731b227223f454801f82b1e71fc1d92036511 100644 (file)
@@ -89,7 +89,7 @@ class BoundingBox
   end
 
   def complete?
-    !to_a.include?(nil)
+    to_a.exclude?(nil)
   end
 
   def centre_lon