Make creating a bbox object from a string work.

This commit is contained in:
Tom Hughes 2009-06-07 16:32:24 +00:00
parent 6d11673562
commit 9cd29b4721

View 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