]> git.openstreetmap.org Git - rails.git/blobdiff - lib/bounding_box.rb
Ubuntu Hardy only has rubygems 1.3.1 and it seems to work
[rails.git] / lib / bounding_box.rb
index d943768ad67e489f1f74199dd8c9b328947a7914..30bbebb8d928ed056f591a5361b56c613363248e 100644 (file)
@@ -4,7 +4,7 @@ class BoundingBox
   end
 
   def self.from_s(s)
-    BoundingBox.new(s.split(/,/))
+    BoundingBox.new(*s.split(/,/))
   end
 
   def min_lon