From: Tom Hughes Date: Sun, 7 Jun 2009 16:32:24 +0000 (+0000) Subject: Make creating a bbox object from a string work. X-Git-Tag: live~6819^2~26 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9cd29b4721fbab832ce80b1eb612dc18a8d0b0fb Make creating a bbox object from a string work. --- diff --git a/lib/bounding_box.rb b/lib/bounding_box.rb index d943768ad..30bbebb8d 100644 --- a/lib/bounding_box.rb +++ b/lib/bounding_box.rb @@ -4,7 +4,7 @@ class BoundingBox end def self.from_s(s) - BoundingBox.new(s.split(/,/)) + BoundingBox.new(*s.split(/,/)) end def min_lon